How to Store AI Chat History with Azure Cosmos DB

Azure Cosmos DB
265,744 views •

Your LLM’s context is temporary. Learn how to give an AI chat application durable memory with Azure Cosmos DB, including how to structure messages, partition conversations by session, retrieve chat history, and use TTL without losing important context. Speaker: Theo van Kraay Learn more: • Docs: Agent memories in Azure Cosmos DB - https://aka.ms/agentic-memories • Subscribe to Azure Cosmos DB on YouTube - https://youtube.com/AzureCosmosDB • Follow Azure Cosmos DB on X - https://twitter.com/AzureCosmosDB • Follow Azure Cosmos DB on LinkedIn - https://www.linkedin.com/company/azure-cosmos-db/ #AzureCosmosDB #AIApps #GenerativeAI

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close