← Back to Glossary
Generator
The LLM component in RAG that synthesizes a final answer using retrieved document chunks alongside the query.
Why it exists
Raw retrieved document chunks are unorganized. The generator reads the chunks and crafts a natural language response.
How it works
Takes prompt containing Query + Retrieved Chunks and streams a grounded, coherent answer.