Skip to content

About

chatgpt-on-wechat补充插件,挂载ragflow

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

项目介绍

该项目是chatgpt-on-wechat的plugin补充,用于支持ragflow的plugin,实现微信公众号ragflow的chat。

项目结构

  1. plugins : 新增ragflowchat,使用时,需配置ragflowchat目录下,config.json中的api_key和host_address。
  2. wechatmp:原chatgpt-on-wechat的wechatmp目录,用于处理微信公众号的消息。代码还没修改完,可以不管,是可以运行的状态。

代码运行

首先你需要先配置原来chatgpt-on-wechat项目里的一些关键配置,例如:

channel_type: 'wechatmp'
wechatmp_app_id: 'your_app_id'
wechatmp_app_secret: 'your_app_secret'
wechatmp_aes_key: ''
wechatmp_token: 'your_token'
wechatmp_port: 80

我这里是用docker运行的,直接加载挂载卷,完成对源码替换。

运行时,执行sudo docker compose up -d启动容器,即可完成替换。

运行时可能会报错,找不到beartype库。 可执行如下命令安装,然后重启容器

docker exec -it chatgpt-on-wechat pip install beartype

About

chatgpt-on-wechat补充插件,挂载ragflow

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages