LIBRISTO
LIBROAMANTO
verplicht
Word lid van een gemeenschap van boekenliefhebbers van over de hele wereld en krijg een heleboel voordelen. Gratis account aanmaken
0
Gratis bezorging met Zásilkovna boven 59.99 €
DPD koerier 5.49 € DHL koeriersdienst 5.49 € GLS koerier 4.99 € DPD-punt 3.99 €

Gratis verzending vanaf 59,99 euro.

Debugging RAG

Fixing Retrieval Failures, Hallucinations, and Chunking Bugs in Production

Taal EngelsEngels
Boek Paperback
Boek Debugging RAG Vivek K
Libristo-code: 54075726
Uitgeverij Independently published, oktober 2026
Stop Guessing Why Your RAG Pipeline Failed. Debug It with Mathematical Rigor.You have a Retrieval-Au... Volledige beschrijving
? points 70 b Nieuw Nieuw
28.83 €
In extern magazijn Wordt binnen 10-16 dagen verzonden

Tot 30 dagen retourrecht

Stop Guessing Why Your RAG Pipeline Failed. Debug It with Mathematical Rigor.

You have a Retrieval-Augmented Generation (RAG) system running in production. Most of the time it works. Then an enterprise customer, compliance auditor, or VP reads an answer and asks: "Why did the assistant say that?"

You check your logs and find an HTTP 200 and a latency metric. You cannot see the raw query sent to the vector store, the candidate chunks, the serialized filters, or the exact prompt assembled. You test the query in staging and get a completely different answer. By 5:00 PM, five engineers are standing around a whiteboard guessing.

Debugging RAG is the diagnostic field manual that kills the guesswork.

Over 80% of ungrounded answers are not model hallucinations - they are upstream software defects: borderless tables mangled during extraction, condition clauses severed by naive chunkers, vector spaces distorted by unnormalized embeddings, and fusion windows that drop gold hits before the reranker ever executes.

What You Will Master Inside:
  • The Trace Is the Bug Report: Build OpenTelemetry span trees capturing HMAC-SHA256 chunk hashes, raw candidate scores, serialized vector filters, and exact rendered prompt bytes without leaking PII.
  • The Oracle Ladder (6-Rung Bisection): Run a systematic 15-minute substitution algorithm (Oracle Context, Oracle Chunk, Oracle Query, Oracle Ranking, Oracle Prompt) to isolate any production failure to a single component.
  • Forensic Ingestion: Stop silent parser data loss across multi-column PDF layouts, scanned amendments, and encoding corruptions (mojibake, ligatures, soft hyphens) using table linearization and confidence gates.
  • The Nine Chunking Specimens: Detect and eliminate headless table rows, swallowed headings, orphaned pronouns, amputated lists, code fence bisections, and overlap ghosts with an automated linter (chunk_lint.py).
  • The Vector Contract: Audit unit norms, detect silent embedding model swaps behind stable aliases, diagnose domain-distribution collapse, and prevent distance metric mismatches.
  • Hybrid Search & Reranking: Combine lexical BM25 and dense retrieval using Reciprocal Rank Fusion (RRF), optimize fusion windows, and prevent reranker starvation.
  • Context Assembly & Prompt Rot: Eliminate "lost-in-the-middle" attention degradation, manage token budgets, and resolve contradictory documents with deterministic revision headers.
  • Metrics That Tell the Truth: Replace deceptive aggregate numbers with query-stratified test sets and baseline controls (the Parametric Floor, shuffled-context ablations, and random-index baselines).
The Pinned Production Reference Stack:

Every procedure, SQL query, and configuration resolves against battle-tested tools: PostgreSQL 17 + pgvector, Qdrant, Elasticsearch 9.x, OpenSearch, LangChain, LlamaIndex, text-embedding-3-large, BGE-M3, Voyage-4, Cohere Rerank, OpenTelemetry, Arize Phoenix, Langfuse, Ragas, and DeepEval.

Who This Field Manual Is For:

Written for AI engineers, ML platform engineers, software architects, and SREs who own the on-call pager and must explain why an assistant gave a wrong answer before the customer calls back.

Stop prompt tuning in the dark. Climb the ladder, eliminate the whiteboard arguments, and fix your pipeline.

Actrice & Polyglot
EWA KASP voor
Video afspelen
Ewa Kasp
Libristo heeft de grootste selectie boeken in vreemde talen. Daarom koop ik mijn boeken hier.

Informatie over het boek

Volledige naam Debugging RAG
Auteur Vivek K
Taal Engels
Bindwijze Boek - Paperback
Datum van uitgifte 2026
Aantal pagina's 546
EAN 9798178932322
Libristo-code 54075726
Gewicht 723
Afmetingen 152 x 229 x 28
Geef dit boek vandaag nog cadeau
Dat gaat heel eenvoudig
1 Voeg het boek toe aan je winkelwagentje en selecteer Als cadeau bezorgen 2 Je krijgt van ons per omgaand een voucher 3 Het boek wordt bezorgd op het adres van de ontvanger

Inloggen

Log in op je account. Heb je nog geen Libristo-account? Maak nu een account aan!

 
verplicht
verplicht

Heb je geen account? Profiteer van de voordelen van een Libristo-account!

Met een Libristo-account heb je alles onder controle.

Een Libristo-account aanmaken
Boekadviseur Libroamiko
Hoi, ik ben Libroamiko, kan ik helpen?