Package com.azure.ai.openai.models
Class OnYourDataVectorizationSourceType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<OnYourDataVectorizationSourceType>
com.azure.ai.openai.models.OnYourDataVectorizationSourceType
public final class OnYourDataVectorizationSourceType
extends com.azure.core.util.ExpandableStringEnum<OnYourDataVectorizationSourceType>
Represents the available sources Azure OpenAI On Your Data can use to configure vectorization of data for use with
vector search.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OnYourDataVectorizationSourceTypeRepresents an Ada model deployment name to use.static final OnYourDataVectorizationSourceTypeRepresents vectorization performed by public service calls to an Azure OpenAI embedding model.static final OnYourDataVectorizationSourceTypeRepresents a specific embedding model ID as defined in the search service. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String name) Creates or finds a OnYourDataVectorizationSourceType from its string representation.values()Gets known OnYourDataVectorizationSourceType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ENDPOINT
Represents vectorization performed by public service calls to an Azure OpenAI embedding model. -
DEPLOYMENT_NAME
Represents an Ada model deployment name to use. This model deployment must be in the same Azure OpenAI resource, but On Your Data will use this model deployment via an internal call rather than a public one, which enables vector search even in private networks. -
MODEL_ID
Represents a specific embedding model ID as defined in the search service. Currently only supported by Elasticsearch®.
-
-
Constructor Details
-
OnYourDataVectorizationSourceType
Deprecated.Use thefromString(String)factory method.Creates a new instance of OnYourDataVectorizationSourceType value.
-
-
Method Details
-
fromString
Creates or finds a OnYourDataVectorizationSourceType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding OnYourDataVectorizationSourceType.
-
values
Gets known OnYourDataVectorizationSourceType values.- Returns:
- known OnYourDataVectorizationSourceType values.
-
fromString(String)factory method.