基于ChatGPT模型开发的AI工具微信小程序开源项目,提供聊天机器人、绘画助手等功能,支持用户通过文本和语音与 ChatGPT 交流,并且还具备画图功能,支持预览绘制的图片并可长按发送给微信好友。
Open source project for WeChat mini program, an AI tool developed based on the ChatGPT model, provides functions such as chatbot and drawing assistant. It supports users to communicate with ChatGPT through text and voice, and also has drawing function. It supports previewing drawn images and long pressing to send them to WeChat friends.
- 微信开发者工具1.06.2409140 Stable
- 调试基础库 2.19.4
Tip 1: 在运行微信小程序之前,请替换wssurl、drawImgUrl和sttUrl。
Before running the wechat mini program, replace the wssurl and drawImgUrl and sttUrl.
- const wssurl = "wss://ai.demo.com";
- const drawImgUrl = 'https://ai.demo.com/api/T2I_api';
- const sttUrl = 'https://ai.demo.com/ASR_api';
Tip 2: 通信地址的数据协议需要保持一致,否则需要调整解析过程。
The data protocol of the communication address needs to be consistent, otherwise the parsing process needs to be adjusted.
100856.mov
1020239.mov
This library is licensed under the Apache 2.0 License.