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

Replace dag with flex in evals #3521

Merged
merged 31 commits into from
Jul 18, 2024
Merged

Conversation

MilesHolland
Copy link
Member

Remove deprecated DAG flags from built-in evaluators in the evals pacakge, replacing them with flex flows. Functionality this amounts to directly coding the behavior specified in former flow.dag.yaml files.

This ended up editing 2 evaluators: F1 score and content safety. In the case of content safety, I used this change to refactor the code slightly into a base class and children, which mostly still exist just to have their own docstrings.

@MilesHolland MilesHolland requested a review from a team as a code owner July 9, 2024 16:00
Copy link

github-actions bot commented Jul 9, 2024

promptflow-evals test result

 12 files   12 suites   1h 53m 26s ⏱️
 20 tests  20 ✅ 0 💤 0 ❌
240 runs  240 ✅ 0 💤 0 ❌

Results for commit 06beae7.

♻️ This comment has been updated with latest results.

@MilesHolland MilesHolland requested a review from a team as a code owner July 10, 2024 17:40
ninghu
ninghu previously approved these changes Jul 10, 2024
wangchao1230
wangchao1230 previously approved these changes Jul 12, 2024
@MilesHolland MilesHolland dismissed stale reviews from wangchao1230 and ninghu via 75849ba July 12, 2024 13:33
ninghu
ninghu previously approved these changes Jul 12, 2024
nagkumar91
nagkumar91 previously approved these changes Jul 12, 2024
@MilesHolland MilesHolland dismissed stale reviews from nagkumar91 and ninghu via c9e355e July 15, 2024 13:00
wangchao1230
wangchao1230 previously approved these changes Jul 17, 2024
ninghu
ninghu previously approved these changes Jul 17, 2024
@MilesHolland MilesHolland dismissed stale reviews from ninghu and wangchao1230 via f80ca6f July 17, 2024 20:31
@nagkumar91 nagkumar91 merged commit 7362dc1 into main Jul 18, 2024
76 checks passed
@nagkumar91 nagkumar91 deleted the replace-dag-with-flex-in-evals branch July 18, 2024 15:30
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.

6 participants