Azure CosmosDB integrations for LangChain and LangGraph.
Cache that uses Cosmos DB NoSQL backend.
Chat message history backed by Azure CosmosDB.
Synchronous CosmosDB implementation of LangGraph BaseCache.
Uses environment variables for connection configuration.
CosmosDB synchronous implementation of BaseCheckpointSaver.
Uses environment variables for connection configuration.
Azure Cosmos DB-backed store with optional vector search.
Provides LangGraph long-term memory persistence using Azure Cosmos DB.
A visitor that converts a StructuredQuery into a CosmosDB NoSQL query.
Azure Cosmos DB for NoSQL vector store.
To use, you should have both:
- the azure-cosmos python package installed
You can read more about vector search, full text search and hybrid search using AzureCosmosDBNoSQL here: https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/vector-search https://learn.microsoft.com/en-us/azure/cosmos-db/gen-ai/full-text-search https://learn.microsoft.com/en-us/azure/cosmos-db/gen-ai/hybrid-search
Retriever that uses Azure CosmosDB No Sql Search.
Async cache that uses Cosmos DB NoSQL backend.
Azure Cosmos DB for NoSQL async vector store.
To use, you should have both:
- the azure-cosmos python package installed
You can read more about vector search, full text search and hybrid search using AzureCosmosDBNoSQL here: https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/vector-search https://learn.microsoft.com/en-us/azure/cosmos-db/gen-ai/full-text-search https://learn.microsoft.com/en-us/azure/cosmos-db/gen-ai/hybrid-search
Async retriever that uses Azure CosmosDB No Sql Search.
Async chat message history backed by Azure CosmosDB.
Async Azure Cosmos DB-backed store with optional vector search.
Provides async LangGraph long-term memory persistence using Azure Cosmos DB.
Asynchronous CosmosDB implementation of LangGraph BaseCache.
Uses the native azure.cosmos.aio async client for non-blocking I/O.
Sync methods (get, set, clear) delegate to the async
implementations via asyncio.run_coroutine_threadsafe.
Asynchronous CosmosDB implementation of BaseCheckpointSaver.
Uses the native azure.cosmos.aio async client for non-blocking I/O.
Sync methods (get_tuple, list, put, put_writes)
are provided for compatibility and delegate to the async implementations
via asyncio.run_coroutine_threadsafe.
Async Azure CosmosDB integrations.