Uses of Class
com.azure.ai.openai.assistants.models.TruncationStrategy
Packages that use TruncationStrategy
Package
Description
Package containing the data models for Assistants.
-
Uses of TruncationStrategy in com.azure.ai.openai.assistants.models
Fields in com.azure.ai.openai.assistants.models declared as TruncationStrategyModifier and TypeFieldDescriptionstatic final TruncationStrategy
TruncationStrategy.AUTO
Default value.static final TruncationStrategy
TruncationStrategy.LAST_MESSAGES
The thread will truncate to the `lastMessages` count of recent messages.Methods in com.azure.ai.openai.assistants.models that return TruncationStrategyModifier and TypeMethodDescriptionstatic TruncationStrategy
TruncationStrategy.fromString
(String name) Creates or finds a TruncationStrategy from its string representation.TruncationObject.getType()
Get the type property: The truncation strategy to use for the thread.Methods in com.azure.ai.openai.assistants.models that return types with arguments of type TruncationStrategyModifier and TypeMethodDescriptionstatic Collection
<TruncationStrategy> TruncationStrategy.values()
Gets known TruncationStrategy values.Constructors in com.azure.ai.openai.assistants.models with parameters of type TruncationStrategyModifierConstructorDescriptionCreates an instance of TruncationObject class.