Class AzureOpenAIModelName
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AzureOpenAIModelName>
com.azure.search.documents.indexes.models.AzureOpenAIModelName
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class AzureOpenAIModelName
extends com.azure.core.util.ExpandableStringEnum<AzureOpenAIModelName>
The Azure Open AI model name that will be called.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AzureOpenAIModelNameStatic value text-embedding-3-large for AzureOpenAIModelName.static final AzureOpenAIModelNameStatic value text-embedding-3-small for AzureOpenAIModelName.static final AzureOpenAIModelNameStatic value text-embedding-ada-002 for AzureOpenAIModelName. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AzureOpenAIModelNamefromString(String name) Creates or finds a AzureOpenAIModelName from its string representation.static Collection<AzureOpenAIModelName> values()Gets known AzureOpenAIModelName values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
TEXT_EMBEDDING_ADA_002
Static value text-embedding-ada-002 for AzureOpenAIModelName. -
TEXT_EMBEDDING_3_LARGE
Static value text-embedding-3-large for AzureOpenAIModelName. -
TEXT_EMBEDDING_3_SMALL
Static value text-embedding-3-small for AzureOpenAIModelName.
-
-
Constructor Details
-
AzureOpenAIModelName
Deprecated.Use thefromString(String)factory method.Creates a new instance of AzureOpenAIModelName value.
-
-
Method Details
-
fromString
Creates or finds a AzureOpenAIModelName from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding AzureOpenAIModelName.
-
values
Gets known AzureOpenAIModelName values.- Returns:
- known AzureOpenAIModelName values.
-
fromString(String)factory method.