[INFO][2023-04-30 22:33:02][log.py:32] - [OPEN_AI] api_base=https://api.openai.com/v1 [INFO][2023-04-30 22:33:02][log.py:32] - [OPEN_AI] query=Hello, who are you? [INFO][2023-04-30 22:33:02][log.py:32] - [OPEN_AI] reply=Hello! I am an AI powered by GPT3 that can hold [INFO][2023-04-30 22:33:02][wechat_com_channel.py:53] - [WXCOM] sendMsg=Hello! I am an AI powered by GPT3 that can hold, receiver=*** *** - - [30/Apr/2023 22:33:14] "POST /wechat?msg_signature=***×tamp=***&nonce=*** HTTP/1.1" 200 - [INFO][2023-04-30 22:33:14][log.py:32] - [OPEN_AI] api_base=https://api.openai.com/v1 [INFO][2023-04-30 22:33:14][log.py:32] - [OPEN_AI] query=你好想请问你是谁 [INFO][2023-04-30 22:33:14][log.py:32] - [OPEN_AI] reply=你好!我是一个基 [INFO][2023-04-30 22:33:14][wechat_com_channel.py:53] - [WXCOM] sendMsg=你好!我是一个基, receiver=***
我在企业微信中自建了应用并接入了 bot-on-anything,config 中配置了使用 openai/text-davinci-003,max_token 设置了 2048;我从企业微信中使用应用发送消息得到的回复都是不完整的,下面是日志:
[INFO][2023-04-30 22:33:02][log.py:32] - [OPEN_AI] api_base=https://api.openai.com/v1 [INFO][2023-04-30 22:33:02][log.py:32] - [OPEN_AI] query=Hello, who are you? [INFO][2023-04-30 22:33:02][log.py:32] - [OPEN_AI] reply=Hello! I am an AI powered by GPT3 that can hold [INFO][2023-04-30 22:33:02][wechat_com_channel.py:53] - [WXCOM] sendMsg=Hello! I am an AI powered by GPT3 that can hold, receiver=*** *** - - [30/Apr/2023 22:33:14] "POST /wechat?msg_signature=***×tamp=***&nonce=*** HTTP/1.1" 200 - [INFO][2023-04-30 22:33:14][log.py:32] - [OPEN_AI] api_base=https://api.openai.com/v1 [INFO][2023-04-30 22:33:14][log.py:32] - [OPEN_AI] query=你好想请问你是谁 [INFO][2023-04-30 22:33:14][log.py:32] - [OPEN_AI] reply=你好!我是一个基 [INFO][2023-04-30 22:33:14][wechat_com_channel.py:53] - [WXCOM] sendMsg=你好!我是一个基, receiver=***
我尝试使用了 chatgpt/gpt-3.5-turbo 模型,回复内容是正常的,日志内容如下:
*** - - [30/Apr/2023 22:39:45] "POST /wechat?msg_signature=***×tamp=***&nonce=*** HTTP/1.1" 200 - [INFO][2023-04-30 22:39:45][log.py:32] - [CHATGPT] api_base= proxy= [INFO][2023-04-30 22:39:45][log.py:32] - [CHATGPT] query=你好,请问你是谁? [INFO][2023-04-30 22:39:47][log.py:34] - [CHATGPT] reply=我是一个基于 GPT-3.5 的自然语言对话模型,可以回答你各种相关的问题。 [INFO][2023-04-30 22:39:47][wechat_com_channel.py:53] - [WXCOM] sendMsg=我是一个基于 GPT-3.5 的自然语言对话模型,可以回答你各种相关的问题。, receiver=***
有什么解决办法吗?