Why not just use the Chat block?

Why do I often see something similar to the screenshot below in the MindStudio videos? In many cases, can’t the Chat block handle all of this on its own?

1 Like

Hi @philthrive,

This setup usually helps new users understand how RAG works: the Agent collects the query (user message), searches the Data Source, and then has the LLM generate a response.

It can also be useful if users need to upload a file first or if you have custom prompts in the Generate Text (previously Send Message) block.

Otherwise, the Chat block can handle the same flow on its own.

1 Like

It seems the Chat block can only query 1 data source. I have 2 (50,000 words and 70,000 words). Should I just combine them into 1 data source, or is there a way to query multiple data sources?

Hi @philthrive,

I wouldn’t recommend merging those data sources, since it can impact retrieval quality. This is a good case for Dynamic Tools.

Dynamic Tools let the LLM in a Chat block decide when to trigger another workflow, where you can use separate data sources and custom instructions.

Here’s a sample Agent you can remix:
https://app.mindstudio.ai/agents/fruit-knowledge-navigator-b64d4e4f/remix

1 Like