19
Lesson 19 of 20 ยท Smart Helpers
Retrieval-augmented generation
RAG combines LLMs with external knowledge bases. The model retrieves relevant documents, then uses them to generate grounded, factual responses.
- RAG grounds LLM responses in external data.
- It reduces hallucinations by providing factual context.
Think about it
What is prompt injection?
