-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
这是哪的问题,运行成功,但是不能对话 #20
Comments
提示没有安装openai,需要安装一下:
注意要安装在启动这个项目的Python下 |
我记得装了openai,重新装了一下,个人聊天正常了,微信群里怎么使用这个ai?加bot前缀使用不了。。。还有就是报错。不知道是哪的问题,看样子是python的问题,这个是依赖没装还是版本有问题。 During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
群聊天只要被艾特就会自动回复;另外加@bot前缀也能触发,对应的配置是group_chat_prefix, 可以修改。 这个报错应该是网络通信有些不稳定,如果不影响正常运行的话可以不用管 |
用后台运行,用一会就用不了了,看了一下nohup.out提示 LOG OUT! |
see #21 |
Start auto replying.
[ERROR][2022-12-30 10:23:37][wechat_channel.py:115] - No module named 'openai'
Traceback (most recent call last):
File "/root/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 111, in _do_send
reply_text = super().build_reply_content(query, context).strip()
File "/root/chatgpt-on-wechat/channel/channel.py", line 31, in build_reply_content
return Bridge().fetch_reply_content(query, context)
File "/root/chatgpt-on-wechat/bridge/bridge.py", line 9, in fetch_reply_content
return bot_factory.create_bot("openAI").reply(query, context)
File "/root/chatgpt-on-wechat/bot/bot_factory.py", line 24, in create_bot
from bot.openai.open_ai_bot import OpenAIBot
File "/root/chatgpt-on-wechat/bot/openai/open_ai_bot.py", line 6, in
import openai
ModuleNotFoundError: No module named 'openai'
The text was updated successfully, but these errors were encountered: