How to improve factual accuracy with wiki_grounding
If wiki_grounding
is enabled, the model uses a RAG (Retrieval-Augmented Generation) approach:
- It retrieves relevant chunks from Wikipedia based on the user’s question.
- It then uses those chunks to ground its answer — making the response more accurate and fact-based.
What is RAG?
RAG = Retrieval-Augmented Generation.
Instead of only relying on the model’s internal knowledge (which can be outdated or incomplete), RAG allows the model to:
- Look up external data sources (in this case, Wikipedia)
- Condition its response on those sources