BestPromptFinder
Find Why a RAG Answer Missed Something Before You Rewrite the Prompt
85AI Quality /100
95AI Usefulness est. /100
92Eval Confidence /100
No votes yetCommunity results
The prompt
Help me debug one wrong answer from my retrieval-augmented (RAG) system. Don't rewrite the prompt until we know where the evidence was lost. Question asked: [paste] Answer given: [paste] What the right answer should include: [e.g. the exception in clause 4.2] Document and passage that contains it: [name, section, paste the passage] Retrieved chunks for this question (in rank order, with scores if you have them): [paste] The final prompt sent to the model, including the context block: [paste] Work through these checks in order and stop at the first one that fails: 1. Ingestion: is the passage in the index at all, and was it split so the condition and the exception stayed together? 2. Retrieval: is the right chunk in the top results? If not, why might the query and chunk not match (wording, acronyms, language)? 3. Ranking and limits: was it retrieved but cut off by top-k, a reranker or a token limit? 4. Prompt: was it in the context but ignored? Quote the line in the prompt that should have made the model use it. 5. Answer: did the model use it but summarise away the condition? Output: the failing stage, the evidence for that, and one targeted fix with a test question to confirm it. Don't guess about data you haven't been shown; ask for it.Find similar in the app →
Did this prompt work for you?
Why this prompt
- Hand-picked, editorially reviewed prompt
- Written for ChatGPT, Claude, Gemini
Source
Created by BestPromptFinder — editorial prompt, not user-generated. See our content & source policy.
Related Coding prompts
Python: Download a CSV From a URLQuality 94 · GPT-5.6Public-Market and Competitor Data Collection Agent
Quality 92 · GPT-5.6Plain-English to SQL Query Writer
Quality 91 · GPT-5.6PRD to MVP Technical Plan
Quality 90 · Claude CodeThird-Party API Integration
Quality 90 · Claude CodeDatabase Schema and Migration
Quality 90 · Claude Code