Skip to main content
Online evaluations provide real-time feedback on your production traces. This is useful to continuously monitor the performance of your application: to identify issues, measure improvements, and ensure consistent quality over time. Composite evaluators are a way to combine multiple evaluator scores into a single score. This is useful when you want to evaluate multiple aspects of your application and combine the results into a single result.
Online evaluators extend trace retention by default. You can opt out for an individual evaluator when the agent environment uses base retention. Other actions can still extend those traces. If extended retention is disabled for the workspace, evaluations continue without new retention upgrades, regardless of saved environment defaults.

View online evaluators

Select your agent, go to Tracing, and select the environment. To view existing online evaluators for that environment, click the Online Evaluators tab.

Configure composite online evaluators

You can create composite evaluators on an agent environment for online evaluations. With composite evaluators in the UI, you can compute a weighted average or weighted sum of multiple evaluator scores, with configurable weights.

1. Navigate to the agent environment

To start configuring a composite evaluator, select your agent, go to Tracing, and select the environment. From the agent environment view, navigate to the Online Evaluators tab. Click + Evaluator to open the Add Evaluator panel. Click Composite Score under Create from scratch.

2. Configure the composite evaluator

  1. Name your evaluator.
  2. Select an aggregation method, either Average or Sum.
    • Average: ∑(weight*score) / ∑(weight).
    • Sum: ∑(weight*score).
  3. Add the feedback keys you want to include in the composite score.
  4. Add the weights for the feedback keys. By default, the weights are equal for each feedback key. Adjust the weights to increase or decrease the importance of specific feedback keys in the final score.
  5. Click Create to save the evaluator.
If you need to adjust the weights for the composite scores, they can be updated after the evaluator is created. The resulting scores will be updated for all runs that have the evaluator configured.

3. View composite evaluator results

Composite scores are attached to a run as feedback, similarly to feedback from a single evaluator. On an agent environment:
  • Composite scores appear as feedback on runs.
  • Filter for runs with a composite score, or where the composite score meets a certain threshold.
  • Create a chart to visualize trends in the composite score over time.
If any of the constituent evaluators are not configured on the run, the composite score will not be calculated for that run.