Package com.azure.ai.inference.models
Class EmbeddingInputType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<EmbeddingInputType>
com.azure.ai.inference.models.EmbeddingInputType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class EmbeddingInputType
extends com.azure.core.util.ExpandableStringEnum<EmbeddingInputType>
Represents the input types used for embedding search.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EmbeddingInputTypeto do.static final EmbeddingInputTypeto do.static final EmbeddingInputTypeto do. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EmbeddingInputTypefromString(String name) Creates or finds a EmbeddingInputType from its string representation.static Collection<EmbeddingInputType>values()Gets known EmbeddingInputType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
TEXT
to do. -
QUERY
to do. -
DOCUMENT
to do.
-
-
Constructor Details
-
EmbeddingInputType
Deprecated.Use thefromString(String)factory method.Creates a new instance of EmbeddingInputType value.
-
-
Method Details
-
fromString
Creates or finds a EmbeddingInputType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding EmbeddingInputType.
-
values
Gets known EmbeddingInputType values.- Returns:
- known EmbeddingInputType values.
-
fromString(String)factory method.