2022-12-08 18:44:19 +08:00
2022-12-10 11:49:31 +08:00
2022-12-10 12:41:35 +08:00
2022-12-08 21:53:08 +08:00
2022-12-10 11:49:31 +08:00
2022-12-10 02:51:07 +08:00

基于OpenAI ChatGPT的QQ频道机器人

功能:

  • @机器人可以获得回复
  • 以变量的形式临时保存了Session,具体原理为:将某一个用户id作为字典的key,value为历史prompt
  • 发送/reset重置prompt
  • 发送/his查看历史记录(每个用户都有独立的会话)

待实现功能:

  • 将prompt持久化存储
  • 更多交互方式
  • ...

使用方法:

首先你需要获得

  • OpenAI的key OpenAI
  • QQ开放平台下QQ频道机器人的token和appid QQ开放平台
  • 一个QQ频道机器人(很容易创建~)

然后在configs/config.yaml下进行配置

然后启动main.py就行!

S
Description
Agentic IM Chatbot infrastructure that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨
https://astrbot.app
Readme AGPL-3.0
48 MiB
0 Stars 1 Watchers 0 Forks
Languages
Python 68.5%
Vue 26%
TypeScript 3.4%
JavaScript 1.3%
Shell 0.3%
Other 0.5%