Package com.azure.ai.openai.models
Class OnYourDataEndpointVectorizationSource
java.lang.Object
com.azure.ai.openai.models.OnYourDataVectorizationSource
com.azure.ai.openai.models.OnYourDataEndpointVectorizationSource
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 Summary
ConstructorsConstructorDescriptionOnYourDataEndpointVectorizationSource(String endpoint, OnYourDataAuthenticationOptions authentication) Creates an instance of OnYourDataEndpointVectorizationSource class. -
Method Summary
Modifier and TypeMethodDescriptionGet the authentication property: Specifies the authentication options to use when retrieving embeddings from the specified endpoint.Get the endpoint property: Specifies the resource endpoint URL from which embeddings should be retrieved.
-
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
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
Get the authentication property: Specifies the authentication options to use when retrieving embeddings from the specified endpoint.- Returns:
- the authentication value.
-