Enum ChatMessageImageContent.ImageDetail
- java.lang.Object
-
- java.lang.Enum<ChatMessageImageContent.ImageDetail>
-
- com.microsoft.semantickernel.services.chatcompletion.message.ChatMessageImageContent.ImageDetail
-
- All Implemented Interfaces:
Serializable,Comparable<ChatMessageImageContent.ImageDetail>
- Enclosing class:
- ChatMessageImageContent<T>
public static enum ChatMessageImageContent.ImageDetail extends Enum<ChatMessageImageContent.ImageDetail>
The detail level of the image to include in the chat message.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChatMessageImageContent.ImageDetailvalueOf(String name)Returns the enum constant of this type with the specified name.static ChatMessageImageContent.ImageDetail[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOW
public static final ChatMessageImageContent.ImageDetail LOW
Low detail
-
HIGH
public static final ChatMessageImageContent.ImageDetail HIGH
High detail
-
AUTO
public static final ChatMessageImageContent.ImageDetail AUTO
Automatically determine the detail level
-
-
Method Detail
-
values
public static ChatMessageImageContent.ImageDetail[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ChatMessageImageContent.ImageDetail c : ChatMessageImageContent.ImageDetail.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChatMessageImageContent.ImageDetail valueOf(String name)
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-