179 questions
No questions match those filters.
How does an Agentic RAG agent decide which tool to use...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansMulti-tool agentic RAG works because the routing intelligence lives up front, in how each tool is described to the model, not in some separate classifier. Vector search gets described as the tool for policy and documentation questions; SQL for anything involving counts, sums, or exact structured data; web search reserved explicitly for real-time or very recent information; a calculator for arithmetic the model shouldn’t be doing in its head.
The description quality matters more than the tool implementation. A system prompt with clear “use for X” and equally clear “do not use for Y” per tool produces far more reliable routing than a vague catalogue of what each tool technically can do, because the model is making a judgment call every time and needs unambiguous signal.
Cost is the other axis worth building in explicitly: vector search is orders of magnitude cheaper than a web search call, so the routing rules should bias toward the cheapest tool that plausibly answers the query and only escalate to something like live web search when the cheaper options are known to fall short.