Retrieval-Augmented Generation (RAG) Simulator
Simulate RAG by incorporating external context into prompts
intermediate
210 points
50 minutes
advanced-techniques
Instructions
Create a prompt system that answers questions using provided documents: Scenario: Technical documentation Q&A Your system should: 1. Accept document context 2. Process user questions 3. Cite sources in responses 4. Handle "I don't know" gracefully 5. Avoid hallucination Provide: - Document ingestion prompt - Question-answering prompt - Citation format - Example interaction
Hints
AI-Powered Hints
Smart
Get personalized hints based on your current progress. Start with gentle hints and progress to more detailed ones.
Tags
rag
retrieval
context
Access Level
PRO
Upgrade to access this challenge