feat(Report chart):

This commit is contained in:
Alexander Myasoedov
2024-04-26 13:51:17 +03:00
parent 5855139d9c
commit 8182d5efec
5 changed files with 124 additions and 22 deletions
+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.