-
Ndarray dtype fix, improve error wording (#1924)
发布于
2025-03-04 00:43:26 +00:00 - I have noticed that if
response.statementsis an empty list, then
the output ofverify_claimsfunction isarray([], dtype=float64),
which raises a type error when~operation is applied to
reference_responsevariable. This occurs in a rare case when
hypothesis_list is empty (when there are no claims in the response). - A small change is the choice of words in
LLMDidNotFinishException
Co-authored-by: Mikhail Zybin mikhail_zybin@epam.com
下载附件
- I have noticed that if