AzureOpenAIModelName Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. indexes. models. AzureOpenAIModelName
- com.
- com.
public final class AzureOpenAIModelName
extends ExpandableStringEnum<AzureOpenAIModelName>
The Azure Open AI model name that will be called.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Azure |
TEXT_EMBEDDING_3_LARGE
Static value text-embedding-3-large for Azure |
|
static final
Azure |
TEXT_EMBEDDING_3_SMALL
Static value text-embedding-3-small for Azure |
|
static final
Azure |
TEXT_EMBEDDING_ADA_002
Static value text-embedding-ada-002 for Azure |
Constructor Summary
| Constructor | Description |
|---|---|
| AzureOpenAIModelName() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Azure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Azure |
fromString(String name)
Creates or finds a Azure |
|
static
Collection<Azure |
values()
Gets known Azure |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
TEXT_EMBEDDING_3_LARGE
public static final AzureOpenAIModelName TEXT_EMBEDDING_3_LARGE
Static value text-embedding-3-large for AzureOpenAIModelName.
TEXT_EMBEDDING_3_SMALL
public static final AzureOpenAIModelName TEXT_EMBEDDING_3_SMALL
Static value text-embedding-3-small for AzureOpenAIModelName.
TEXT_EMBEDDING_ADA_002
public static final AzureOpenAIModelName TEXT_EMBEDDING_ADA_002
Static value text-embedding-ada-002 for AzureOpenAIModelName.
Constructor Details
AzureOpenAIModelName
@Deprecated
public AzureOpenAIModelName()
Deprecated
Creates a new instance of AzureOpenAIModelName value.
Method Details
fromString
public static AzureOpenAIModelName fromString(String name)
Creates or finds a AzureOpenAIModelName from its string representation.
Parameters:
Returns:
values
public static Collection<AzureOpenAIModelName> values()
Gets known AzureOpenAIModelName values.
Returns: