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

Ndarray dtype fix, improve error wording #1924

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zybinmikhail
Copy link

  1. I have noticed that if response.statements is an empty list, then the output of verify_claims function is array([], dtype=float64), which raises a type error when ~ operation is applied to reference_response variable. This occurs in a rare case when hypothesis_list is empty (when there are no claims in the response).
  2. A small change is the choice of words in LLMDidNotFinishException

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant