feat(Report chart):

This commit is contained in:
Alexander Myasoedov committed 2024-04-26 13:51:17 +03:00
1 parent 5855139d9c
commit 8182d5efec
5 files changed
+124 -22

No files matched your search

+1 -2
View File
@@ -31,8 +31,7 @@ REFUSAL_MARKS = [
def check_refusal(response: str, refusal_phrases: list = REFUSAL_MARKS) -> bool:
"""
Check if the response contains any phrases indicating refusal to answer.
"""Check if the response contains any phrases indicating refusal to answer.
Args:
- response (str): The response from the language model.