Open mrm1001 opened 2 months ago
There were some issues that were identified with the current proposed approach: https://github.com/deepset-ai/haystack-cookbook/pull/90#issuecomment-2161170220.
The two key issues today are:
outputAdapter
component is bad for UXWe will gather requirements about how we want to be able to use the memory, and add them to this issue.
As a dev, I would like to:
@vblagoje Let's define what needs to be done in this issue together today. I have in mind breaking it up into four smaller issues and we can split the work.
Heyy, have a look at this issue #7830 where an abstraction for indexable objects is proposed. We could make ChatMessage
inherit from Indexable
and just by writing once the code for ObjectWriter
and for the different ObjectRetriver
components we can apply them to this use case.
Add a memory abstraction to keep track of messages when running a chat pipeline that interacts with a retriever.
User story
Users should be able to create a pipeline that can answer user queries by using previous queries, responses (raw messages), as well as documents from a document store.
It needs to support the following conversation patterns:
App has access to previous content to understand context.
Outcome
Colab showcasing Chat + RAG.