RAG Pipeline with in-memory conversation history #8018
Replies: 2 comments 2 replies
-
|
hi @adhikari23 it's still not supported we are working on it, but it will soon come in haystack-experimental |
Beta Was this translation helpful? Give feedback.
-
|
For Haystack 2.x I would build conversation memory as an explicit part of the pipeline rather than waiting for it to behave like the 1.x agent abstraction. A practical layout is:
This separation matters because chat history and knowledge documents have different trust levels. User turns can contain mistakes, prompt injection, or personal data; retrieved documents should carry source metadata and citation rules. I would also evaluate it with multi-turn cases: pronoun references, changed user intent, contradictory prior turns, and questions where history should not influence retrieval. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In Haystack 1.0, we have conversation agent that helps us to use the chat history in the pipeline through a agentic way. https://haystack.deepset.ai/tutorials/24_building_chat_app
However, in Haystack 2.x, I don't see the support of conversation memory agent.
(https://docs.haystack.deepset.ai/docs/migration#agents)
What is the best way to build a pipeline with conversation chat history in Haystack 2.x
Beta Was this translation helpful? Give feedback.
All reactions