We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 098af6d + 6bf8fb4 commit 1dd8c00Copy full SHA for 1dd8c00
dingo/model/llm/llm_text_3h.py
@@ -40,7 +40,7 @@ def process_response(cls, response: str) -> ModelRes:
40
result = ModelRes()
41
42
# error_status
43
- if response_model.score == "1":
+ if response_model.score == 1:
44
result.reason = [response_model.reason]
45
result.name = cls.prompt.__name__[8:].upper()
46
else:
0 commit comments