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?

Engenheiro8 minSimulador de fluxoLaboratório de depuração
ragembeddingsbm25vector-dbpython

Este desafio ainda não foi traduzido para Português (Brasil). Você está lendo a versão em inglês.

Missão: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.Contexto · Objetivos de aprendizagem ▾

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”.

Missão: 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.

Objetivos de aprendizagem

  • 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.
SimulaçãoSimulado
CustomerAssistant APIEmbedding modelVector + BM25 indexRerankerLLM
Executar simulação

Execute a simulação para ver a saída.

Simplificação

Scores are fixed synthetic numbers; hybrid score = average of vector and keyword scores; the ANN step returns 4 candidates. Modelo educacional — os números ilustram comportamento, não são benchmarks.

Conceitos

Útil antes deste

Desafios relacionados

Referências