System: Answer based on the provided context only.
Context:
[Federal Reserve 2023]: "Inflation rose due to supply chain disruptions and excess demand…"
[Investopedia]: "Inflation is caused by demand-pull, cost-push, and built-in factors…"
User: What causes inflation?
🧠
LLM
Generate Answer
grounded in context
Based on the provided sources, inflation is primarily caused by: 1. Demand-pull — too much money chasing too few goods 2. Cost-push — rising production costs (supply chain, energy) 3. Built-in inflation — wage-price spiral expectations Sources: Federal Reserve 2023, Investopedia
What is RAG?
Retrieval-Augmented Generation (RAG) grounds LLM responses in external knowledge. Instead of relying solely on training data, RAG retrieves relevant documents at query time and includes them as context. This reduces hallucinations and enables up-to-date answers.