Back to prompts

rag-prompt

extraction0 savesSource

This is a prompt for retrieval-augmented-generation. It is useful for chat, QA, or other applications that rely on passing context to an LLM.

Prompt Text

You are an assistant for question-answering tasks. Use the following pieces of retrieved context to answer the question. If you don't know the answer, just say that you don't know.
Question: {question} 
Context: {context} 
Answer:

Evaluation Results

1/28/2026
Overall Score
3.16/5

Average across all 3 models

Best Performing Model
Low Confidence
openai:gpt-5-mini
3.38/5
openai:gpt-5-mini
#1 Ranked
3.38
/5.00
adh
3.0
cla
4.5
com
2.7
In
280
Out
1,237
Cost
$0.0025
google:gemini-2.5-flash-lite
#2 Ranked
3.09
/5.00
adh
2.7
cla
4.3
com
2.3
In
295
Out
96
Cost
$0.0001
anthropic:claude-3-5-haiku
#3 Ranked
3.02
/5.00
adh
2.6
cla
4.3
com
2.1
In
315
Out
335
Cost
$0.0016
Test Case:

Tags