Enum AzureUrlPathMode
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum AzureUrlPathMode extends Enum<AzureUrlPathMode>
Configures how the baseURL of com.openai.core.ClientOptions is treated for Azure OpenAI endpoints.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
name
private final Integer
ordinal
private final EnumEntries<AzureUrlPathMode>
entries
-
Enum Constant Summary
Enum Constants Enum Constant Description LEGACY
Forces the deployment or model name into the path.
UNIFIED
AzureOpenAIServiceVersion is optional and the model is part of the request.
AUTO
Automatically detects the path mode based on the base URL. This is the default value.
-
Method Summary
Modifier and Type Method Description final AzureUrlPathMode
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<AzureUrlPathMode>
values()
Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<AzureUrlPathMode>
getEntries()
Configures how the baseURL of com.openai.core.ClientOptions is treated for Azure OpenAI endpoints. -
-
Method Detail
-
valueOf
final AzureUrlPathMode valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<AzureUrlPathMode> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<AzureUrlPathMode> getEntries()
Configures how the baseURL of com.openai.core.ClientOptions is treated for Azure OpenAI endpoints.
-
-
-
-