chatHistory
that backs chat memory classes like BufferMemory
.
If you don’t have an Azure account, you can create a free account to get started.
Setup
You’ll first need to install the@langchain/azure-cosmosdb
package:
npm
npm
When using Azure Managed Identity and role-based access control, you must ensure that the database and container have been created beforehand. RBAC does not provide permissions to create databases and containers. You can get more information about the permission model in the Azure Cosmos DB documentation.