haystack
haystack copied to clipboard
Use case RAG + one-shot query planning (a.k.a. subquestion or multihop)
Goal
The goal is to refine this task into smaller sub-tasks which might include a review of existing approaches (with limitations), creating a proposal, implementing the solution.
User story
Users should be able to create a pipeline that can answer user queries that need to pull information from different data sources when necessary.
It needs to support the following examples:
Example
- data source 1: financial documents of different companies
- data source 2: transcripts of earning calls Question: "give me the highlights of the earning call of company A"
Example
- data source 1: financial documents of different companies
- data source 2: transcripts of earning calls Question: "give me the highlights of the earning call of the top-performing company"
Example
- data source 1: financial documents of different companies
- data source 2: transcripts of earning calls Question: "compare company A to company B"
Example
- data source: legal docs Question: "Tell me about the pro-X arguments in article A, and tell me about the pro-Y arguments in article B, then generate your own conclusion based on these facts."