Is it better to create multiple agents for different topics, or is there a certain data source word count that would cause you to split into multiple agents?
We teach people living in extreme poverty how to 1) grow their own food, 2) improve their nutrition with that food, and 3) generate an income by selling the surplus.
I want to use our curriculum as the data source for an agent to answer their questions, and I’m wondering if it would be better to build 3 agents. Thanks!
Hi @philthrive,
The key to answering your question is understanding how much data you plan to upload for each topic. The more data you have, the better it is to keep things organized by creating separate Data Sources within the same Agent.
You also don’t necessarily need 3 different Agents. One option would be to create 3 Data Sources, then use a Menu block in your workflow so users can pick a topic. Each option can lead to its own Chat block that uses RAG with the matching Data Source.
Is there a word count at which it makes sense to have separate Data Sources? Obviously, there’s not a precise number, but a ballpark guess would be very helpful.
I’ll do that, regardless. Good idea, thanks.
I wouldn’t focus too much on word count when deciding how to split your Data Sources. What matters more is keeping topics distinct. If your content starts covering very different subjects, separating them into their own Data Sources will usually improve the retrieval results