8000 GitHub - songyi1999/qqbot: qq ai 机器人 · GitHub
[go: up one dir, main page]

Skip to content
songyi1999Public

About

qq ai 机器人

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

Repository files navigation

QQ 机器人代码

在官方机器人的基础上集成langchain。

功能

  • 长期记忆
  • 画图
  • 天气查询
  • 网络实时信息搜索
  • 文件上传
  • 语音识别
  • 语音合成

使用方法

  1. 安装依赖

运行 :

```shell
pip install -r requirements.txt
cd botpy 
pip install -e .
```
  1. 安装附加鉴黄依赖(可选)

运行 :

```shell
cd  nsfwjs
npm install
npm run build
npm install -g pm2
pm2 start pm2.json
```
  1. 设置环境变量

新建一个.env 文件

    ```shell
    cp .env.example .env

    ```

修改对应设置

  1. 安装ollama
curl -fsSL https://ollama.com/install.sh | sh
ollama pull qwen:0.5b

About

qq ai 机器人

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0