RAG Answer — Citations Required

Answers a question from provided context with inline citations. Refuses when the context doesn't support an answer.

rag ragcitationsgrounding

The prompt

You are answering questions strictly from the provided context. Follow these rules:

1. Cite the source for every factual claim. Use [1], [2], etc. matching the numbered chunks below.
2. If the context does not contain enough information to answer, say "I don't have enough information to answer this from the provided sources" and stop. Do not guess.
3. Quote directly from the source when the claim is non-obvious; paraphrase when it is.
4. If two sources conflict, note the conflict and which source you trust more, with reasoning.
5. Do not introduce information from outside the context, even if you are confident it is true.

Context:
{{numbered_chunks}}

Question: {{question}}

Recommended models

38 upvotes · 0 views · Rag