Build and test a retrieval-augmented generation (RAG) workflow. Create a miniature project knowledge base, retrieve evidence for an evaluation question, inspect citations, challenge unsupported claims, and export a ready-to-use agent blueprint.
1. Set up your knowledge-based agent
Define what your agent should do and where its answers must come from.
2. Build a miniature knowledge base
Edit the sample documents below. The simulator searches these text fields locally in your browser; it does not upload or index real files. Use non-sensitive examples.
DOC 01 · Programme brief
DOC 02 · Theory of Change
DOC 03 · Indicator reference
DOC 04 · Evaluation plan
3. Understand the retrieval pipeline
QuestionEvaluator asks
›
RetrieveFind matching passages
›
GroundInspect source excerpts
›
AnswerCite or abstain
›
ReviewEvaluator verifies
This lab demonstrates a simplified keyword retrieval and citation workflow, not a real embedding-based RAG system or a live language model. Retrieved passages are evidence candidates, not proof that a generated claim is correct.
4. Ask your knowledge base
Select a sample question or write your own. Retrieval matches words in the documents and displays the most relevant excerpts; it will not invent an AI-generated answer.
Your evidence search results will appear here, including source excerpts and a suggested evidence-grounded response approach.
5. Verify the agent's reliability
Choose the response that respects source boundaries. All three checks must pass to unlock the blueprint.
Test A · Missing baseline
Test B · Causal claim
Test C · No relevant source
Reliability score
0 / 3
Complete the three checks to unlock your implementation blueprint.
6. Generate your RAG agent blueprint
Export your agent mission, source inventory, retrieval rules, answer format, evaluation tests and deployment steps.
Practical assignment
Create a real knowledge-based M&E assistant using an approved ChatGPT or Claude workspace. Upload a small set of authorized programme documents, add the instructions from your blueprint, and test at least five questions: two answerable, one missing-information question, one conflicting-evidence question, and one unsupported causal claim. Manually verify every citation and document the errors before considering deployment.