Why evaluate context
This section explains why you evaluate an Agent Context and when to run an evaluation.
An Agent Context changes whenever a source syncs, a curator accepts a changeset, or you edit its ontology or retrieval instructions. Any of these changes can improve one answer and degrade another. The main use of an evaluation is to catch such a regression. Run the same evaluation set before and after the change, and compare the scores. An evaluation replaces a manual spot check with a repeatable measurement over the questions that matter to your agents.
Run an evaluation at the following points:
-
Before and after each change to the Agent Context, such as a new connection, an ontology update, an accepted changeset, or new retrieval instructions. For how to compare the runs, see Compare before and after a change.
-
Before your agents depend on a new Agent Context, to confirm it answers your core questions and to set a baseline.
-
On a regular schedule, to detect drift as your sources sync, even when you change nothing yourself.