Unit Test RAG and Comparison Logic
testingChallengeNovember 25, 2025
Prompt Content
Write unit tests for the multi-reference RAG retrieval mechanism to ensure it correctly identifies and retrieves information from multiple sources and applies the multi-reference validation. Additionally, create integration tests for the `compare_products` and `synthesize_recommendation` nodes using mock product data to verify accurate comparison and logical recommendation generation according to specified criteria.
Related Prompts
Explore similar prompts from our community
Usage Tips
Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)
Customize placeholder values with your specific requirements and context
For best results, provide clear examples and test different variations