企业级 RAG 智能助手(飞书版)
这是一个带飞书人工转接能力的企业级 RAG 聊天机器人。它可以对用户输入和 AI 输出进行内容审核,重写用户问题以提升检索效果,通过重排序搜索知识库内容,并基于检索到的上下文生成回答;当没有匹配内容时,也会返回兜底回复。 当用户请求人工客服,或模型判断需要人工介入时,该工作流会通过 Webhook 向你的飞书客服群发送一张富文本卡片,其中包含用户信息、用户问题以及 AI 回复,方便客服人员快速接手处理。 1. 将该高级聊天工作流导入你的 Dify 工作区。 2. 安装所需的 Marketplace 插件:**Volcengine**(LLM)和 **Tongyi**(重排序模型)。 3. 在 **Settings → Model Providers** 中配置 Volcengine 和 Tongyi 的模型提供商及凭证。 4. 打开每个 LLM 节点,并选择一个可用的 Volcengine Chat 模型。你也可以替换为自己偏好的模型提供商或模型。 5. 创建一个知识库,上传企业文档,然后在 **Knowledge Retrieval** 节点中绑定该知识库,替换占位数据集。 6. 在 Knowledge Retrieval 中启用重排序,并选择一个 Tongyi rerank 模型,例如 qwen3-rerank。你也可以根据需要调整 top_k 或 rerank 设置。 7. 在你的客服飞书群中创建一个飞书(Lark)自定义
Rank
89
Safety
82
Updated
Oct 9, 2026
Source
Dify
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
Install and run
Setup complexity: low.
- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/dify-ailinhe-rag/snapshot"
Documentation
Dify
766 characters of source documentation, loaded on request.
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Dify",
"href": "https://marketplace.dify.ai/api/v1/templates/254a82d1-6c1d-401b-885a-b35682da3471",
"sourceUrl": "https://marketplace.dify.ai/api/v1/templates/254a82d1-6c1d-401b-885a-b35682da3471",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T01:20:55.354Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/dify-ailinhe-rag/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/dify-ailinhe-rag/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": []
}Record generated Oct 9, 2026.
