-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[issue-979] [SDK] Support Additional Evals and Fix LLMJ Eval Speed #3440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vincentkoc
commented
Nov 3, 2025
Member
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checks for myself (resolved)
sdks/python/src/opik/evaluation/metrics/conversation/helpers.py
Outdated
Show resolved
Hide resolved
…o feat/new-evals * 'feat/new-evals' of https://github.com/comet-ml/opik: (48 commits) [NA] [SDK] Opik Optimizer Cursor Rules and AGENT.md (#3895) [NA] [SDK] Opik Optimizer Fix GEPA e2e Tests and test all Python Versions (#3899) Fix broken links (#3923) [OPIK-2816] [P SDK] alexkuzmik / update sdk prompt docs (#3918) Update base version to 1.8.99 Update TypeScript SDK version to 1.8.98 [OPIK-2870] [P SDK] Implement an utility function to workaround the langgraph execution context disconnection when running in asyncio context (#3914) [NA] - Updating dev-runner.ps1 script to support --quick-restart (#3915) [NA] [BE] Upgrade MySQL container from Testcontainers (#3909) [OPIK-2786] [P SDK] Implement recording context manager that will allow to get Trace- and Span- models for the submitted data (#3880) [OPIK-2909][FE] Playground fe improvements (#3890) [NA] [DOCS] Add Google ADK section to agent graph logging documentation (#3911) [NA] [Docs] Align playground supported providers with AI providers configuration (#3908) [NA] [Docs] Add Amazon Bedrock as AI Provider configuration guide (#3903) Bump com.mysql:mysql-connector-j in /apps/opik-backend (#3906) Bump software.amazon.awssdk:bom in /apps/opik-backend (#3905) test names and tags for suites (#3888) Bump com.jayway.jsonpath:json-path in /apps/opik-backend (#3907) [NA] Fix help text alignment for --quick-restart mode in dev-runner.sh (#3810) [OPIK-2863] [HELM] Add initContainer wait-for-mysql for opik-backend (#3902) ...
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 106 out of 116 changed files in this pull request and generated 4 comments.
sdks/python/src/opik/evaluation/metrics/conversation/heuristics/degeneration/metric.py
Show resolved
Hide resolved
Member
Author
alexkuzmik
approved these changes
Nov 4, 2025
awkoy
pushed a commit
that referenced
this pull request
Nov 12, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


Details
Improvements to our metrics/evals on Python SDK:
GEvalConversationMetricGPT-5giving errors withlog_probsandtemperatureso using LiteLLM model supports to validate and drop with warnings.gpt-5-nanofor both speed and improvement in judge quality.python sdks/python/examples/multi_turn_conversation_evaluation.py --metrics all --single-metrics all --heuristic-metrics allMetrics Added
Conversational (Multi-Turn Evals)
Heuristics (Non-LLM Based Scores)
LLM Judges (LLM Based Scores)
Change checklist
Issues
Testing
Done. Using above generated conversations and validated the scores:
Documentation
Done
Note
Adds many new eval metrics (heuristics, LLM judges, conversation-level), GEval presets/conversation adapters, switches default judge model to gpt-5-nano, and hardens LiteLLM handling; comprehensive docs added.
BERTScore,GLEU,ChrF,METEOR, distribution metrics (JSDivergence,JSDistance,KLDivergence),SpearmanRanking,ReadabilityGuard,ToneGuard,PromptInjectionGuard,LanguageAdherence,VADERSentiment.RougeCMetric,BleuCMetric,MeteorCMetric,ConversationDegenerationMetric,KnowledgeRetentionMetric.ComplianceRiskJudge,PromptPerplexityJudge,PromptUncertaintyJudge, agent judges (AgentTaskCompletionJudge,AgentToolCorrectnessJudge), bias judges, QA suite (DialogueHelpfulnessJudge,QARelevanceJudge,SummarizationConsistencyJudge,SummarizationCoherenceJudge),RevisEvalJudge,LLMJuriesJudge,TrajectoryAccuracy.GEvalPreset(prebuilt rubrics) and conversation adapters (Conversation*metrics).BaseMetricgains inputpreprocessorhook.gpt-5-nano; model factory caches instances.temperature,logprobson GPT‑5), warn, retries/backoff, robust content parsing.rougeW).gpt-5-nano; new GEval conversation metrics doc.Written by Cursor Bugbot for commit 9a0d822. This will update automatically on new commits. Configure here.