Back to prompts

rag-prompt-mistral

extraction0 savesSource

Prompt for retrieval-augmented-generation (e.g., for chat, QA) with Mistral 7B Instruct

Prompt Text

<s> [INST] 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. Use three sentences maximum and keep the answer concise. [/INST] </s> 
[INST] Question: {question} 
Context: {context} 
Answer: [/INST]

Evaluation Results

1/28/2026
Overall Score
3.35/5

Average across all 3 models

Best Performing Model
Low Confidence
openai:gpt-5-mini
3.82/5
openai:gpt-5-mini
#1 Ranked
3.82
/5.00
adh
3.8
cla
4.4
com
3.3
In
420
Out
1,095
Cost
$0.0023
google:gemini-2.5-flash-lite
#2 Ranked
3.22
/5.00
adh
3.0
cla
4.3
com
2.3
In
425
Out
66
Cost
$0.0001
anthropic:claude-3-5-haiku
#3 Ranked
3.00
/5.00
adh
2.6
cla
4.3
com
2.1
In
495
Out
344
Cost
$0.0018
Test Case:

Tags