mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
3a49b1d6dd
* [BREAKING] Remove deprecated Python OpenAI/Azure AI surfaces Also clean up follow-on docs, environment guidance, package metadata, and lab test stability. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix deleted semantic-kernel sample links Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Address PR review feedback Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * improve foundry language * Fix A2A Foundry sample regression Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1022 B
1022 B
Azure AI Package (agent-framework-azure-ai)
Integration with Azure AI inference embeddings plus shared Azure authentication helpers.
Main Classes
AzureAIInferenceEmbeddingClient- Full-featured Azure AI inference embeddings clientRawAzureAIInferenceEmbeddingClient- Raw embeddings client without middleware layersAzureAIInferenceEmbeddingOptions/AzureAIInferenceEmbeddingSettings- Embedding options and settingsAzureAISettings- Shared Azure AI project settings TypedDictAzureCredentialTypes/AzureTokenProvider- Shared Azure authentication helpers
Usage
from agent_framework_azure_ai import AzureAIInferenceEmbeddingClient
client = AzureAIInferenceEmbeddingClient(
endpoint="https://<resource>.inference.ai.azure.com",
api_key="...",
model_id="text-embedding-3-large",
)
result = await client.get_embeddings(["Hello"])
Import Path
from agent_framework_azure_ai import AzureAIInferenceEmbeddingClient