OnYourDataEndpointVectorizationSource Constructor
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.
Initializes a new instance of OnYourDataEndpointVectorizationSource.
public OnYourDataEndpointVectorizationSource (Uri endpoint, Azure.AI.OpenAI.OnYourDataAuthenticationOptions authentication);
new Azure.AI.OpenAI.OnYourDataEndpointVectorizationSource : Uri * Azure.AI.OpenAI.OnYourDataAuthenticationOptions -> Azure.AI.OpenAI.OnYourDataEndpointVectorizationSource
Public Sub New (endpoint As Uri, authentication As OnYourDataAuthenticationOptions)
Parameters
- endpoint
- Uri
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.
- authentication
- OnYourDataAuthenticationOptions
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.
Exceptions
endpoint
or authentication
is null.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für