Enum Class ChatCompletionRequestMessageContentPartImageImageUrl.DetailEnum
java.lang.Object
java.lang.Enum<ChatCompletionRequestMessageContentPartImageImageUrl.DetailEnum>
com.sap.ai.sdk.foundationmodels.openai.generated.model.ChatCompletionRequestMessageContentPartImageImageUrl.DetailEnum
- All Implemented Interfaces:
Serializable,Comparable<ChatCompletionRequestMessageContentPartImageImageUrl.DetailEnum>,Constable
- Enclosing class:
ChatCompletionRequestMessageContentPartImageImageUrl
public static enum ChatCompletionRequestMessageContentPartImageImageUrl.DetailEnum
extends Enum<ChatCompletionRequestMessageContentPartImageImageUrl.DetailEnum>
Specifies the detail level of the image. Learn more in the [Vision
guide](https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/gpt-with-vision?tabs=rest%2Csystem-assigned%2Cresource#detail-parameter-settings-in-image-processing-low-high-auto).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe AUTO option of this ChatCompletionRequestMessageContentPartImageImageUrlThe HIGH option of this ChatCompletionRequestMessageContentPartImageImageUrlThe LOW option of this ChatCompletionRequestMessageContentPartImageImageUrlThe UNKNOWN_DEFAULT_OPEN_API option of this ChatCompletionRequestMessageContentPartImageImageUrl -
Method Summary
Modifier and TypeMethodDescriptionGet the enum value from a String valuegetValue()Get the value of the enumtoString()Get the String value of the enum value.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO
The AUTO option of this ChatCompletionRequestMessageContentPartImageImageUrl -
LOW
The LOW option of this ChatCompletionRequestMessageContentPartImageImageUrl -
HIGH
The HIGH option of this ChatCompletionRequestMessageContentPartImageImageUrl -
UNKNOWN_DEFAULT_OPEN_API
public static final ChatCompletionRequestMessageContentPartImageImageUrl.DetailEnum UNKNOWN_DEFAULT_OPEN_APIThe UNKNOWN_DEFAULT_OPEN_API option of this ChatCompletionRequestMessageContentPartImageImageUrl
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
Get the value of the enum- Returns:
- The enum value
-
toString
Get the String value of the enum value.- Overrides:
toStringin classEnum<ChatCompletionRequestMessageContentPartImageImageUrl.DetailEnum>- Returns:
- The enum value as String
-
fromValue
@Nonnull public static ChatCompletionRequestMessageContentPartImageImageUrl.DetailEnum fromValue(@Nonnull String value) Get the enum value from a String value- Parameters:
value- The String value- Returns:
- The enum value of type ChatCompletionRequestMessageContentPartImageImageUrl
-