OpenAICompatibleVectorizerParameters(Uri, AzureOpenAIModelName) 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 OpenAICompatibleVectorizerParameters.
public OpenAICompatibleVectorizerParameters(Uri uri, Azure.Search.Documents.Indexes.Models.AzureOpenAIModelName modelName);
new Azure.Search.Documents.Indexes.Models.OpenAICompatibleVectorizerParameters : Uri * Azure.Search.Documents.Indexes.Models.AzureOpenAIModelName -> Azure.Search.Documents.Indexes.Models.OpenAICompatibleVectorizerParameters
Public Sub New (uri As Uri, modelName As AzureOpenAIModelName)
Parameters
- uri
- Uri
The complete HTTPS embeddings POST URL, including any path and query parameters. Sent unchanged without appending a path or API version. Redirects are not followed.
- modelName
- AzureOpenAIModelName
The embedding profile, using the same model-name enum as native Azure OpenAI vectorizers. Only text-embedding-ada-002, text-embedding-3-small, and text-embedding-3-large are supported at runtime; chat names in the shared enum are rejected. Controls Search's limits and default dimensions; the outbound body omits model, so the URI or gateway must select the actual model. Arbitrary provider protocols are not supported.
Exceptions
uri is null.