SAP AI SDK for JavaScript - v2.15.0
    Preparing search index...

    Class AzureOpenAiEmbeddingClient

    Azure OpenAI client for embeddings.

    Index
    • Creates an instance of the Azure OpenAI embedding client.

      Parameters

      • modelDeployment: ModelDeployment<AzureOpenAiEmbeddingModel>

        This configuration is used to retrieve a deployment. Depending on the configuration use either the given deployment ID or the model name to retrieve matching deployments. If model and deployment ID are given, the model is verified against the deployment.

      • Optionaldestination: HttpDestinationOrFetchOptions

        The destination to use for the request.

      Returns AzureOpenAiEmbeddingClient