Learn how to persist chat history for LLM powered applications using Firestore. The post walks through maintaining in-memory chat history with LangChain's RunnableWithMessageHistory and transitioning to persistent storage using Firestore. Users will understand how to enhance their chat applications by saving session history, making conversations more context-aware and meaningful.
Table of contents
Persisting LLM chat history to FirestoreIn-memory chat history with LangChainPersistent chat history with FirestoreConclusionSort: