Find answers from the community

Updated 2 months ago

I have multiple PDF files I m thinking

I have multiple PDF files, I'm thinking about creating a separate VectorstStoreIndex for each file. and then using following? Is this the right approach to go with? I'm hopting to increase the retrieval accuracy across multiple PDFs.

graph = ComposableGraph.from_indices(
SimpleKeywordTableIndex,
[pdf1_index, pdf2_index],
index_summaries=[pdf1_summary, pdf2_summary],
max_keywords_per_chunk=50
)
L
a
2 comments
It may work well! The best approach generally takes some experimentation tbh

You could also use a router query engine, or even an agent
Thanks mate, I'll give it a shot and report back results.
Add a reply
Sign up and join the conversation on Discord