"Should I create tools for every file and save that in database?"
Hi,
I am building a RAG SaaS project where users will upload hundreds or thousands of PDFs, docs, and other file types. I need the agent to answer questions based on these documents. What is the most efficient way to create query engine tools for the agent?
- Should I provide the agent with a single query engine tool and indicate that it can handle any type of question?
- Alternatively, should I create and save separate query engine tools for each document upon upload and provide the agent with a list of these tools?
Additionally, does saving individual query engine tools for each document even work effectively?
Thank you for your help!