Manual de RAG en producción
Ship a RAG system that survives week three — a decision playbook for chunking, retrieval, reranking, evaluation and the seven failure modes that kill most demos.
Estrategias de chunking, configuraciones de reranking, arneses de evaluación y los siete modos de fallo que matan cualquier demo de RAG en la tercera semana.
Indicative price only — not a final sale price. Checkout is not open yet; the final price requires owner confirmation before anything can be bought.
- Árbol de decisión de chunking
- Guía de selección de reranker + script de benchmark propio
- Arnés de evaluación con Ragas
- 7 modos de fallo + soluciones
El sistema de pedidos, pagos y entrega de archivos está construido y verificado de extremo a extremo en modo de prueba. Las compras reales siguen desactivadas hasta que el responsable verifique la cuenta de pago y apruebe los precios finales. El precio mostrado es solo indicativo, no un precio de venta aprobado.
Delivery system status & test record →Para quién — y para quién no
For
- Engineers building or fixing a RAG / retrieval system in production
- Teams whose RAG 'sounds smart but is wrong' and need a diagnosis path
- Anyone who wants to build the evaluation harness before scaling, not after
Not for
- Not a framework or library — it is the decisions and the reasoning around the build
- Not a substitute for benchmarking on your own data: it tells you how and gives you a harness, but your numbers come from your data
Lo que realmente recibes
playbook.md≈ 23 KBBody: chunking decision tree (§3), retrieval and reranking (§4–5, including the 'run your own benchmarks' stance and a reproducible script), the Ragas evaluation harness and CI gate (§6), the seven failure modes (§7), the go-live checklist (§8), the cost model (§9), and three reference configurations (§10).playbook.html≈ 35 KBA4 print edition; export to PDF from the browser.
Listed straight from the shipped playbook.md + manifest.json — nothing below is a mock.
Tabla de contenido
- Who this is for
- 1. Before you build: when RAG is the wrong answer
- 2. The pipeline, and where it actually breaks
- 3. Chunking decision tree
- Defaults that survive contact with production
- Three rules that matter more than size
- Late chunking
- 4. Retrieval: go hybrid on day one
- Metadata filters beat clever retrieval
- 5. Reranking: the cheapest quality win available
- Selecting a reranker
- Where reranking sits in the latency budget
- Implementation notes
- 6. Evaluation: build the harness before you need it
- Build the set first — 30 to 50 questions
- Metrics that actually move decisions
- Ragas harness
- Wire it into CI
- 7. The seven failure modes
- #1 Parsing rot
- #2 Chunk boundary amputation
- #3 Retrieval recall cliff
- #4 Permission leakage
- #5 Stale index
- #6 Evaluating on vibes
- #7 Cost blow-up
- 8. Go-live checklist
- 9. Cost model
- 10. Three reference configurations
- Appendix A: Benchmark harness
- Appendix B: Answer prompt that holds up
- Appendix C: What to log, minimum viable
- Changelog
Una vista previa real
Who this is for
You already have a demo that works on ten clean PDFs. You now have to point it at 40,000 files, a permission model, and a stakeholder who will ask "why did it say that?" in front of other people. Every recommendation here is something you can implement in a day or less. Where a recommendation depends on your corpus, this playbook tells you how to measure it yourself instead of quoting a number — see Appendix A.
1. Before you build: when RAG is the wrong answer
The most expensive RAG mistake is building one when you needed something else. Work this table first. · Situation · Better answer than RAG · Why · · Corpus < ~200k tokens, stable, fits in context · Put it in the prompt · Retrieval infrastructure is pure overhead at this size · · Questions are lookups against structured data · Text-to-SQL over the database · A join beats a vector search every time · · Corpus changes hourly and must be current · Long-context + cache, or a…
Excerpted verbatim from the actual playbook.md — not sample/mock content.
Cómo usarlo
- Open playbook.md in any Markdown viewer, or print playbook.html to PDF (browser Ctrl/Cmd+P, enable background graphics).
- Section 6 includes a reproducible Ragas eval harness, and Appendix A has a benchmark script — run them on your own data.
- No cloud or vendor required; the three reference configurations in Section 10 are provider-neutral.
Versión y actualizaciones
Version 1.0 · released 2026-09-27 — Version 1.0, released 2026-09-27. Corrections and additions are versioned in the changelog — never a silent rewrite.
Licencia
Personal and internal team use. You may use and adapt these materials for your own deployments. You may not resell, redistribute or republish the playbook, in whole or in part, as a standalone product.
Preguntas frecuentes
Do I need a specific vector DB or model?
No. It covers the decisions that hold across providers and gives you three reference configurations to adapt.
Does it contain code?
Yes — a reproducible Ragas eval harness and a benchmark script in the appendices. The rest is the reasoning and the decision frameworks.
Is it suitable for beginners?
It assumes you have a RAG system, or are about to build one, and know what retrieval is. It is a field playbook, not an introduction.
What are the seven failure modes?
Parsing rot, chunk boundary amputation, retrieval recall cliff, permission leakage, stale index, evaluating on vibes, and cost blow-up — each with the fix that addresses it.
El toolkit de despliegue FDE 2026
Arquitecturas de referencia, una checklist de go-live de 60 puntos, modelos de coste de GPU y una lista corta de proveedores — los cuatro entregables que rehaces en cada despliegue.
30 patrones de despliegue de IA desde ofertas FDE reales
Treinta patrones de despliegue extraídos de ofertas FDE reales y activas, cada una con el enlace ATS original del empleador, una clasificación editorial y una lista explícita de lo que estos datos no pueden demostrar.
Pack de prompts empresariales — 208 plantillas por tarea
208 plantillas de prompts originales y específicas por tarea en ocho flujos de trabajo empresariales, cada una con variables, un contrato de salida explícito y una declaración honesta de lo que no se ha evaluado.