{
  "id": 17826223,
  "title": "How to Build Durable Chat Memory for RAG Using ScyllaDB and LangChain",
  "url": "https://urgent.news/2026/11/02/how-to-build-durable-chat-memory-for-rag-using-scylladb-and-langchain",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-02T14:15:18.000Z",
  "source": {
    "name": "HackerNoon",
    "slug": "hackernoon",
    "url": "https://hackernoon.com/how-to-build-durable-chat-memory-for-rag-using-scylladb-and-langchain?source=rss"
  },
  "original_language": "en",
  "account": "The post demonstrates how to integrate ScyllaDB Vector Search into a LangChain project for Retrieval Augmented Generation (RAG) use cases, as well as using ScyllaDB as a durable conversation memory within LangChain. Large language models are stateless, so RAG alone doesn't retain user inputs. ScyllaDB offers high availability, predictable low latency, horizontal scalability, and built-in vector search. ScyllaDB is integrated with LangChain by reusing the existing Cassandra connector. The setup involves installing dependencies, filling in environment variables with ScyllaDB credentials, and connecting to ScyllaDB Cloud. The chatbot ingests articles, answers questions using retrieved context, and preserves conversation history in the database using CassandraChatMessageHistory. This implementation ensures chat history survival through process crashes, server restarts, and horizontal scaling.",
  "summary": "Learn how to use ScyllaDB Vector Search and persistent chat history with LangChain to build RAG chatbots that retain context across restarts and replicas.",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}