Class AssistantsApiResponseFormatMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AssistantsApiResponseFormatMode>
com.azure.ai.openai.assistants.models.AssistantsApiResponseFormatMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class AssistantsApiResponseFormatMode
extends com.azure.core.util.ExpandableStringEnum<AssistantsApiResponseFormatMode>
Represents the mode in which the model will handle the return format of a tool call.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString
(String name) Creates or finds a AssistantsApiResponseFormatMode from its string representation.values()
Gets known AssistantsApiResponseFormatMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
AUTO
Default value. Let the model handle the return format.
-
-
Constructor Details
-
AssistantsApiResponseFormatMode
Deprecated.Use thefromString(String)
factory method.Creates a new instance of AssistantsApiResponseFormatMode value.
-
-
Method Details
-
fromString
Creates or finds a AssistantsApiResponseFormatMode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding AssistantsApiResponseFormatMode.
-
values
Gets known AssistantsApiResponseFormatMode values.- Returns:
- known AssistantsApiResponseFormatMode values.
-
fromString(String)
factory method.