This commit is contained in:
SH-Src
2024-07-29 09:35:56 +00:00
parent a7b5e96373
commit 02bee7ecdf
@@ -50,7 +50,7 @@ class DMModelHypothesisGen(ModelHypothesisGen):
def convert_response(self, response: str) -> ModelHypothesis:
response_dict = json.loads(response)
hypothesis = DMModelHypothesis(hypothesis=response_dict["hypothesis"], reason=response_dict["reason"])
hypothesis = DMModelHypothesis(hypothesis=response_dict["hypothesis"], reason=response_dict["reason"], concise_reason=response_dict["concise_reason"])
return hypothesis