lewisliuX123 commited on
Commit
1967fc9
·
1 Parent(s): 0105f92

Update bot/chatgpt/chat_gpt_bot.py

Browse files
Files changed (1) hide show
  1. bot/chatgpt/chat_gpt_bot.py +1 -1
bot/chatgpt/chat_gpt_bot.py CHANGED
@@ -44,7 +44,7 @@ class ChatGPTBot(Bot):
44
  response = openai.ChatCompletion.create(
45
  model="gpt-3.5-turbo-16k-0613", # 对话模型的名称
46
  messages=query,
47
- stream=Ture,
48
  temperature=1, # 值在[0,1]之间,越大表示回复越具有不确定性
49
  max_tokens=600, # 回复最大的字符数
50
  top_p=1,
 
44
  response = openai.ChatCompletion.create(
45
  model="gpt-3.5-turbo-16k-0613", # 对话模型的名称
46
  messages=query,
47
+ stream=True,
48
  temperature=1, # 值在[0,1]之间,越大表示回复越具有不确定性
49
  max_tokens=600, # 回复最大的字符数
50
  top_p=1,