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

Raise usererror on prediction failure. #2248

Merged
merged 3 commits into from
Aug 28, 2023

Conversation

kicha0
Copy link
Contributor

@kicha0 kicha0 commented Aug 14, 2023

Use full test dataset for validation in rai text insight.

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

1 similar comment
@kicha0 kicha0 force-pushed the kicha/main/raise_user_error_on_prediction_failure branch 3 times, most recently from 31a1514 to 483593c Compare August 24, 2023 17:20
@kicha0 kicha0 marked this pull request as ready for review August 24, 2023 17:21
1 similar comment
@kicha0 kicha0 force-pushed the kicha/main/raise_user_error_on_prediction_failure branch from 483593c to b7828d8 Compare August 24, 2023 17:55
1 similar comment
Copy link
Contributor

@imatiach-msft imatiach-msft left a comment

Choose a reason for hiding this comment

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

It looks like tests are failing with errors and this will make things much slower - any way to avoid this? We only have one component for text so I wonder if we can just catch this where the error occurs in other predict calls instead of here in this validation code?

@kicha0 kicha0 force-pushed the kicha/main/raise_user_error_on_prediction_failure branch 2 times, most recently from 4fa46a4 to 08073ab Compare August 25, 2023 18:48
@kicha0 kicha0 force-pushed the kicha/main/raise_user_error_on_prediction_failure branch from 08073ab to dfe80d6 Compare August 25, 2023 18:54
2 similar comments
1 similar comment
@kicha0 kicha0 merged commit f22769f into main Aug 28, 2023
106 checks passed
@kicha0 kicha0 deleted the kicha/main/raise_user_error_on_prediction_failure branch August 28, 2023 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants