CockroachDB for AI: Long-term chat history with LangChain
2026-03-19
CockroachDB for AI
Demos & Tutorials
Description
Rob Reid demonstrates how to use CockroachDB to power long-term chat history for large language models (LLMs) using LangChain. 00:00 - Introduction to Long-Term Chat History 00:34 - Setting Up CockroachDB and the Chat History Table 01:16 - Scenario 1: Chatting with No History 01:48 - Scenario 2: Persistent Chat History with CockroachDB 02:50 - Exploring the chat history 03:25 - Scenario 3: Implementation of Buffered Chat History #distributedsql #databases #LLMs Learn more at cockroachlabs.com