feat(llmobs/experiment): add summary evaluators#4040
Conversation
BenchmarksBenchmark execution time: 2025-10-09 10:20:32 Comparing candidate commit bbca096 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 24 metrics, 0 unstable metrics. |
| // WithSummaryEvaluators sets the summary evaluators for the experiment. | ||
| // Summary evaluators run after all tasks and evaluators have completed, | ||
| // receiving all experiment results to compute aggregate metrics. | ||
| func WithSummaryEvaluators(summaryEvaluators ...SummaryEvaluator) Option { |
There was a problem hiding this comment.
Should this be configurable via env var as well?
There was a problem hiding this comment.
I don't think this could be configured as an env var, since this option is used to provided summary evaluators for the experiment, which is basically user code that gets access to the experiment results in order to compute metrics.
|
/merge |
|
View all feedbacks in Devflow UI.
This merge request is not mergeable yet, because of pending checks/missing approvals. It will be added to the queue as soon as checks pass and/or get approvals.
[email protected] unqueued this merge request |
|
/merge -c |
|
View all feedbacks in Devflow UI.
|
Co-authored-by: Dario Castañé <[email protected]>
What does this PR do?
Adds
WithSummaryEvaluatorsto the llmobs/experiment package to provide summary evaluators to the experiment.Motivation
Feature parity with dd-trace-py
Reviewer's Checklist
./scripts/lint.shlocally.Unsure? Have a question? Request a review!