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?

工程师8 分钟流程模拟器调试实验室
ragembeddingsbm25vector-dbpython

此挑战尚未翻译为简体中文,你正在阅读英文版本。

任务: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.背景 · 学习目标 ▾

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

任务: 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.

学习目标

  • 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.
模拟模拟数据
CustomerAssistant APIEmbedding modelVector + BM25 indexRerankerLLM
运行模拟

运行模拟以查看输出。

简化说明

Scores are fixed synthetic numbers; hybrid score = average of vector and keyword scores; the ANN step returns 4 candidates. 教学模型——数字用于说明行为,并非基准测试。

概念

建议先完成

相关挑战

参考资料