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 Details

    • ENDPOINT

      public static final OnYourDataVectorizationSourceType ENDPOINT
      Represents vectorization performed by public service calls to an Azure OpenAI embedding model.
    • DEPLOYMENT_NAME

      public static final OnYourDataVectorizationSourceType 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

      public static final OnYourDataVectorizationSourceType MODEL_ID
      Represents a specific embedding model ID as defined in the search service. Currently only supported by Elasticsearch®.
  • Constructor Details

    • OnYourDataVectorizationSourceType

      @Deprecated public OnYourDataVectorizationSourceType()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of OnYourDataVectorizationSourceType value.
  • Method Details

    • fromString

      public static OnYourDataVectorizationSourceType fromString(String name)
      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.