Skip to content

Commit 061ffcc

Browse files
sakunkune06084
authored andcommitted
Fix Issue #165: Status of PromptTextHelpful always be bad
1 parent 85ee6f5 commit 061ffcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dingo/model/llm/llm_text_3h.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def process_response(cls, response: str) -> ModelRes:
4040
result = ModelRes()
4141

4242
# error_status
43-
if response_model.score == "1":
43+
if response_model.score == 1:
4444
result.reason = [response_model.reason]
4545
result.name = cls.prompt.__name__[8:].upper()
4646
else:

0 commit comments

Comments
 (0)