chatgpt-on-wechat icon indicating copy to clipboard operation
chatgpt-on-wechat copied to clipboard

基于大模型搭建的聊天机器人,同时支持 微信公众号、企业微信应用、飞书、钉钉 等接入,可选择GPT3.5/GPT-4o/GPT4.0/ Claude/文心一言/讯飞星火/通义千问/ Gemini/GLM-4/Claude/Kimi/LinkAI,能处理文本、语音和图片...

Results 629 chatgpt-on-wechat issues
Sort by recently updated
recently updated
newest added

r日志如下 [INFO][2023-02-06 11:19:11][open_ai_bot.py:20] - [OPEN_AI] query=麻烦画一个美丽的少女 [INFO][2023-02-06 11:19:24][open_ai_bot.py:54] - [OPEN_AI] reply=这是一个美丽的少女,她身穿粉色连衣裙,穿在身上显得格外洋气。她靓丽的发型披散在肩膀上,双手捧着雪白的花朵,显得格外清新可爱。她秀美的脸庞宛如仙子,白皙的皮肤发出晶莹的光芒,温柔的眼神透出淡淡的温柔,令人心神难忘。 [INFO][2023-02-06 11:19:24][wechat_channel.py:103] - [WX] sendMsg=[bot] 这是一个美丽的少女,她身穿粉色连衣裙,穿在身上显得格外洋气。她靓丽的发型披散在肩膀上,双手捧着雪白的花朵 ,显得格外清新可爱。她秀美的脸庞宛如仙子,白皙的皮肤发出晶莹的光芒,温柔的眼神透出淡淡的温柔,令人心神难忘。, receiver=@8f6eb09cf8a9a7d9c80a32ad5952c6f1 [INFO][2023-02-06 11:20:02][open_ai_bot.py:59] - [OPEN_AI] image_query=一个美丽的少女 [INFO][2023-02-06 11:20:32][open_ai_bot.py:66] - [OPEN_AI] image_url=https://oaidalleapiprodscus.blob.core.windows.net/private/org-acHM3NsBHWRkW4SAjgYUZzMm/user-Ll86hYYaFr2JC3Uw0ynnUMj1/img-YszG2tGNN0TQC2YuXZ2KEvF9.png?st=2023-02-06T02%3A20%3A32Z&se=2023-02-06T04%3A20%3A32Z&sp=r&sv=2021-08-06&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2023-02-05T18%3A50%3A33Z&ske=2023-02-06T18%3A50%3A33Z&sks=b&skv=2021-08-06&sig=SCx%2BZIDVVyWHAJfo%2BU/ofKdk54Ujh024Df0Ps2Y2OPE%3D [INFO][2023-02-06...

一个账号只有18美元的额度,很容易被用完

[INFO][2023-02-06 15:49:21][open_ai_bot.py:20] - [OPEN_AI] query=@在吗 [ERROR][2023-02-06 15:49:21][wechat_channel.py:116] - can only concatenate str (not "NoneType") to str Traceback (most recent call last): File "/root/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 112, in _do_send reply_text = super().build_reply_content(query,...

[INFO][2023-02-06 12:32:52][open_ai_bot.py:60] - [OPEN_AI] image_query=一只老虎 [ERROR][2023-02-06 12:32:52][open_ai_bot.py:69] - module 'openai' has no attribute 'Image' Traceback (most recent call last): File "/chatgpt/chatgpt-on-wechat/bot/openai/open_ai_bot.py", line 61, in create_img response = openai.Image.create( AttributeError: module...

修改为使用https://github.com/acheong08/ChatGPT/blob/main/src/revChatGPT/Official.py的chatgpt

目前 GPT3模型中已经实现了会话上下文,只需要拉取最新代码即可生效。 同时新增了两个可选配置: - `conversation_max_tokens`:表示能够记忆的上下文最大字数(一问一答为一组对话,如果累积的对话字数超出限制,就会优先移除最早的一组对话)。 该配置默认为1000,不建议超过 2000,否则对话可能超长。 - `character_desc`:配置中保存着你对机器人说的一段话,他会记住这段话并作为他的人格设定,你可以为他塑造任何形象 config.json 中的示例如下: ``` { "conversation_max_tokens": 1000, "character_desc": "你叫李华,是一个25岁的程序员,你性格活泼开朗,爱好登山" } ```

群里,很多人@机器人时候,因为机器人一一回复, 且较慢 导致回答的内容和回复的问题,都不在一起, 很乱, 建议在bot回答内容头或尾部增加回复的问题, 并且@提问人

INFO][2023-02-07 10:15:12][open_ai_bot.py:20] - [OPEN_AI] query=有多少种颜色 [ERROR][2023-02-07 10:15:28][open_ai_bot.py:64] - You requested a model that is not compatible with this engine. Please contact us through our help center at help.openai.com for further...

[INFO][2023-02-07 23:09:22][open_ai_bot.py:71] - [OPEN_AI] image_query=一幅图,猫在树上 [INFO][2023-02-07 23:09:31][open_ai_bot.py:78] - [OPEN_AI] image_url=https://oaidalleapiprodscus.blob.core.windows.net/private/org-Gt5rx0gRxNOUTZbzhzA90jq0/user-xebIcPQOsJQOyG9AywE8UuLH/img-6BNfqk7PtI0ciJQ2eG1S00xP.png?st=2023-02-07T14%3A09%3A31Z&se=2023-02-07T16%3A09%3A31Z&sp=r&sv=2021-08-06&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2023-02-06T21%3A30%3A16Z&ske=2023-02-07T21%3A30%3A16Z&sks=b&skv=2021-08-06&sig=05yQv469m95hmgFqGnzf%2BQxlZhtaQU7ehG9haFV%2BZ00%3D [ERROR][2023-02-07 23:09:34][wechat_channel.py:139] - HTTPSConnectionPool(host='oaidalleapiprodscus.blob.core.windows.net', port=443): Max retries exceeded with url: /private/org-Gt5rx0gRxNOUTZbzhzA90jq0/user-xebIcPQOsJQOyG9AywE8UuLH/img-6BNfqk7PtI0ciJQ2eG1S00xP.png?st=2023-02-07T14%3A09%3A31Z&se=2023-02-07T16%3A09%3A31Z&sp=r&sv=2021-08-06&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2023-02-06T21%3A30%3A16Z&ske=2023-02-07T21%3A30%3A16Z&sks=b&skv=2021-08-06&sig=05yQv469m95hmgFqGnzf%2BQxlZhtaQU7ehG9haFV%2BZ00%3D (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol...