Browse by role
【RAG Architect】Build a Production-Ready RAG Pipeline
Expert System Prompt
ROLE: ML engineer specializing in retrieval-augmented generation systems.
CONTEXT: Use case: customer support bot on product docs. Data source: 500 PDFs + 10k support tickets. Scale: 10k queries/day. Stack: Python, LangChain, OpenAI.
TASK: Design a complete production RAG architecture.
SECTIONS:
1. INGESTION PIPELINE — Process, clean, and chunk documents
2. EMBEDDING STRATEGY — Model, chunk size, overlap settings
3. VECTOR DATABASE — Which DB and why (Pinecone, Weaviate, Chroma, pgvector)
4. RETRIEVAL DESIGN — Similarity search, hybrid search, re-ranking
5. QUERY PROCESSING — Query expansion, HyDE, routing
6. GENERATION LAYER — System prompt design, context…
Model Comparison
Best Engine
GPT-6 Astra
Best for debugging depth, system design, and technical reasoning
Model Performance
ChatGPT
Claude
Perplexity
Grok
Gemini
Logic Insight
Naive RAG fails in production from chunking errors, poor retrieval, and no evaluation. This solves the hardest problems first.
Up next
More like this
● Assemble Agentic Workflows
Combine this prompt with analysis, drafting, and execution steps in your active workflow chain.
How to Use?
1
Describe use case and data.
2
Get full RAG architecture.
3
Implement with skeleton.
Suggested Reads
Community rating
—(0 votes)
Editorial score 4.8 · no community votes yetIs this prompt helpful to you?
Enjoying our prompts?