{"slug": "conversational-rag-agent-using-inmemorychatmessagestore", "title": "Conversational RAG Agent using InMemoryChatMessageStore", "summary": "A new tutorial demonstrates building a conversational RAG agent using InMemoryChatMessageStore, InMemoryBM25Retriever, OpenAIChatGenerator, ChatMessageRetriever, and ChatMessageWriter components. The tutorial first constructs a simple conversational pipeline with an LLM, then extends it into a multi-turn RAG agent for document interactions.", "body_md": "`Agent`\n\n`ChatPromptBuilder`\n\n`InMemoryBM25Retriever`\n\n`OpenAIChatGenerator`\n\n`InMemoryChatMessageStore`\n\n`ChatMessageRetriever`\n\n`ChatMessageWriter`\n\nIn this tutorial, you’ll first build a simple conversational pipeline using chat components and an LLM. You’ll then extend this setup into a conversational RAG pipeline using the Agent component, capable of handling multi-turn interactions over documents.", "url": "https://wpnews.pro/news/conversational-rag-agent-using-inmemorychatmessagestore", "canonical_source": "https://haystack.deepset.ai/tutorials/48_conversational_rag/", "published_at": "2026-07-29 00:00:00+00:00", "updated_at": "2026-07-29 09:26:55.991982+00:00", "lang": "en", "topics": ["artificial-intelligence", "large-language-models", "generative-ai", "ai-agents", "developer-tools"], "entities": ["InMemoryChatMessageStore", "InMemoryBM25Retriever", "OpenAIChatGenerator", "ChatMessageRetriever", "ChatMessageWriter", "Agent", "ChatPromptBuilder"], "alternates": {"html": "https://wpnews.pro/news/conversational-rag-agent-using-inmemorychatmessagestore", "markdown": "https://wpnews.pro/news/conversational-rag-agent-using-inmemorychatmessagestore.md", "text": "https://wpnews.pro/news/conversational-rag-agent-using-inmemorychatmessagestore.txt", "jsonld": "https://wpnews.pro/news/conversational-rag-agent-using-inmemorychatmessagestore.jsonld"}}