Sub-Query Generator

v1
Model: GPT-4 Level: Advanced πŸ‘ 0 πŸ“‹ 0
decompositionquery generationRAG
Prompt 13 words

Break down the query [complex query] into smaller sub-queries targeting different data sources.

Try in ChatGPT Try in Claude

Why It Works

Improves retrieval accuracy by targeting specific aspects of a broad question.

Example Output

Main query: 'History of electric cars' β†’ Sub-queries: 'Invention of electric motors', 'First commercial EV', 'Tesla's market impact'.

Suggest an Improvement

Log in to suggest improvements.

Related Prompts