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>
31 lines
1022 B
Markdown
31 lines
1022 B
Markdown
# 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 client
|
|
- **`RawAzureAIInferenceEmbeddingClient`** - Raw embeddings client without middleware layers
|
|
- **`AzureAIInferenceEmbeddingOptions`** / **`AzureAIInferenceEmbeddingSettings`** - Embedding options and settings
|
|
- **`AzureAISettings`** - Shared Azure AI project settings TypedDict
|
|
- **`AzureCredentialTypes`** / **`AzureTokenProvider`** - Shared Azure authentication helpers
|
|
|
|
## Usage
|
|
|
|
```python
|
|
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
|
|
|
|
```python
|
|
from agent_framework_azure_ai import AzureAIInferenceEmbeddingClient
|
|
```
|