Context Relevance and Context Coverage
In this article
- Mark each passage in a request as relevant or not, and score the share that is.
- List the facts a correct answer needs and score the share the request holds.
- Use the two scores to say whether a wrong answer needs a search fix or a reply fix.
- Handle a question that has no answer in the documents without scoring its coverage.
- Terms defined here: context relevance, context coverage.
Overview
The assistant gets a question wrong, and you open the saved request. The three passages it was given all look on topic. Is the search to blame, or the step that wrote the reply? Looking on topic and holding the facts the answer needs are two different things, and a request can pass the first and fail the second.
In an invented example, Brightline, a home-internet provider, runs a support assistant. For each question, a search picks the 3 best-matching text snippets (chunks) from its help pages and router manuals and pastes them into the prompt sent to the model; that prompt is the request. The team checks the assistant against a saved set of 60 questions.
By the end you can score which passages are on point and which needed facts the request holds, and turn those two scores into a decision about which stage to fix.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- Two questions about one context
- The fact list
- The refund question
- The question with no answer
- Who does the judging
- Reading the two scores
- Common mistakes
- In production
- Sources
- Check yourself, 13 questions