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>
671 B
671 B
Azure Cosmos DB Package Samples
This folder contains samples for agent-framework-azure-cosmos.
| File | Description |
|---|---|
cosmos_history_provider.py |
Demonstrates an Agent using CosmosHistoryProvider with FoundryChatClient (configured against an Azure AI Foundry project endpoint), provider-configured container name, and session_id partitioning. |
Prerequisites
AZURE_COSMOS_ENDPOINTAZURE_COSMOS_DATABASE_NAMEAZURE_COSMOS_CONTAINER_NAMEAZURE_COSMOS_KEY(or equivalent credential flow)
Run
uv run --directory packages/azure-cosmos python samples/cosmos_history_provider.py