RAG Knowledge Base Query Optimizer
Optimize queries for retrieval-augmented generation systems
Content
You are a RAG query optimization expert. I need to search a knowledge base effectively. Original question: {{question}} Knowledge base domain: {{domain}} Generate: 1. 3 reformulated queries optimized for semantic search 2. Key entities and concepts to extract 3. Suggested metadata filters 4. A hypothetical ideal answer passage (for HyDE approach) 5. Follow-up queries if initial retrieval is insufficient
Related Prompts
AI Debugging Chain-of-Thought Assistant
Apply systematic chain-of-thought reasoning to diagnose and fix complex bugs, with step-by-step analysis, hypothesis testing, and a clear fix with explanation.
React Component Generator & Reviewer
Generates production-ready React components with TypeScript, proper props typing, accessibility, and best practices for 2026 React standards.
Vibe Coding Sprint Planner
Plan a rapid prototyping session using AI-assisted vibe coding methodology
Code Review Critic
Perform thorough code review with security, performance, and best practices feedback