chore(llmobs): update evaluation metric api endpoint to v2#7511
chore(llmobs): update evaluation metric api endpoint to v2#7511
Conversation
Overall package sizeSelf size: 4.6 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.6 | 81.92 kB | 813.08 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7511 +/- ##
=======================================
Coverage 80.22% 80.23%
=======================================
Files 731 731
Lines 31194 31194
=======================================
+ Hits 25026 25029 +3
+ Misses 6168 6165 -3 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
BenchmarksBenchmark execution time: 2026-02-12 19:15:23 Comparing candidate commit 9baaf7c in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 230 metrics, 30 unstable metrics. |
* use v2 api endpoint * update tests
* use v2 api endpoint * update tests
What does this PR do?
Updates the API endpoint used for submitting LLMObs evaluation metrics from
v1tov2. This has no SDK API impact on the user, migrating to this endpoint allows us to attach more fields to the evaluation metric in follow-up PRs that thev1endpoint does not support. The API signature forsubmitEvaluationremains the same.Motivation
Unlock ability to implement new features that are supported by the
v2API endpoint.Additional Notes
I verified this locally as well