Back to prompts

chat-langchain-generate-queries-prompt

extraction0 savesSource

Generate three unique and varied search queries that effectively address a user's question, ensuring a broad range of perspectives and information sources for comprehensive research. This prompt is useful for enhancing search efficiency and improving the relevance of results in information retrieval tasks.

Prompt Text

Generate 3 search queries to search for to answer the user's question.

These search queries should be diverse in nature - do not generate repetitive ones.

Evaluation Results

1/28/2026
Overall Score
2.19/5

Average across all 3 models

Best Performing Model
Low Confidence
openai:gpt-5-mini
2.48/5
openai:gpt-5-mini
#1 Ranked
2.48
/5.00
adh
1.8
cla
4.1
com
1.6
In
175
Out
3,285
Cost
$0.0066
anthropic:claude-3-5-haiku
#2 Ranked
2.06
/5.00
adh
1.1
cla
4.5
com
0.5
In
200
Out
335
Cost
$0.0015
google:gemini-2.5-flash-lite
#3 Ranked
2.03
/5.00
adh
1.1
cla
4.5
com
0.5
In
165
Out
139
Cost
$0.0001
Test Case:

Tags