feat: add LabelModelGrader support for OpenAI Evals backend#137
Merged
krisztianfekete merged 3 commits intoMay 15, 2026
Merged
Conversation
3873cfd to
88b707f
Compare
Contributor
Author
|
@krisztianfekete ready for review when you have time. |
Contributor
krisztianfekete
left a comment
There was a problem hiding this comment.
Thanks, it's mostly good, added a couple of comments!
Adds label_model grader type, validates passing_labels against labels, moves OpenAI grader example to a separate file.
88b707f to
9efd28b
Compare
Contributor
Author
|
@krisztianfekete ready for review. |
Contributor
|
Please fix the linter, and please make sure not to force-push during reviews to make the process easier. |
06c6e86 to
50fa8cf
Compare
Contributor
Author
|
Will not do this again during review.. |
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
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.
Closes #97
Adds label_model as a second grader type next to text_similarity.
label_model scores responses without a golden set. The grader config holds the model, input template, labels, and passing_labels. Items sent to the API include only actual_response.
Tests are in tests/test_openai_eval_backend.py.