Class OnYourDataEndpointVectorizationSource

java.lang.Object
com.azure.ai.openai.models.OnYourDataVectorizationSource
com.azure.ai.openai.models.OnYourDataEndpointVectorizationSource

public final class OnYourDataEndpointVectorizationSource extends OnYourDataVectorizationSource
The details of a a vectorization source, used by Azure OpenAI On Your Data when applying vector search, that is based on a public Azure OpenAI endpoint call for embeddings.
  • Constructor Details

    • OnYourDataEndpointVectorizationSource

      public OnYourDataEndpointVectorizationSource(String endpoint, OnYourDataAuthenticationOptions authentication)
      Creates an instance of OnYourDataEndpointVectorizationSource class.
      Parameters:
      endpoint - the endpoint value to set.
      authentication - the authentication value to set.
  • Method Details

    • getEndpoint

      public String getEndpoint()
      Get the endpoint property: Specifies the resource endpoint URL from which embeddings should be retrieved. It should be in the format of https://YOUR_RESOURCE_NAME.openai.azure.com/openai/deployments/YOUR_DEPLOYMENT_NAME/embeddings. The api-version query parameter is not allowed.
      Returns:
      the endpoint value.
    • getAuthentication

      public OnYourDataAuthenticationOptions getAuthentication()
      Get the authentication property: Specifies the authentication options to use when retrieving embeddings from the specified endpoint.
      Returns:
      the authentication value.