What happens between a question and its grounding, in the order it happens.
Passages, not documents
Everything you add to Knowledge is split into passages on its natural seams — headings and blank lines. The passage is the unit of everything downstream: it is what gets embedded, what gets retrieved, and what the model reads. The console shows you the split, exactly as stored.
Two searches, fused
- Lexical — full-text search over the passage text. Exact words, product names, error codes. If a first strict pass (all terms) finds nothing, a looser any-term pass runs — so "how do I cancel my plan before the end of the month" still finds the passage that only says "cancel".
- Semantic — embedding similarity, so "get my money back" finds the refunds passage that never says those words. This lane runs only when an embedding provider is configured; without one, lexical is the whole story.
The two rankings are fused (reciprocal rank fusion), so a passage both lanes liked beats a passage only one loved.
The question isn't the only signal
Retrieval doesn't only read what was typed. The page someone is standing on, and the newest thing that just went wrong for them, each add their own candidate passages to the fusion — at half the weight of the question itself, so they can surface something the wording alone would have missed without taking over. With reranking on, the question's own best match is pinned into the reranker's shortlist, so page- or error-driven candidates can add to it but never push it out. Without reranking, which is the default, the top four of the fused ranking are returned as they stand.
Grounded, or a gap
When retrieval returns nothing, that fact is the product working: the turn is recorded as ungrounded, the question lands in Improve as a gap, and the fix is always the same — add or repair a passage, then replay the question in the workbench to watch it hit.