Skip to content

Get the document associated with a response. #7054

Discussion options

You must be logged in to vote

Hello @javirenaiss for Generative QA, you can have a look at our tutorial using a RAG pipeline: https://haystack.deepset.ai/tutorials/27_first_rag_pipeline In the result there is not only the generated answer but also the documents that were used to generate that answer.
As an alternative you could try Extractive QA, for which we have a separate tutorial: https://haystack.deepset.ai/tutorials/34_extractive_qa_pipeline
Both tutorials are specifically for Haystack 2.0

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@renaisser
Comment options

Answer selected by julian-risch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants