EmbeddingInputType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. inference. models. EmbeddingInputType
- com.
- com.
public final class EmbeddingInputType
extends ExpandableStringEnum<EmbeddingInputType>
Represents the input types used for embedding search.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Embedding |
DOCUMENT
Indicates the input represents a document that is stored in a vector database. |
|
static final
Embedding |
QUERY
Indicates the input represents a search query to find the most relevant documents in your vector database. |
|
static final
Embedding |
TEXT
Indicates the input is a general text input. |
Constructor Summary
| Constructor | Description |
|---|---|
| EmbeddingInputType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Embedding |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Embedding |
fromString(String name)
Creates or finds a Embedding |
|
static
Collection<Embedding |
values()
Gets known Embedding |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DOCUMENT
public static final EmbeddingInputType DOCUMENT
Indicates the input represents a document that is stored in a vector database.
QUERY
public static final EmbeddingInputType QUERY
Indicates the input represents a search query to find the most relevant documents in your vector database.
TEXT
public static final EmbeddingInputType TEXT
Indicates the input is a general text input.
Constructor Details
EmbeddingInputType
@Deprecated
public EmbeddingInputType()
Deprecated
Creates a new instance of EmbeddingInputType value.
Method Details
fromString
public static EmbeddingInputType fromString(String name)
Creates or finds a EmbeddingInputType from its string representation.
Parameters:
Returns:
values
public static Collection<EmbeddingInputType> values()
Gets known EmbeddingInputType values.
Returns: