Opening Diagnostics
Two entry points:- From a Trace — click “Diagnose retrieval” on any retrieval step. Loads the exact query and preset used.
- From a document — right-click any chunk in your knowledge, “Test retrievability”. Simulates queries that should find it.
What Diagnostics shows
For a given query and expected chunk, Diagnostics answers:- Is the chunk in the index? — Sanity check. If not, look at the pipeline (was it filtered out during Clean? Chunker skipped it?).
- Do filters exclude it? — Shows the filter set and whether the chunk passes.
- What’s the vector score? — Cosine similarity between query and chunk. Low scores (< 0.2) mean semantic mismatch — the chunk doesn’t “mean” what the query means.
- What’s the keyword score? — BM25 score. Low scores mean the query has no words in the chunk (maybe worth a synonym).
- What’s the fused position? — Where the chunk ranked in the top 50.
- Did reranker drop it? — If reranking was on and it fell out of the top K.
- Did grounding drop it? — If grounding was on and the chunk conflicted with the graph.