Skip to main content

Module embeddings

Module embeddings 

Source
Expand description

Azure OpenAI embeddings client.

Rust equivalent of upstream’s Azure branch of the OpenAI embedding client (agent_framework_openai/_embedding_client.py): the deployment-scoped POST {endpoint}/openai/deployments/{deployment}/embeddings endpoint with api-key or Entra ID auth. The wire body/response are OpenAI-shaped, so request extras and response parsing are shared with agent-framework-openai rather than duplicated.

Structs§

AzureOpenAIEmbeddingClient
An Azure OpenAI embeddings client (POST {endpoint}/openai/deployments/{deployment}/embeddings).