Skip to content
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

feat: Add LLMRelationalEvaluator to phoenix experiments #5170

Merged
merged 3 commits into from
Oct 23, 2024

Conversation

anticorrelator
Copy link
Contributor

@anticorrelator anticorrelator commented Oct 23, 2024

resolves #4289

Adds a convenient scaffold for custom experiment evaluators that need to compare the task input to task output.

cc @AparnaDhinakaran

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Oct 23, 2024
@@ -241,7 +241,7 @@ class RelevanceEvaluator(LLMEvaluator):
"Follow this template for the following example:\n\n"
"CRITERIA: the response is 'relevant' to the query\n"
"QUERY: {reference}\n"
"RESPONSE: {submission}\n"
"RESPONSE: {response}\n"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would this be a breaking change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it was broken before 🫥

@anticorrelator anticorrelator merged commit 19021e4 into main Oct 23, 2024
34 checks passed
@anticorrelator anticorrelator deleted the dustin/add-llm-template-evaluator branch October 23, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L This PR changes 100-499 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT] Improvements to workflow when Adding Custom LLM Evaluators
2 participants