OnYourDataEndpointVectorizationSource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public class OnYourDataEndpointVectorizationSource : Azure.AI.OpenAI.OnYourDataVectorizationSource, System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.OnYourDataEndpointVectorizationSource>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.OnYourDataEndpointVectorizationSource>
type OnYourDataEndpointVectorizationSource = class
inherit OnYourDataVectorizationSource
interface IJsonModel<OnYourDataEndpointVectorizationSource>
interface IPersistableModel<OnYourDataEndpointVectorizationSource>
Public Class OnYourDataEndpointVectorizationSource
Inherits OnYourDataVectorizationSource
Implements IJsonModel(Of OnYourDataEndpointVectorizationSource), IPersistableModel(Of OnYourDataEndpointVectorizationSource)
- Inheritance
- Implements
Constructors
OnYourDataEndpointVectorizationSource(Uri, OnYourDataAuthenticationOptions) |
Initializes a new instance of OnYourDataEndpointVectorizationSource. |
Properties
Authentication |
Specifies the authentication options to use when retrieving embeddings from the specified endpoint. Please note OnYourDataAuthenticationOptions is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include OnYourDataAccessTokenAuthenticationOptions, OnYourDataApiKeyAuthenticationOptions, OnYourDataConnectionStringAuthenticationOptions, OnYourDataEncodedApiKeyAuthenticationOptions, OnYourDataKeyAndKeyIdAuthenticationOptions, OnYourDataSystemAssignedManagedIdentityAuthenticationOptions and OnYourDataUserAssignedManagedIdentityAuthenticationOptions. |
Endpoint |
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. |
Explicit Interface Implementations
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for