Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ask question that can retrieve answer from multiple chunks #63

Open
Swathi-k-hiremath opened this issue Feb 29, 2024 · 2 comments
Open

Comments

@Swathi-k-hiremath
Copy link

Suppose i have multiple chunks and I want to build an application where I ask questions that require it to fetch across multiple chunks. For example, I have detailed experience reports of a trek from 100 people and i want to query how many of them went prepared with a first aid kit and how many of them needed to use it. What type of chunking and retrieval is the most appropriate for it?

@gkamradt
Copy link
Owner

This is one of those tough questions for an LLM because it requires planning and a lot of tokens.

If it were me (and latency and cost weren't too much of an issue), I would ask that question to each trip report, get the answer, then consolidate them in the end.

It'll be a bit manual but you'll get your answer

@Swathi-k-hiremath
Copy link
Author

Swathi-k-hiremath commented Feb 29, 2024

Is there any creative way to utilize chains to achieve the same result without having to query each trip report?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants