mirror of
https://github.com/langgenius/dify-plugins.git
synced 2026-07-22 01:55:36 -04:00
[PR #102] [CLOSED] 微信公众号对接插件 #610
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-plugins/pull/102
Author: @bikeread
Created: 3/9/2025
Status: ❌ Closed
Base:
main← Head:add_wechat_plugin📝 Commits (1)
db598c2微信公众号对接插件📊 Changes
32 files changed (+3049 additions, -0 deletions)
View changed files
➕
bikeread/dify_wechat_plugin/.difyignore(+178 -0)➕
bikeread/dify_wechat_plugin/.env.example(+4 -0)➕
bikeread/dify_wechat_plugin/.gitignore(+171 -0)➕
bikeread/dify_wechat_plugin/GUIDE.md(+117 -0)➕
bikeread/dify_wechat_plugin/PRIVACY.md(+70 -0)➕
bikeread/dify_wechat_plugin/README.md(+223 -0)➕
bikeread/dify_wechat_plugin/_assets/icon.svg(+6 -0)➕
bikeread/dify_wechat_plugin/dify_wechat_plugin.difypkg(+0 -0)➕
bikeread/dify_wechat_plugin/endpoints/wechat/__init__.py(+18 -0)➕
bikeread/dify_wechat_plugin/endpoints/wechat/api/__init__.py(+3 -0)➕
bikeread/dify_wechat_plugin/endpoints/wechat/api/custom_message.py(+128 -0)➕
bikeread/dify_wechat_plugin/endpoints/wechat/crypto.py(+376 -0)➕
bikeread/dify_wechat_plugin/endpoints/wechat/factory.py(+43 -0)➕
bikeread/dify_wechat_plugin/endpoints/wechat/formatters.py(+47 -0)➕
bikeread/dify_wechat_plugin/endpoints/wechat/handlers/__init__.py(+20 -0)➕
bikeread/dify_wechat_plugin/endpoints/wechat/handlers/base.py(+83 -0)➕
bikeread/dify_wechat_plugin/endpoints/wechat/handlers/image.py(+108 -0)➕
bikeread/dify_wechat_plugin/endpoints/wechat/handlers/link.py(+108 -0)➕
bikeread/dify_wechat_plugin/endpoints/wechat/handlers/text.py(+223 -0)➕
bikeread/dify_wechat_plugin/endpoints/wechat/handlers/unsupported.py(+14 -0)...and 12 more files
📄 Description
Plugin Submission Form
1. Submission Type
2. Description
本插件旨在将Dify AI应用与微信公众号无缝集成,允许用户通过微信公众号与AI进行对话交互。插件处理微信公众号的消息接收和回复,支持会话记忆功能,确保连续对话的上下文保持。巧妙解决了微信公众号5秒超时限制问题:通过合理运用微信单条消息三次重试发送规则,将回复时间延长到15秒左右;若AI仍未完成答复,并且配置了APPID和APPSECRET,系统会尝试调用客服消息接口发送完整回复,确保用户体验的连贯性。这种双轨机制设计保证了大语言模型长耗时生成的完整响应能够可靠传递给终端用户。
3. Checklist
4. Documentation Checklist
Please confirm that your plugin README includes all necessary information:
5. Privacy Protection Information
Based on Dify Plugin Privacy Protection Guidelines:
Data Collection
本插件收集以下用户数据:
1.微信用户的OpenID - 用于识别用户会话、维持对话上下文
2.用户发送的消息内容 - 用于发送给Dify AI应用进行处理和回复
3.会话历史记录 - 用于保持对话连续性
插件不会收集或存储任何其他个人身份信息。这些数据仅在必要的时间内临时保存用于处理,遵循最小数据收集原则。
Privacy Policy
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.