lewisliuX123 commited on
Commit
599a40c
·
1 Parent(s): c5bdceb

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
@@ -52,7 +52,7 @@ class ChatGPTBot(Bot):
52
  presence_penalty=0, # [-2,2]之间,该值越大则更倾向于产生不同的内容
53
  )
54
  # res_content = response.choices[0]['text'].strip().replace('<|endoftext|>', '')
55
- logger.info(response.choices[0]['message']['content'])
56
  # log.info("[OPEN_AI] reply={}".format(res_content))
57
  return response.choices[0]['message']['content']
58
  except openai.error.RateLimitError as e:
 
52
  presence_penalty=0, # [-2,2]之间,该值越大则更倾向于产生不同的内容
53
  )
54
  # res_content = response.choices[0]['text'].strip().replace('<|endoftext|>', '')
55
+ # logger.info(response.choices[0]['message']['content'])
56
  # log.info("[OPEN_AI] reply={}".format(res_content))
57
  return response.choices[0]['message']['content']
58
  except openai.error.RateLimitError as e: