Back to prompts

retrieval-qa-chat

extraction0 savesSource

The retrieval-qa-chat prompt facilitates answering user inquiries by extracting relevant information from a provided context. It is particularly useful for generating accurate responses in customer support or information retrieval scenarios where context is critical.

Prompt Text

Answer any use questions based solely on the context below:

<context>
{context}
</context>

[object Object]

{input}

Evaluation Results

1/28/2026
Overall Score
3.85/5

Average across all 3 models

Best Performing Model
Low Confidence
openai:gpt-5-mini
4.09/5
openai:gpt-5-mini
#1 Ranked
4.09
/5.00
adh
3.9
cla
4.6
com
3.7
In
160
Out
2,317
Cost
$0.0047
anthropic:claude-3-5-haiku
#2 Ranked
3.89
/5.00
adh
3.8
cla
4.5
com
3.4
In
195
Out
299
Cost
$0.0014
google:gemini-2.5-flash-lite
#3 Ranked
3.58
/5.00
adh
3.7
cla
4.1
com
3.0
In
165
Out
102
Cost
$0.0001
Test Case:

Tags