Instead of one retrieval step, an LLM-driven loop decides what to search, evaluates the results, and searches again with refined queries, sources or filters until it has enough evidence.
It helps with multi-hop questions, ambiguous queries and questions spanning several data sources, and can combine search tools such as vector search, keyword search and SQL.
Costs: more latency and tokens, harder evaluation, and risk of loops, so cap the number of steps and measure whether accuracy gains justify it versus a well-tuned single-step pipeline.
Loading…