Build RAG for Source Verification

implementationChallengeOctober 2, 2025

Prompt Content

Develop a RAG component. When the agent browses a page, extract relevant text chunks and embed them into a local vector database. Before finalizing an answer, retrieve relevant chunks from this database to verify facts and augment the LLM's response with direct citations. Demonstrate how this improves answer quality and reduces hallucination compared to a non-RAG approach.

Usage Tips

Copy the prompt and paste it into your preferred AI tool

Customize the prompt by replacing placeholder values with your specific requirements

For best results, provide clear context and examples when using this prompt