Breaking complex questions into solvable parts.
User Query: "Is the revenue of Apple in 2022 higher than Microsoft's?"
A single vector search fails here. There is no single document comparing Apple and Microsoft revenue for 2022 directly. The answer exists in two documents:
If you search for the whole sentence, you might get neither.
We use an LLM to break the query into independent sub-questions.
Step 1: Decompose
Step 2: Retrieve
Step 3: Answer
For even harder problems, query 2 might depend on the answer to query 1. "Who is the CEO of the company that made the iPhone?"
This requires a loop (Agentic behavior), not just parallel retrieval.
If your users ask compound questions, simple retrieval is mathematically impossible. You must break the bond.
Key Intuition: "Solve the parts to solve the whole."