The Real Fullstack

The Wrong Document

The knowledge base has an article titled exactly “ZX-200 error E-4011”. Why does retrieval keep missing it?

Ingénieur8 minSimulateur de fluxLaboratoire de débogage
ragembeddingsbm25vector-dbpython

Ce défi n'est pas encore traduit en Français. Vous lisez la version anglaise.

Mission:Retrieve the model-specific evidence for both parts of the answer, avoid the older model's manual, and stay within a 1,300-token context.Contexte · Objectifs d'apprentissage ▾

Tallow Cloud's hardware-support assistant uses dense (embedding) retrieval. Questions containing product codes and error numbers get confident but wrong answers: embeddings capture “router reset” but blur “ZX-200” into “ZX-100” and ignore “E-4011”.

Mission: Retrieve the model-specific evidence for both parts of the answer, avoid the older model's manual, and stay within a 1,300-token context.

Objectifs d'apprentissage

  • Explain where dense retrieval fails: exact identifiers, codes and rare terms.
  • Combine lexical (BM25) and vector search.
  • Use reranking and small top-k to keep context precise.
SimulationSimulé
CustomerAssistant APIEmbedding modelVector + BM25 indexRerankerLLM
Lancer la simulation

Lancez la simulation pour voir la sortie.

Simplification

Scores are fixed synthetic numbers; hybrid score = average of vector and keyword scores; the ANN step returns 4 candidates. Modèle pédagogique — les chiffres illustrent un comportement, ce ne sont pas des benchmarks.

Concepts

Utile avant celui-ci

Défis liés

Références