Giter Club home page Giter Club logo

Comments (7)

bboychencan avatar bboychencan commented on June 28, 2024 1

公众号里面的“画”好像没有用

from bot-on-anything.

geekmc avatar geekmc commented on June 28, 2024

但是在微信公众号接收不到信息。config配置如下:{
"model": {
"type" : "openai",
"openai": {
"api_key": "",
"conversation_max_tokens": 1000,
"character_desc": "你是ChatGPT, 一个由OpenAI训练的大型语言模型, 你旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。"
}
},
"channel": {
"type": "wechat_mp_service",
"single_chat_prefix": ["bot", "@bot"],
"single_chat_reply_prefix": "[bot] ",
"group_chat_prefix": ["@bot"],
"group_name_white_list": ["ChatGPT测试群"],
"image_create_prefix": ["画", "看", "找一张"],

"wechat": {
},

"wechat_mp": {
  "token": "123456",
  "host":"0.0.0.0",
  "port": "80",
  "app_id": "",
  "app_secret": ""
}

}
}

from bot-on-anything.

geekmc avatar geekmc commented on June 28, 2024

修改为:{
"model": {
"type" : "openai",
"openai": {
"api_key": "YOUR API KEY",
"conversation_max_tokens": 1000,
"character_desc": "你是ChatGPT, 一个由OpenAI训练的大型语言模型, 你旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。"
}
},
"channel": {
"type": "wechat_mp",
"single_chat_prefix": ["bot", "@bot"],
"single_chat_reply_prefix": "[bot] ",
"group_chat_prefix": ["@bot"],
"group_name_white_list": ["ChatGPT测试群"],
"image_create_prefix": ["画", "看", "找一张"],

"wechat": {
},

"wechat_mp": {
  "token": "YOUR TOKEN",
  "port": "8088"
}

}
}走的是wechat_mp_channel.py处理逻辑,但是会出“该公众号提供的服务出现故障,请稍后再试 ”的问题

from bot-on-anything.

zhayujie avatar zhayujie commented on June 28, 2024

你的是个人订阅号吗? 配置在公众平台的url是用域名的吗, 可以在浏览器访问下你配置的那个url,看看通不通。

wechat_mp 中的token记得也改成和配置一样的

from bot-on-anything.

brucelt1993 avatar brucelt1993 commented on June 28, 2024

公众号5s超时后3次重试还拿不到响应信息就会出现这个提示,没办法,chatGPT有时候回复很慢。

from bot-on-anything.

ljacksonl avatar ljacksonl commented on June 28, 2024

什么时候会优化好微信公众号,感觉小程序也可以上一个

from bot-on-anything.

zhayujie avatar zhayujie commented on June 28, 2024

公众号里面的“画”好像没有用

是的,公众号现在还没有实现回复图片的功能

from bot-on-anything.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.