Package com.azure.ai.inference.models
Class ModelType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ModelType>
com.azure.ai.inference.models.ModelType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The type of AI model.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelTypefromString(String name) Creates or finds a ModelType from its string representation.static Collection<ModelType>values()Gets known ModelType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
EMBEDDINGS
Embeddings. -
IMAGE_GENERATION
Image generation. -
TEXT_GENERATION
Text generation. -
IMAGE_EMBEDDINGS
Image embeddings. -
AUDIO_GENERATION
Audio generation. -
CHAT
Chat completions.
-
-
Constructor Details
-
ModelType
Deprecated.Use thefromString(String)factory method.Creates a new instance of ModelType value.
-
-
Method Details
-
fromString
Creates or finds a ModelType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ModelType.
-
values
Gets known ModelType values.- Returns:
- known ModelType values.
-
fromString(String)factory method.