From 087d097204a5a184fcf0fd7f7df5964dccb16ccb Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Thu, 16 Mar 2023 13:37:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=8D=E5=86=8D=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E6=8F=90=E4=BE=9Bmax=5Ftokens?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config-template.py | 1 - 1 file changed, 1 deletion(-) diff --git a/config-template.py b/config-template.py index f3f81fd9..86574068 100644 --- a/config-template.py +++ b/config-template.py @@ -159,7 +159,6 @@ prompt_submit_length = 1024 completion_api_params = { "model": "gpt-3.5-turbo", "temperature": 0.9, # 数值越低得到的回答越理性,取值范围[0, 1] - "max_tokens": 1024, # 每次获取OpenAI接口响应的文字量上限, 不高于4096 "top_p": 1, # 生成的文本的文本与要求的符合度, 取值范围[0, 1] "frequency_penalty": 0.2, "presence_penalty": 1.0,