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.

Useful prompt but the real issue is bigger? That usually means the workflow or team mechanism needs attention, not just the wording.

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