From fd559ad7a622797db9a1ae14264eb5466324b69f Mon Sep 17 00:00:00 2001 From: yujinni <86652449+yujin37@users.noreply.github.com> Date: Mon, 6 Nov 2023 00:24:02 +0900 Subject: [PATCH] =?UTF-8?q?feat:=2054=EB=B2=88=20=EC=B1=84=EC=A0=90=20?= =?UTF-8?q?=EC=8B=9C=20=EA=B8=80=EC=9E=90=20=EC=88=98=20=EC=B1=84=EC=A0=90?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Model/gpt_response.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Model/gpt_response.py b/Model/gpt_response.py index 31d9108..6b9763e 100644 --- a/Model/gpt_response.py +++ b/Model/gpt_response.py @@ -24,4 +24,5 @@ def gpt_response(question, quest_content, user_answer, answer, length): answer = response['choices'][0]['message']['content'] answer = json.loads(answer) answer['Length_Check'] = length + answer['score'] += (length['점수'] / 2 * 5) return answer