From 862724da74ddb87a7ac9277bf5b6bd18f8928cce Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Fri, 3 Mar 2023 00:23:44 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20config-template.py=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E5=8F=82=E6=95=B0=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config-template.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/config-template.py b/config-template.py index f0c8e27..9655e77 100644 --- a/config-template.py +++ b/config-template.py @@ -112,7 +112,20 @@ encourage_sponsor_at_start = True # 注意:较大的prompt_submit_length会导致OpenAI账户额度消耗更快 prompt_submit_length = 1024 -# OpenAI的completion API的参数 +# OpenAI补全API的参数 +# 请在下方填写模型,程序自动选择接口 +# 现已支持的模型有: +# +# 'gpt-3.5-turbo' +# 'gpt-3.5-turbo-0301' +# 'text-davinci-003' +# 'text-davinci-002' +# 'code-davinci-002' +# 'code-cushman-001' +# 'text-curie-001' +# 'text-babbage-001' +# 'text-ada-001' +# # 具体请查看OpenAI的文档: https://beta.openai.com/docs/api-reference/completions/create completion_api_params = { "model": "text-davinci-003",