Package com.azure.ai.openai.models
Class AzureChatExtensionType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AzureChatExtensionType>
com.azure.ai.openai.models.AzureChatExtensionType
public final class AzureChatExtensionType
extends com.azure.core.util.ExpandableStringEnum<AzureChatExtensionType>
A representation of configuration data for a single Azure OpenAI chat extension. This will be used by a chat
completions request that should use Azure OpenAI chat extensions to augment the response behavior. The use of this
configuration is compatible only with Azure OpenAI.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AzureChatExtensionTypeRepresents the use of Azure Cognitive Search as an Azure OpenAI chat extension. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AzureChatExtensionTypefromString(String name) Creates or finds a AzureChatExtensionType from its string representation.static Collection<AzureChatExtensionType>values()Gets known AzureChatExtensionType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
AZURE_COGNITIVE_SEARCH
Represents the use of Azure Cognitive Search as an Azure OpenAI chat extension.
-
-
Constructor Details
-
AzureChatExtensionType
Deprecated.Use thefromString(String)factory method.Creates a new instance of AzureChatExtensionType value.
-
-
Method Details
-
fromString
Creates or finds a AzureChatExtensionType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding AzureChatExtensionType.
-
values
Gets known AzureChatExtensionType values.- Returns:
- known AzureChatExtensionType values.
-
fromString(String)factory method.