Skip to content

docs(evaluation): Context concept#727

Merged
khushalsonawat merged 4 commits into
docs/evaluation-revampfrom
docs/eval-context
Jul 9, 2026
Merged

docs(evaluation): Context concept#727
khushalsonawat merged 4 commits into
docs/evaluation-revampfrom
docs/eval-context

Conversation

@YashMohan23

@YashMohan23 YashMohan23 commented Jul 9, 2026

Copy link
Copy Markdown

The Context concept page (/docs/evaluation/concepts/context).

  • What context is: the grounding an eval checks a response against (string or list[string])
  • The RAG/retrieval evals that read it (groundedness, context adherence and relevance, chunk attribution and utilization)
  • Knowledge base vs context (the whole set vs the retrieved subset)
  • Context in an agent (per hop, on retriever spans)
  • Providing context: a dataset column, the SDK input, or mapping the span attribute on a traced run

What context is (the grounding an eval checks against), the RAG/retrieval evals
that read it, knowledge base vs context, agent multi-hop context, and how to
provide it. Traced runs still map the span attribute to the eval input (not
auto-mapped). No About, minimal frontmatter, no em-dashes, cols=3, all links resolve.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@YashMohan23 YashMohan23 marked this pull request as ready for review July 9, 2026 10:06
Open directly at 'What context is' with no lead paragraph, shorten the description,
and link the dataset first mention. No diagram (a flow read as forced here).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Context is an input some templates declare (like output or query), not
an object in the evaluation model. Remove the page and its sidebar
entry; the grounding idea folds into Eval templates & versions later.

Signed-off-by: khushalsonawat <khushalsonawat@gmail.com>
@khushalsonawat khushalsonawat merged commit c4de96c into docs/evaluation-revamp Jul 9, 2026
@khushalsonawat khushalsonawat deleted the docs/eval-context branch July 9, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants