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. 教育用モデルです。数値は挙動を示すためのもので、ベンチマークではありません。

コンセプト

先に取り組むと役立つ課題

関連する課題

参考資料