Ask a question to get started
Enter to send•Shift+Enter new line
CosmosDBChatMessageHistory( self, cosmos_endpoint: str, cosmos_database: str, cosmos_container: str,
BaseChatMessageHistory
Prepare the CosmosDB client.
Use this function or the context manager to make sure your database is ready.
Retrieve the messages from Cosmos
Add a self-created message to the store
Update the cosmosdb item.
Clear session memory from this memory and cosmos.
Chat message history backed by Azure CosmosDB.