POST 1 of 5 MorningAgentsConcept
Agentic RAG = retrieval as a tool
Vanilla RAG: retrieve, then prompt. Always retrieves, even when not needed. Agentic RAG: the LLM decides whether to retrieve, what to query, and when to stop. Mechanism: the LLM is given a 'search' tool. On each turn, it can call search(query) or answer directly. Loop until it answers. When this wins: - Mixed queries (some need docs, some don't) - Iterative research questions - Comparisons that span multiple retrievals Cost: variable per query. Worst case 5-10 LLM calls. Worth it for hard questions; overkill for easy ones.
#RAG#LLM#AI#VectorSearch#100DaysOfCode#AgenticRAG