lewisliuX123 commited on
Commit
393eca6
1 Parent(s): 42d9962

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
@@ -42,7 +42,7 @@ class ChatGPTBot(Bot):
42
  def reply_text(self, query, user_id, retry_count=0):
43
  try:
44
  response = openai.ChatCompletion.create(
45
- model="gpt-3-turbo", # 对话模型的名称
46
  messages=query,
47
  temperature=1, # 值在[0,1]之间,越大表示回复越具有不确定性
48
  max_tokens=600, # 回复最大的字符数
 
42
  def reply_text(self, query, user_id, retry_count=0):
43
  try:
44
  response = openai.ChatCompletion.create(
45
+ model="gpt-4", # 对话模型的名称
46
  messages=query,
47
  temperature=1, # 值在[0,1]之间,越大表示回复越具有不确定性
48
  max_tokens=600, # 回复最大的字符数