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

refactor!: UptrainEvaluator contexts are now passed as nested lists. #343

Merged
merged 3 commits into from
Feb 6, 2024

Conversation

shadeMe
Copy link
Contributor

@shadeMe shadeMe commented Feb 5, 2024

The evaluator will automatically flatten them. This change allows other evaluators that take nested lists for contexts (like DeepEval) share the same, basic interface.

@shadeMe shadeMe requested a review from a team as a code owner February 5, 2024 14:50
@shadeMe shadeMe requested review from julian-risch and removed request for a team February 5, 2024 14:50
The evaluator will automatically flatten them. This change allows other evaluators that take nested lists for contexts (like DeepEval) share the same, basic interface.
@shadeMe shadeMe force-pushed the refactor/uptrain-nested-contexts branch from 5c01ce5 to 53f547a Compare February 5, 2024 14:58
Copy link
Member

@julian-risch julian-risch left a comment

Choose a reason for hiding this comment

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

We need to update also the example code to use nested lists. Similar to that update @TuanaCelik and I can then update the tutorial and the integration tile deepset-ai/haystack-integrations#149 Otherwise looks good to me. 👍

Copy link
Member

@julian-risch julian-risch left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

@shadeMe shadeMe merged commit 32b6cc6 into deepset-ai:main Feb 6, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants