Uses of Class
com.azure.ai.openai.assistants.models.TruncationObject
Packages that use TruncationObject
Package
Description
Package containing the data models for Assistants.
-
Uses of TruncationObject in com.azure.ai.openai.assistants.models
Methods in com.azure.ai.openai.assistants.models that return TruncationObjectModifier and TypeMethodDescriptionstatic TruncationObject
TruncationObject.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of TruncationObject from the JsonReader.CreateAndRunThreadOptions.getTruncationStrategy()
Get the truncationStrategy property: The strategy to use for dropping messages as the context windows moves forward.CreateRunOptions.getTruncationStrategy()
Get the truncationStrategy property: The strategy to use for dropping messages as the context windows moves forward.ThreadRun.getTruncationStrategy()
Get the truncationStrategy property: The strategy to use for dropping messages as the context windows moves forward.TruncationObject.setLastMessages
(Integer lastMessages) Set the lastMessages property: The number of most recent messages from the thread when constructing the context for the run.Methods in com.azure.ai.openai.assistants.models with parameters of type TruncationObjectModifier and TypeMethodDescriptionCreateAndRunThreadOptions.setTruncationStrategy
(TruncationObject truncationStrategy) Set the truncationStrategy property: The strategy to use for dropping messages as the context windows moves forward.CreateRunOptions.setTruncationStrategy
(TruncationObject truncationStrategy) Set the truncationStrategy property: The strategy to use for dropping messages as the context windows moves forward.