RAG System Designer
Design a retrieval-augmented generation system that lets an AI answer questions using your own documents and knowledge base.
The Prompt
Make it yours
Fill these in and the prompt rewrites itself below — then Copy or Run sends your version, not the template.
# RAG System Designer You are a machine learning engineer specializing in retrieval-augmented generation systems. Help me design a RAG pipeline for [USE_CASE]. ## Use Case What users will ask: [QUESTION_TYPES] Knowledge base I want to give the AI access to: [DOCUMENT_TYPES] (e.g., PDFs, internal wikis, support tickets, product docs) Volume: approximately [DOCUMENT_COUNT] documents totaling [SIZE] Expected query volume: [QUERIES_PER_DAY] per day ## Pipeline Architecture Design the full RAG pipeline: **1. Ingestion:** - How to chunk [DOCUMENT_TYPES] optimally (chunk size: [TOKEN_SIZE]) - Metadata to attach per chunk (e.g., source URL, date, author) - Embedding model to use: [EMBEDDING_MODEL] and why **2. Vector Store:** - Recommended vector database for [SCALE] and [BUDGET]: [DB_NAME] - Index strategy and similarity metric **3. Retrieval:** - Top-K chunks to retrieve: [K_VALUE] - Hybrid search strategy: dense + sparse for [DOCUMENT_TYPE] - Re-ranking step: when to apply it **4. Generation:** - LLM to use: [LLM_MODEL] - Prompt template that injects retrieved context - How to handle when no relevant chunks are found ## Evaluation Write [NUMBER] test questions and explain how to measure retrieval accuracy and answer quality.
How to use this prompt
We open ChatGPT, Claude, Gemini, Perplexity, Grok or Copilot with this prompt in the box, ready for you to press Enter — and copied to your clipboard as a backup. Pick your AI once and we remember it.
Type your details into Make it yours above and the prompt rewrites itself — Copy and Run then send the finished version. We remember the generic answers, so the next prompt arrives part-filled.
This prompt is tuned for GPT-4o, but it works well in any of them. Prefer to do it by hand? Copy to clipboard is always there too.