{"id":"015f5d8e-e245-4185-b325-efaba433c7da","entityType":"agent","slug":"dify-ailinhe-rag","name":"企业级 RAG 智能助手（飞书版）","canonicalUrl":"https://www.xpersona.co/agent/dify-ailinhe-rag","canonicalPath":"/agent/dify-ailinhe-rag","generatedAt":"2026-10-09T04:19:00.626Z","source":"DIFY_MARKETPLACE","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T01:20:55.354Z","emptyReason":null},"description":"这是一个带飞书人工转接能力的企业级 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）自定义","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.","installCommand":null,"sourceUrl":"https://marketplace.dify.ai/api/v1/templates/254a82d1-6c1d-401b-885a-b35682da3471","homepage":null,"primaryLinks":[{"label":"View on Dify","url":"https://marketplace.dify.ai/api/v1/templates/254a82d1-6c1d-401b-885a-b35682da3471","kind":"source"}],"safetyScore":82,"overallRank":89.4,"popularityScore":84,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"这是一个带飞书人工转接能力的企业级 RAG 聊天机器人。它可以对用户输入和 AI 输出进行内容审核，重写用户问题以提升检索效果，通过重排序搜索知识库内容，并基于检索到的上下文生成回答；当没有匹配内容时，也会返回兜底回复。 当用户请求人工客服，或模型判断需要人工介入时，该工作流会通过 Webhook 向你的飞书客服群发送"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T01:20:55.354Z","emptyReason":null},"protocols":[],"capabilities":[{"label":"workflow","status":"self-declared"},{"label":"support","status":"self-declared"},{"label":"tongyi","status":"self-declared"},{"label":"volcengine","status":"self-declared"}],"verifiedCount":0,"selfDeclaredCount":4,"capabilityMatrix":{"rows":[{"key":"workflow","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"support","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"tongyi","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"volcengine","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"}],"flattenedTokens":"capability:workflow|supported|profile capability:support|supported|profile capability:tongyi|supported|profile capability:volcengine|supported|profile"}},"adoption":{"evidence":{"source":"no-adoption-signals","verified":false,"confidence":"low","updatedAt":"2026-10-09T01:20:55.354Z","emptyReason":"No source adoption metrics were available."},"stars":null,"forks":null,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":null},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-10-09T01:20:55.350Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T01:20:55.354Z","lastCrawledAt":"2026-10-09T01:20:55.350Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-11T01:20:55.350Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"Dify","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":null,"setupComplexity":"low","setupSteps":["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":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/dify-ailinhe-rag/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/dify-ailinhe-rag/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/dify-ailinhe-rag/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/dify-ailinhe-rag/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/dify-ailinhe-rag/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/dify-ailinhe-rag/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":[]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"DIFY_MARKETPLACE","generatedAt":"2026-10-09T04:19:00.625Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/dify-ailinhe-rag/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/dify-ailinhe-rag/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/dify-ailinhe-rag/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/dify-ailinhe-rag/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"Dify","verified":false,"confidence":"high","updatedAt":"2026-10-09T01:20:55.354Z","emptyReason":null},"readme":"1. 将该高级聊天工作流导入你的 Dify 工作区。\n2. 安装所需的 Marketplace 插件：**Volcengine**（LLM）和 **Tongyi**（重排序模型）。\n3. 在 **Settings → Model Providers** 中配置 Volcengine 和 Tongyi 的模型提供商及凭证。\n4. 打开每个 LLM 节点，并选择一个可用的 Volcengine Chat 模型。你也可以替换为自己偏好的模型提供商或模型。\n5. 创建一个知识库，上传企业文档，然后在 **Knowledge Retrieval** 节点中绑定该知识库，替换占位数据集。\n6. 在 Knowledge Retrieval 中启用重排序，并选择一个 Tongyi rerank 模型，例如 `qwen3-rerank`。你也可以根据需要调整 `top_k` 或 rerank 设置。\n7. 在你的客服飞书群中创建一个飞书（Lark）自定义机器人，并复制 **Webhook URL**。\n8. 在应用的 **Environment Variables** 中设置以下变量：\n   * `FEISHU_WEBHOOK_URL`，必填，填写机器人 Webhook URL\n   * `FEISHU_SIGN_SECRET`，可选，如果启用了签名校验，请填写签名密钥；否则可留空\n9. 可选：从你的前端传入 `user_id`、`user_name`、`session_id` 和 `channel`，这样飞书卡片中可以展示更清晰的用户上下文。\n10. 发布应用并进行测试：先询问一个知识库相关问题，再尝试一个不安全的 prompt，然后发送「转人工」或 “transfer to human”，确认飞书群能够收到人工转接卡片。","readmeExcerpt":"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）自定义","codeSnippets":[],"executableExamples":[],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["zh-Hans"],"docsSourceLabel":"Dify","editorialOverview":"这是一个带飞书人工转接能力的企业级 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）自定义","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":328,"uniquenessScore":68,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T01:20:55.354Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T01:20:55.354Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"agent-directory","verified":false,"confidence":"low","updatedAt":"2026-10-09T04:19:00.626Z","emptyReason":"No close protocol neighbors were found."},"items":[],"links":{"hub":"/agent","source":"/agent/source/dify_marketplace","protocols":[]}}}