# Dify Enterprise Docs: Chinese ## Chinese - [Chinese / 3.13.x (331 pages)](https://enterprise-docs.dify.ai/_llms/zh/3-13-x.txt): 部署, 管理, 使用, 开发者资源. - [Chinese / 3.12.x (313 pages)](https://enterprise-docs.dify.ai/_llms/zh/3-12-x.txt): 部署, 管理, 使用, 开发者资源. - [Chinese / 3.11.x (308 pages)](https://enterprise-docs.dify.ai/_llms/zh/3-11-x.txt): 部署, 管理, 使用, 开发者资源. - [Chinese / 3.10.x (277 pages)](https://enterprise-docs.dify.ai/_llms/zh/3-10-x.txt): 部署, 管理, 使用, 开发者资源. - [Chinese / 3.9.x (273 pages)](https://enterprise-docs.dify.ai/_llms/zh/3-9-x.txt): 部署, 管理, 使用, 开发者资源. - [Chinese / 3.8.x (265 pages)](https://enterprise-docs.dify.ai/_llms/zh/3-8-x.txt): 部署, 管理, 使用, 开发者资源. - [Chinese / 3.7.x (260 pages)](https://enterprise-docs.dify.ai/_llms/zh/3-7-x.txt): 部署, 管理, 使用, 开发者资源. - [Chinese / 3.6.x (253 pages)](https://enterprise-docs.dify.ai/_llms/zh/3-6-x.txt): 部署, 管理, 使用, 开发者资源. - [Chinese / 3.5.x (244 pages)](https://enterprise-docs.dify.ai/_llms/zh/3-5-x.txt): 部署, 管理, 使用, 开发者资源. - [Chinese / 3.4.x (243 pages)](https://enterprise-docs.dify.ai/_llms/zh/3-4-x.txt): 部署, 管理, 使用, 开发者资源. - [Chinese / 3.3.x (238 pages)](https://enterprise-docs.dify.ai/_llms/zh/3-3-x.txt): 部署, 管理, 使用, 开发者资源. - [Chinese / 3.2.x (232 pages)](https://enterprise-docs.dify.ai/_llms/zh/3-2-x.txt): 部署, 管理, 使用, 开发者资源. - [Chinese / 3.1.x (231 pages)](https://enterprise-docs.dify.ai/_llms/zh/3-1-x.txt): 部署, 管理, 使用, 开发者资源. - [Chinese / 3.0.x (229 pages)](https://enterprise-docs.dify.ai/_llms/zh/3-0-x.txt): 部署, 管理, 使用, 开发者资源. ### 2.8.x #### 部署 - [部署准备](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/checklist.md) - [资源清单](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/resources-checklist.md) - [激活许可证](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/license-activation.md) - [验证 Dify 服务状态](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/verify-services-status.md) ##### 安装指引 - [Kubernetes](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/prerequisites/kubernetes.md) - [Minikube](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/prerequisites/minikube.md) - [Docker Compose](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/prerequisites/docker-compose.md) ##### 测试/生产环境部署 - [测试环境部署](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/test-production/testing-deployment.md) - [生产环境部署](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/test-production/production-deployment.md) ##### 高级配置 - [持久化存储](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/advanced-configuration/persistent-storage.md) - [Postgresql 数据库](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/advanced-configuration/postgresql-database.md) - [Redis](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/advanced-configuration/redis.md) - [RAG](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/advanced-configuration/rag.md) - [邮件提供商](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/advanced-configuration/email-provider.md) - [文件上传](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/advanced-configuration/file-upload.md) - [Nginx Ingress 控制器](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/advanced-configuration/nginx-ingress-controller.md) - [域名和 SSL 证书](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/advanced-configuration/domain-and-ssl-certificate.md) - [Dify 系统 Logo](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/advanced-configuration/dify-system-logo.md) - [模型供应商](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/advanced-configuration/model-provider.md) - [工具](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/advanced-configuration/tools.md) - [环境变量说明](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/advanced-configuration/environment-variables.md) - [Dify Helm Chart](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/advanced-configuration/dify-helm-chart.md) ###### 向量数据库 - [向量数据库简介](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/advanced-configuration/vector-database.md) - [Qdrant 单节点](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/advanced-configuration/qdrant/single-node.md) - [Qdrant 集群部署](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/advanced-configuration/qdrant/qdrant-cluster.md) ###### Docker - [Docker 仓库](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/advanced-configuration/docker/docker-registry.md) ###### Docker Compose - [自定义 Icon](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/advanced-configuration/docker-compose/icon-customization.md) ##### 云基础设施 - [Azure POC 基础设施设置](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/cloud-infrastructure/azure-poc-infra-setup.md) - [AWS CDK 部署指南](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/cloud-infrastructure/aws-setup.md) ##### 常见问题 - [部署相关](https://enterprise-docs.dify.ai/zh/2.8.x/deploy/faq/deploying.md) #### 管理 - [工作区管理](https://enterprise-docs.dify.ai/zh/2.8.x/administer/workspace-management.md) - [企业级 APIs](https://enterprise-docs.dify.ai/zh/2.8.x/administer/admin-apis.md): 要求 Dify 企业版版本 ≥ v2.2.0 - [品牌设置](https://enterprise-docs.dify.ai/zh/2.8.x/administer/branding.md) - [常见问题](https://enterprise-docs.dify.ai/zh/2.8.x/administer/faq.md) ##### 成员管理 - [成员管理](https://enterprise-docs.dify.ai/zh/2.8.x/administer/members-management.md) ###### 自动同步成员 - [同步成员](https://enterprise-docs.dify.ai/zh/2.8.x/administer/members/synchronization/sync-team-members.md): 通过 SCIM 标准自动同步组织成员。版本号 ≥ v2.7.0 - [Azure](https://enterprise-docs.dify.ai/zh/2.8.x/administer/members/synchronization/azure.md): 通过 SCIM 标准自动同步组织成员。版本号 ≥ v2.7.0 - [Okta](https://enterprise-docs.dify.ai/zh/2.8.x/administer/members/synchronization/okta.md): 通过 SCIM 标准自动同步组织成员。版本号 ≥ v2.7.0 ##### 身份认证 - [功能简介](https://enterprise-docs.dify.ai/zh/2.8.x/administer/authentication/introduction.md) - [内部用户认证](https://enterprise-docs.dify.ai/zh/2.8.x/administer/authentication/enterprise-user-auth.md) - [Web App 外部用户认证](https://enterprise-docs.dify.ai/zh/2.8.x/administer/authentication/webapp-external-user-auth.md) ###### 配置 SSO 认证 - [SSO 认证介绍](https://enterprise-docs.dify.ai/zh/2.8.x/administer/sso/introduction.md) ###### Okta - [使用 Okta 配置 OIDC](https://enterprise-docs.dify.ai/zh/2.8.x/administer/sso/okta/oidc.md) - [使用 Okta 配置 SAML](https://enterprise-docs.dify.ai/zh/2.8.x/administer/sso/okta/saml.md) - [使用 Okta 配置 OAuth2](https://enterprise-docs.dify.ai/zh/2.8.x/administer/sso/okta/oauth2.md) ###### Azure - [使用 Azure 配置 SAML](https://enterprise-docs.dify.ai/zh/2.8.x/administer/sso/azure/saml.md) ###### GitHub - [使用 GitHub 配置 OAuth2](https://enterprise-docs.dify.ai/zh/2.8.x/administer/sso/github/oauth2.md) ##### 系统设置 - [系统管理员](https://enterprise-docs.dify.ai/zh/2.8.x/administer/systems/users.md) - [两步验证](https://enterprise-docs.dify.ai/zh/2.8.x/administer/systems/2sv.md) #### 使用 ##### 编排 - [应用工具箱](https://enterprise-docs.dify.ai/zh/2.8.x/use/build/additional-features.md): 让 Dify 应用更实用的可选功能 ###### 工作流与对话流 - [Workflow 与 Chatflow](https://enterprise-docs.dify.ai/zh/2.8.x/use/build/workflow-chatflow.md): 构建将 AI 模型、工具和逻辑组合为可靠、可重复流程的 Agentic 工作流 - [编排逻辑](https://enterprise-docs.dify.ai/zh/2.8.x/use/build/orchestrate-node.md): 构建 Workflow 或 Chatflow 时,如何排列、嵌套与复用节点 - [快捷键](https://enterprise-docs.dify.ai/zh/2.8.x/use/build/shortcut-key.md): 使用键盘快捷键更快地构建 Dify 工作流 - [版本控制](https://enterprise-docs.dify.ai/zh/2.8.x/use/build/version-control.md) ###### 节点 - [开始](https://enterprise-docs.dify.ai/zh/2.8.x/use/nodes/user-input.md): 收集用户输入以启动 Workflow 和 Chatflow 应用程序 - [大语言模型](https://enterprise-docs.dify.ai/zh/2.8.x/use/nodes/llm.md): 调用语言模型进行文本生成和分析 - [知识检索](https://enterprise-docs.dify.ai/zh/2.8.x/use/nodes/knowledge-retrieval.md) - [直接回复](https://enterprise-docs.dify.ai/zh/2.8.x/use/nodes/answer.md) - [结束](https://enterprise-docs.dify.ai/zh/2.8.x/use/nodes/output.md): 定义工作流的最终输出内容 - [问题分类器](https://enterprise-docs.dify.ai/zh/2.8.x/use/nodes/question-classifier.md) - [If-Else](https://enterprise-docs.dify.ai/zh/2.8.x/use/nodes/ifelse.md): 为工作流添加条件逻辑和分支 - [迭代](https://enterprise-docs.dify.ai/zh/2.8.x/use/nodes/iteration.md) - [代码](https://enterprise-docs.dify.ai/zh/2.8.x/use/nodes/code.md) - [模板转换](https://enterprise-docs.dify.ai/zh/2.8.x/use/nodes/template.md): 使用 Jinja2 模板转换和格式化数据 - [变量聚合器](https://enterprise-docs.dify.ai/zh/2.8.x/use/nodes/variable-aggregator.md): 将互斥工作流分支汇聚为单一输出 - [文档提取器](https://enterprise-docs.dify.ai/zh/2.8.x/use/nodes/doc-extractor.md) - [变量赋值器](https://enterprise-docs.dify.ai/zh/2.8.x/use/nodes/variable-assigner.md): 在 Chatflow 应用中管理持久化会话变量 - [参数提取器](https://enterprise-docs.dify.ai/zh/2.8.x/use/nodes/parameter-extractor.md) - [HTTP 请求](https://enterprise-docs.dify.ai/zh/2.8.x/use/nodes/http-request.md) - [列表操作符](https://enterprise-docs.dify.ai/zh/2.8.x/use/nodes/list-operator.md): 筛选、排序和选择数组中的元素 - [工具节点](https://enterprise-docs.dify.ai/zh/2.8.x/use/nodes/tools.md): 连接外部服务和 API ###### 调试 - [处理错误](https://enterprise-docs.dify.ai/zh/2.8.x/use/build/predefined-error-handling-logic.md) - [单节点](https://enterprise-docs.dify.ai/zh/2.8.x/use/debug/step-run.md) - [运行历史](https://enterprise-docs.dify.ai/zh/2.8.x/use/debug/history-and-logs.md) - [错误类型](https://enterprise-docs.dify.ai/zh/2.8.x/use/debug/error-type.md) ###### 基础应用 - [Agent](https://enterprise-docs.dify.ai/zh/2.8.x/use/build/agent.md): 模型能够自主推理、决策并使用工具的对话式应用 - [聊天助手](https://enterprise-docs.dify.ai/zh/2.8.x/use/build/chatbot.md): 通过模型和提示词构建对话式应用的最简单方式 - [文本生成应用](https://enterprise-docs.dify.ai/zh/2.8.x/use/build/text-generator.md): 通过提示词和用户输入生成文本的简单单轮应用 ##### 发布 - [分享你的 AI 应用](https://enterprise-docs.dify.ai/zh/2.8.x/use/publish/README.md) ###### Web App - [Workflow Web 应用](https://enterprise-docs.dify.ai/zh/2.8.x/use/publish/webapp/workflow-webapp.md): 通过批处理、结果管理和流畅的使用体验,将工作流转变为强大的 Web 应用 - [聊天 Web App](https://enterprise-docs.dify.ai/zh/2.8.x/use/publish/webapp/chatflow-webapp.md): 将 Chatflow 转变为具备持久化历史记录和交互功能的完整对话界面 - [Web App 设置](https://enterprise-docs.dify.ai/zh/2.8.x/use/publish/webapp/web-app-settings.md) - [访问控制](https://enterprise-docs.dify.ai/zh/2.8.x/use/publish/webapp/web-app-access.md): 通过四个访问级别,控制谁可以访问你发布的 Web 应用,从特定成员到完全公开。 - [嵌入 Web 应用](https://enterprise-docs.dify.ai/zh/2.8.x/use/publish/webapp/embedding-in-websites.md): 通过 iframe、聊天气泡组件或自定义集成,将已发布的 Web 应用部署到任何网站 ##### 监控 - [仪表盘](https://enterprise-docs.dify.ai/zh/2.8.x/use/monitor/analysis.md): 通过 Dify 内置的分析仪表盘监控性能、成本和用户参与度 - [日志](https://enterprise-docs.dify.ai/zh/2.8.x/use/monitor/logs.md): 监控实时对话、调试问题并收集用户反馈 - [标注系统](https://enterprise-docs.dify.ai/zh/2.8.x/use/monitor/annotation-reply.md) ###### 集成 - [集成 LangSmith](https://enterprise-docs.dify.ai/zh/2.8.x/use/monitor/integrations/integrate-langsmith.md) - [集成 Langfuse](https://enterprise-docs.dify.ai/zh/2.8.x/use/monitor/integrations/integrate-langfuse.md) - [集成 Opik](https://enterprise-docs.dify.ai/zh/2.8.x/use/monitor/integrations/integrate-opik.md) ##### 知识库 - [知识库](https://enterprise-docs.dify.ai/zh/2.8.x/use/knowledge/readme.md) - [测试检索](https://enterprise-docs.dify.ai/zh/2.8.x/use/knowledge/test-retrieval.md) - [在应用内集成知识库](https://enterprise-docs.dify.ai/zh/2.8.x/use/knowledge/integrate-knowledge-within-application.md): 在应用内关联知识库并配置召回设置,让回复更精准 ###### 创建 ###### 快速创建 - [快速创建知识库](https://enterprise-docs.dify.ai/zh/2.8.x/use/knowledge/create-knowledge/introduction.md) - [指定分段设置](https://enterprise-docs.dify.ai/zh/2.8.x/use/knowledge/create-knowledge/chunking-and-cleaning-text.md) - [指定索引方式与检索设置](https://enterprise-docs.dify.ai/zh/2.8.x/use/knowledge/create-knowledge/setting-indexing-methods.md) ###### 导入数据 - [上传本地文件](https://enterprise-docs.dify.ai/zh/2.8.x/use/knowledge/create-knowledge/import-text-data/readme.md) - [从 Notion 导入数据](https://enterprise-docs.dify.ai/zh/2.8.x/use/knowledge/create-knowledge/import-text-data/sync-from-notion.md) - [从网页导入数据](https://enterprise-docs.dify.ai/zh/2.8.x/use/knowledge/create-knowledge/import-text-data/sync-from-website.md) ###### 连接外部知识库 - [连接外部知识库](https://enterprise-docs.dify.ai/zh/2.8.x/use/knowledge/connect-external-knowledge-base.md): 通过 API 连接将外部知识源集成到 Dify 应用中,以使用自定义 RAG 系统或第三方知识服务 - [外部知识库 API](https://enterprise-docs.dify.ai/zh/2.8.x/use/knowledge/external-knowledge-api.md): 外部知识服务必须实现的 API 规范,用于与 Dify 集成 ###### 管理 - [维护知识库内容](https://enterprise-docs.dify.ai/zh/2.8.x/use/knowledge/manage-knowledge/maintain-knowledge-documents.md) - [调整知识库设置](https://enterprise-docs.dify.ai/zh/2.8.x/use/knowledge/manage-knowledge/introduction.md) ##### 工作空间 - [工作空间](https://enterprise-docs.dify.ai/zh/2.8.x/use/workspace/readme.md): 工作空间是 Dify 中的基础组织单位,你的团队所构建、配置和管理的一切都存在于工作空间中 - [模型供应商](https://enterprise-docs.dify.ai/zh/2.8.x/use/workspace/model-providers.md): 为工作空间添加模型供应商,让应用能够使用 LLM、Embedding 模型及其他 AI 服务 - [Dify 工具](https://enterprise-docs.dify.ai/zh/2.8.x/use/workspace/tools.md): 管理使 LLM 能够与外部服务和 API 交互的工具 - [管理应用](https://enterprise-docs.dify.ai/zh/2.8.x/use/workspace/app-management.md) - [管理成员](https://enterprise-docs.dify.ai/zh/2.8.x/use/workspace/team-members-management.md): 管理工作空间成员、角色和权限以构建高效的 AI 团队 - [个人设置](https://enterprise-docs.dify.ai/zh/2.8.x/use/workspace/personal-account-management.md): 管理你的个人资料、登录方式与界面偏好 ###### API 扩展 - [API 扩展](https://enterprise-docs.dify.ai/zh/2.8.x/use/workspace/api-extension/api-extension.md) - [外部数据工具](https://enterprise-docs.dify.ai/zh/2.8.x/use/workspace/api-extension/external-data-tool-api-extension.md) - [敏感内容审查](https://enterprise-docs.dify.ai/zh/2.8.x/use/workspace/api-extension/moderation-api-extension.md) - [使用 Cloudflare Workers 部署 API 扩展](https://enterprise-docs.dify.ai/zh/2.8.x/use/workspace/api-extension/cloudflare-worker.md) #### 开发者资源 ##### Workspace API ###### 指南 - [Dify API 快速开始](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/guides/get-started.md): 获取 API 密钥、发起第一个请求,并找到你的应用类型对应的接口 - [处理流式响应](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/guides/streaming.md): 选择响应模式、解析 SSE 流、按事件类型分发处理,并在连接断开后恢复 - [终端用户身份](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/guides/end-user-identity.md): user 字段标识什么、限定哪些数据,以及为何要在各次调用间保持一致 - [处理错误与速率限制](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/guides/errors.md): 错误响应的统一结构、各状态码类别的含义,以及哪些失败值得重试 ###### API 概览 - [Chatflow 应用 API](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/guides/chatflow.md): Chatflow 应用 API,涵盖对话消息、工作流级别流式事件、会话管理 - [Workflow 应用 API](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/guides/workflow.md): Workflow 应用 API,涵盖工作流执行、运行控制与流式传输、运行历史查询 - [知识库 API](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/guides/knowledge.md): 用于管理知识库、文档和分段的 API - [对话型应用 API](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/guides/chat.md): 面向聊天助手和 Agent 应用的 API,涵盖对话消息、会话管理、文件上传和语音转换 - [文本生成应用 API](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/guides/completion.md): 面向文本生成应用的 API,涵盖文本生成消息、文件上传、语音转换及反馈收集 ###### 应用 API ###### 对话消息 - [发送对话消息](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/chat-messages/send-chat-message.md): **适用于**:Chatflow、聊天助手、Agent。 - [停止对话消息生成](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/chat-messages/stop-chat-message-generation.md): **适用于**:Chatflow、聊天助手、Agent。 - [获取下一轮建议问题列表](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/chat-messages/get-next-suggested-questions.md): **适用于**:Chatflow、聊天助手、Agent。 ###### 文本生成消息 - [发送消息](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/completion-messages/send-completion-message.md): **适用于**:文本生成应用。 - [停止消息生成](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/completion-messages/stop-completion-message-generation.md): **适用于**:文本生成应用。 ###### 工作流运行 - [执行工作流](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/workflow-runs/run-workflow.md): **适用于**:Workflow。 - [停止工作流任务](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/workflow-runs/stop-workflow-task.md): **适用于**:Workflow。 - [获取工作流执行情况](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/workflow-runs/get-workflow-run-detail.md): **适用于**:Chatflow、Workflow。 - [获取工作流日志](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/workflow-runs/list-workflow-logs.md): **适用于**:Chatflow、Workflow。 ###### 会话管理 - [获取会话列表](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/conversations/list-conversations.md): **适用于**:Chatflow、聊天助手、Agent。 - [获取会话历史消息](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/conversations/list-conversation-messages.md): **适用于**:Chatflow、聊天助手、Agent。 - [重命名会话](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/conversations/rename-conversation.md): **适用于**:Chatflow、聊天助手、Agent。 - [删除会话](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/conversations/delete-conversation.md): **适用于**:Chatflow、聊天助手、Agent。 ###### 文件操作 - [上传文件](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/files/upload-file.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 ###### 语音与文字转换 - [语音转文字](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/audio/convert-audio-to-text.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 - [文字转语音](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/audio/convert-text-to-audio.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 ###### 应用配置 - [获取应用基本信息](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/applications/get-app-info.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 - [获取应用参数](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/applications/get-app-parameters.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 - [获取应用元数据](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/applications/get-app-meta.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 ###### 消息反馈 - [提交消息反馈](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/feedback/submit-message-feedback.md): **适用于**:Chatflow、聊天助手、Agent、文本生成应用。 ###### 知识库 API ###### 知识库 - [创建空知识库](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/knowledge-bases/create-an-empty-knowledge-base.md): 创建一个空知识库。之后用 [从文本创建文档](/zh/2.8.x/develop/api/documents/create-document-by-text) 或 [从文件创建文档](/zh/2.8.x/develop/api/documents/create-document-by-file) 向其中添加文档。 - [获取知识库列表](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/knowledge-bases/list-knowledge-bases.md): 返回知识库的分页列表,可按关键词或标签筛选。 - [删除知识库](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/knowledge-bases/delete-knowledge-base.md): 永久删除知识库及其所有文档。 - [从知识库检索分段 / 测试检索](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/knowledge-bases/retrieve-chunks-from-a-knowledge-base-test-retrieval.md): 搜索知识库,返回与查询最相关的分段,可用于生产环境检索和测试检索。 ###### 文档 - [从文本创建文档](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/documents/create-document-by-text.md): 在知识库中通过纯文本创建文档。索引异步进行;使用返回的 `batch` ID 通过 [获取文档嵌入状态(进度)](/zh/2.8.x/develop/api/documents/get-document-indexing-status) 跟踪。 - [从文件创建文档](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/documents/create-document-by-file.md): 在知识库中通过上传文件创建文档。支持 PDF、TXT、DOCX 等常见格式。索引异步进行;使用返回的 `batch` ID 通过 [获取文档嵌入状态(进度)](/zh/2.8.x/develop/api/documents/get-document-indexing-status) 跟踪。 - [获取知识库的文档列表](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/documents/list-documents.md): 返回知识库中文档的分页列表。 - [删除文档](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/documents/delete-document.md): 从知识库中永久删除文档及其所有分段。 - [获取文档嵌入状态(进度)](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/documents/get-document-indexing-status.md): 返回批次中每个文档的索引进度:当前阶段和分段完成计数。轮询直到每个 `indexing_status` 变为 `completed` 或 `error`。状态按 `waiting` → `parsing` → `cleaning` → `splitting` → `indexing` → `completed` 推进。 - [用文本更新文档](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/documents/update-document-by-text.md): 更新文档的文本内容、名称或处理配置。文本变更时会重新索引文档。 - [用文件更新文档](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/documents/update-document-by-file.md): 通过上传新文件更新文档,然后重新索引。 - [获取上传文件](https://enterprise-docs.dify.ai/api-reference/documents/获取上传文件.md): 返回通过文件上传创建的文档的源文件,包含带签名的预览和下载链接。仅 `data_source_type` 为 `upload_file` 的文档有源文件。 ###### 分段 - [向文档添加分段](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/chunks/create-chunks.md): 在文档中创建一个或多个分段。 - [从文档获取分段](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/chunks/list-chunks.md): 返回文档内分段的分页列表,可按关键词或索引状态筛选。 - [更新文档中的分段](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/chunks/update-chunk.md): 更新分段的字段。更新会为该分段重新触发索引。 - [删除文档中的分段](https://enterprise-docs.dify.ai/zh/2.8.x/develop/api/chunks/delete-chunk.md): 从文档中永久删除一个分段。 ### 2.7.x #### 部署 - [部署准备](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/checklist.md) - [资源清单](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/resources-checklist.md) - [激活许可证](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/license-activation.md) - [验证 Dify 服务状态](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/verify-services-status.md) ##### 安装指引 - [Kubernetes](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/prerequisites/kubernetes.md) - [Minikube](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/prerequisites/minikube.md) - [Docker Compose](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/prerequisites/docker-compose.md) ##### 测试/生产环境部署 - [测试环境部署](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/test-production/testing-deployment.md) - [生产环境部署](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/test-production/production-deployment.md) ##### 高级配置 - [持久化存储](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/advanced-configuration/persistent-storage.md) - [Postgresql 数据库](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/advanced-configuration/postgresql-database.md) - [Redis](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/advanced-configuration/redis.md) - [RAG](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/advanced-configuration/rag.md) - [邮件提供商](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/advanced-configuration/email-provider.md) - [文件上传](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/advanced-configuration/file-upload.md) - [Nginx Ingress 控制器](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/advanced-configuration/nginx-ingress-controller.md) - [域名和 SSL 证书](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/advanced-configuration/domain-and-ssl-certificate.md) - [Dify 系统 Logo](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/advanced-configuration/dify-system-logo.md) - [模型供应商](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/advanced-configuration/model-provider.md) - [工具](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/advanced-configuration/tools.md) - [环境变量说明](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/advanced-configuration/environment-variables.md) - [Dify Helm Chart](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/advanced-configuration/dify-helm-chart.md) ###### 向量数据库 - [向量数据库简介](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/advanced-configuration/vector-database.md) - [Qdrant 单节点](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/advanced-configuration/qdrant/single-node.md) - [Qdrant 集群部署](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/advanced-configuration/qdrant/qdrant-cluster.md) ###### Docker - [Docker 仓库](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/advanced-configuration/docker/docker-registry.md) ###### Docker Compose - [自定义 Icon](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/advanced-configuration/docker-compose/icon-customization.md) ##### 云基础设施 - [Azure POC 基础设施设置](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/cloud-infrastructure/azure-poc-infra-setup.md) - [AWS CDK 部署指南](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/cloud-infrastructure/aws-setup.md) ##### 常见问题 - [部署相关](https://enterprise-docs.dify.ai/zh/2.7.x/deploy/faq/deploying.md) #### 管理 - [工作区管理](https://enterprise-docs.dify.ai/zh/2.7.x/administer/workspace-management.md) - [企业级 APIs](https://enterprise-docs.dify.ai/zh/2.7.x/administer/admin-apis.md): 要求 Dify 企业版版本 ≥ v2.2.0 - [品牌设置](https://enterprise-docs.dify.ai/zh/2.7.x/administer/branding.md) - [系统管理员](https://enterprise-docs.dify.ai/zh/2.7.x/administer/system-settings.md) - [常见问题](https://enterprise-docs.dify.ai/zh/2.7.x/administer/faq.md) ##### 成员管理 - [成员管理](https://enterprise-docs.dify.ai/zh/2.7.x/administer/members-management.md) ###### 自动同步成员 - [同步成员](https://enterprise-docs.dify.ai/zh/2.7.x/administer/members/synchronization/sync-team-members.md): 通过 SCIM 标准自动同步组织成员。版本号 ≥ v2.7.0 - [Azure](https://enterprise-docs.dify.ai/zh/2.7.x/administer/members/synchronization/azure.md): 通过 SCIM 标准自动同步组织成员。版本号 ≥ v2.7.0 - [Okta](https://enterprise-docs.dify.ai/zh/2.7.x/administer/members/synchronization/okta.md): 通过 SCIM 标准自动同步组织成员。版本号 ≥ v2.7.0 ##### 身份认证 - [身份认证](https://enterprise-docs.dify.ai/zh/2.7.x/administer/authentication.md) - [两步验证](https://enterprise-docs.dify.ai/zh/2.7.x/administer/2sv.md) ###### 企业 SSO - [SSO 认证介绍](https://enterprise-docs.dify.ai/zh/2.7.x/administer/sso/introduction.md) ###### Okta - [使用 Okta 配置 OIDC](https://enterprise-docs.dify.ai/zh/2.7.x/administer/sso/okta/oidc.md) - [使用 Okta 配置 SAML](https://enterprise-docs.dify.ai/zh/2.7.x/administer/sso/okta/saml.md) - [使用 Okta 配置 OAuth2](https://enterprise-docs.dify.ai/zh/2.7.x/administer/sso/okta/oauth2.md) ###### Azure - [使用 Azure 配置 SAML](https://enterprise-docs.dify.ai/zh/2.7.x/administer/sso/azure/saml.md) ###### GitHub - [使用 GitHub 配置 OAuth2](https://enterprise-docs.dify.ai/zh/2.7.x/administer/sso/github/oauth2.md) #### 使用 ##### 编排 - [应用工具箱](https://enterprise-docs.dify.ai/zh/2.7.x/use/build/additional-features.md): 让 Dify 应用更实用的可选功能 ###### 工作流与对话流 - [Workflow 与 Chatflow](https://enterprise-docs.dify.ai/zh/2.7.x/use/build/workflow-chatflow.md): 构建将 AI 模型、工具和逻辑组合为可靠、可重复流程的 Agentic 工作流 - [编排逻辑](https://enterprise-docs.dify.ai/zh/2.7.x/use/build/orchestrate-node.md): 构建 Workflow 或 Chatflow 时,如何排列、嵌套与复用节点 - [快捷键](https://enterprise-docs.dify.ai/zh/2.7.x/use/build/shortcut-key.md): 使用键盘快捷键更快地构建 Dify 工作流 - [版本控制](https://enterprise-docs.dify.ai/zh/2.7.x/use/build/version-control.md) ###### 节点 - [开始](https://enterprise-docs.dify.ai/zh/2.7.x/use/nodes/user-input.md): 收集用户输入以启动 Workflow 和 Chatflow 应用程序 - [大语言模型](https://enterprise-docs.dify.ai/zh/2.7.x/use/nodes/llm.md): 调用语言模型进行文本生成和分析 - [知识检索](https://enterprise-docs.dify.ai/zh/2.7.x/use/nodes/knowledge-retrieval.md) - [直接回复](https://enterprise-docs.dify.ai/zh/2.7.x/use/nodes/answer.md) - [结束](https://enterprise-docs.dify.ai/zh/2.7.x/use/nodes/output.md): 定义工作流的最终输出内容 - [问题分类器](https://enterprise-docs.dify.ai/zh/2.7.x/use/nodes/question-classifier.md) - [If-Else](https://enterprise-docs.dify.ai/zh/2.7.x/use/nodes/ifelse.md): 为工作流添加条件逻辑和分支 - [迭代](https://enterprise-docs.dify.ai/zh/2.7.x/use/nodes/iteration.md) - [代码](https://enterprise-docs.dify.ai/zh/2.7.x/use/nodes/code.md) - [模板转换](https://enterprise-docs.dify.ai/zh/2.7.x/use/nodes/template.md): 使用 Jinja2 模板转换和格式化数据 - [变量聚合器](https://enterprise-docs.dify.ai/zh/2.7.x/use/nodes/variable-aggregator.md): 将互斥工作流分支汇聚为单一输出 - [文档提取器](https://enterprise-docs.dify.ai/zh/2.7.x/use/nodes/doc-extractor.md) - [变量赋值器](https://enterprise-docs.dify.ai/zh/2.7.x/use/nodes/variable-assigner.md): 在 Chatflow 应用中管理持久化会话变量 - [参数提取器](https://enterprise-docs.dify.ai/zh/2.7.x/use/nodes/parameter-extractor.md) - [HTTP 请求](https://enterprise-docs.dify.ai/zh/2.7.x/use/nodes/http-request.md) - [列表操作符](https://enterprise-docs.dify.ai/zh/2.7.x/use/nodes/list-operator.md): 筛选、排序和选择数组中的元素 - [工具节点](https://enterprise-docs.dify.ai/zh/2.7.x/use/nodes/tools.md): 连接外部服务和 API ###### 调试 - [处理错误](https://enterprise-docs.dify.ai/zh/2.7.x/use/build/predefined-error-handling-logic.md) - [单节点](https://enterprise-docs.dify.ai/zh/2.7.x/use/debug/step-run.md) - [运行历史](https://enterprise-docs.dify.ai/zh/2.7.x/use/debug/history-and-logs.md) - [错误类型](https://enterprise-docs.dify.ai/zh/2.7.x/use/debug/error-type.md) ###### 基础应用 - [Agent](https://enterprise-docs.dify.ai/zh/2.7.x/use/build/agent.md): 模型能够自主推理、决策并使用工具的对话式应用 - [聊天助手](https://enterprise-docs.dify.ai/zh/2.7.x/use/build/chatbot.md): 通过模型和提示词构建对话式应用的最简单方式 - [文本生成应用](https://enterprise-docs.dify.ai/zh/2.7.x/use/build/text-generator.md): 通过提示词和用户输入生成文本的简单单轮应用 ##### 发布 - [分享你的 AI 应用](https://enterprise-docs.dify.ai/zh/2.7.x/use/publish/README.md) ###### Web App - [Workflow Web 应用](https://enterprise-docs.dify.ai/zh/2.7.x/use/publish/webapp/workflow-webapp.md): 通过批处理、结果管理和流畅的使用体验,将工作流转变为强大的 Web 应用 - [聊天 Web App](https://enterprise-docs.dify.ai/zh/2.7.x/use/publish/webapp/chatflow-webapp.md): 将 Chatflow 转变为具备持久化历史记录和交互功能的完整对话界面 - [Web App 设置](https://enterprise-docs.dify.ai/zh/2.7.x/use/publish/webapp/web-app-settings.md) - [访问控制](https://enterprise-docs.dify.ai/zh/2.7.x/use/publish/webapp/web-app-access.md): 通过三个访问级别,控制谁可以访问你发布的 Web 应用,从特定成员到完全公开。 - [嵌入 Web 应用](https://enterprise-docs.dify.ai/zh/2.7.x/use/publish/webapp/embedding-in-websites.md): 通过 iframe、聊天气泡组件或自定义集成,将已发布的 Web 应用部署到任何网站 ##### 监控 - [仪表盘](https://enterprise-docs.dify.ai/zh/2.7.x/use/monitor/analysis.md): 通过 Dify 内置的分析仪表盘监控性能、成本和用户参与度 - [日志](https://enterprise-docs.dify.ai/zh/2.7.x/use/monitor/logs.md): 监控实时对话、调试问题并收集用户反馈 - [标注系统](https://enterprise-docs.dify.ai/zh/2.7.x/use/monitor/annotation-reply.md) ###### 集成 - [集成 LangSmith](https://enterprise-docs.dify.ai/zh/2.7.x/use/monitor/integrations/integrate-langsmith.md) - [集成 Langfuse](https://enterprise-docs.dify.ai/zh/2.7.x/use/monitor/integrations/integrate-langfuse.md) - [集成 Opik](https://enterprise-docs.dify.ai/zh/2.7.x/use/monitor/integrations/integrate-opik.md) ##### 知识库 - [知识库](https://enterprise-docs.dify.ai/zh/2.7.x/use/knowledge/readme.md) - [测试检索](https://enterprise-docs.dify.ai/zh/2.7.x/use/knowledge/test-retrieval.md) - [在应用内集成知识库](https://enterprise-docs.dify.ai/zh/2.7.x/use/knowledge/integrate-knowledge-within-application.md): 在应用内关联知识库并配置召回设置,让回复更精准 ###### 创建 ###### 快速创建 - [快速创建知识库](https://enterprise-docs.dify.ai/zh/2.7.x/use/knowledge/create-knowledge/introduction.md) - [指定分段设置](https://enterprise-docs.dify.ai/zh/2.7.x/use/knowledge/create-knowledge/chunking-and-cleaning-text.md) - [指定索引方式与检索设置](https://enterprise-docs.dify.ai/zh/2.7.x/use/knowledge/create-knowledge/setting-indexing-methods.md) ###### 导入数据 - [上传本地文件](https://enterprise-docs.dify.ai/zh/2.7.x/use/knowledge/create-knowledge/import-text-data/readme.md) - [从 Notion 导入数据](https://enterprise-docs.dify.ai/zh/2.7.x/use/knowledge/create-knowledge/import-text-data/sync-from-notion.md) - [从网页导入数据](https://enterprise-docs.dify.ai/zh/2.7.x/use/knowledge/create-knowledge/import-text-data/sync-from-website.md) ###### 连接外部知识库 - [连接外部知识库](https://enterprise-docs.dify.ai/zh/2.7.x/use/knowledge/connect-external-knowledge-base.md): 通过 API 连接将外部知识源集成到 Dify 应用中,以使用自定义 RAG 系统或第三方知识服务 - [外部知识库 API](https://enterprise-docs.dify.ai/zh/2.7.x/use/knowledge/external-knowledge-api.md): 外部知识服务必须实现的 API 规范,用于与 Dify 集成 ###### 管理 - [维护知识库内容](https://enterprise-docs.dify.ai/zh/2.7.x/use/knowledge/manage-knowledge/maintain-knowledge-documents.md) - [调整知识库设置](https://enterprise-docs.dify.ai/zh/2.7.x/use/knowledge/manage-knowledge/introduction.md) ##### 工作空间 - [工作空间](https://enterprise-docs.dify.ai/zh/2.7.x/use/workspace/readme.md): 工作空间是 Dify 中的基础组织单位,你的团队所构建、配置和管理的一切都存在于工作空间中 - [模型供应商](https://enterprise-docs.dify.ai/zh/2.7.x/use/workspace/model-providers.md): 为工作空间添加模型供应商,让应用能够使用 LLM、Embedding 模型及其他 AI 服务 - [Dify 工具](https://enterprise-docs.dify.ai/zh/2.7.x/use/workspace/tools.md): 管理使 LLM 能够与外部服务和 API 交互的工具 - [管理应用](https://enterprise-docs.dify.ai/zh/2.7.x/use/workspace/app-management.md) - [管理成员](https://enterprise-docs.dify.ai/zh/2.7.x/use/workspace/team-members-management.md): 管理工作空间成员、角色和权限以构建高效的 AI 团队 - [个人设置](https://enterprise-docs.dify.ai/zh/2.7.x/use/workspace/personal-account-management.md): 管理你的个人资料、登录方式与界面偏好 ###### API 扩展 - [API 扩展](https://enterprise-docs.dify.ai/zh/2.7.x/use/workspace/api-extension/api-extension.md) - [外部数据工具](https://enterprise-docs.dify.ai/zh/2.7.x/use/workspace/api-extension/external-data-tool-api-extension.md) - [敏感内容审查](https://enterprise-docs.dify.ai/zh/2.7.x/use/workspace/api-extension/moderation-api-extension.md) - [使用 Cloudflare Workers 部署 API 扩展](https://enterprise-docs.dify.ai/zh/2.7.x/use/workspace/api-extension/cloudflare-worker.md) #### 开发者资源 ##### Workspace API ###### 指南 - [Dify API 快速开始](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/guides/get-started.md): 获取 API 密钥、发起第一个请求,并找到你的应用类型对应的接口 - [处理流式响应](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/guides/streaming.md): 选择响应模式、解析 SSE 流、按事件类型分发处理,并在连接断开后恢复 - [终端用户身份](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/guides/end-user-identity.md): user 字段标识什么、限定哪些数据,以及为何要在各次调用间保持一致 - [处理错误与速率限制](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/guides/errors.md): 错误响应的统一结构、各状态码类别的含义,以及哪些失败值得重试 ###### API 概览 - [Chatflow 应用 API](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/guides/chatflow.md): Chatflow 应用 API,涵盖对话消息、工作流级别流式事件、会话管理 - [Workflow 应用 API](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/guides/workflow.md): Workflow 应用 API,涵盖工作流执行、运行控制与流式传输、运行历史查询 - [知识库 API](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/guides/knowledge.md): 用于管理知识库、文档和分段的 API - [对话型应用 API](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/guides/chat.md): 面向聊天助手和 Agent 应用的 API,涵盖对话消息、会话管理、文件上传和语音转换 - [文本生成应用 API](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/guides/completion.md): 面向文本生成应用的 API,涵盖文本生成消息、文件上传、语音转换及反馈收集 ###### 应用 API ###### 对话消息 - [发送对话消息](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/chat-messages/send-chat-message.md): **适用于**:Chatflow、聊天助手、Agent。 - [停止对话消息生成](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/chat-messages/stop-chat-message-generation.md): **适用于**:Chatflow、聊天助手、Agent。 - [获取下一轮建议问题列表](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/chat-messages/get-next-suggested-questions.md): **适用于**:Chatflow、聊天助手、Agent。 ###### 文本生成消息 - [发送消息](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/completion-messages/send-completion-message.md): **适用于**:文本生成应用。 - [停止消息生成](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/completion-messages/stop-completion-message-generation.md): **适用于**:文本生成应用。 ###### 工作流运行 - [执行工作流](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/workflow-runs/run-workflow.md): **适用于**:Workflow。 - [停止工作流任务](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/workflow-runs/stop-workflow-task.md): **适用于**:Workflow。 - [获取工作流执行情况](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/workflow-runs/get-workflow-run-detail.md): **适用于**:Chatflow、Workflow。 - [获取工作流日志](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/workflow-runs/list-workflow-logs.md): **适用于**:Chatflow、Workflow。 ###### 会话管理 - [获取会话列表](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/conversations/list-conversations.md): **适用于**:Chatflow、聊天助手、Agent。 - [获取会话历史消息](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/conversations/list-conversation-messages.md): **适用于**:Chatflow、聊天助手、Agent。 - [重命名会话](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/conversations/rename-conversation.md): **适用于**:Chatflow、聊天助手、Agent。 - [删除会话](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/conversations/delete-conversation.md): **适用于**:Chatflow、聊天助手、Agent。 ###### 文件操作 - [上传文件](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/files/upload-file.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 ###### 语音与文字转换 - [语音转文字](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/audio/convert-audio-to-text.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 - [文字转语音](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/audio/convert-text-to-audio.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 ###### 应用配置 - [获取应用基本信息](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/applications/get-app-info.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 - [获取应用参数](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/applications/get-app-parameters.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 - [获取应用元数据](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/applications/get-app-meta.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 ###### 消息反馈 - [提交消息反馈](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/feedback/submit-message-feedback.md): **适用于**:Chatflow、聊天助手、Agent、文本生成应用。 ###### 知识库 API ###### 知识库 - [创建空知识库](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/knowledge-bases/create-an-empty-knowledge-base.md): 创建一个空知识库。之后用 [从文本创建文档](/zh/2.7.x/develop/api/documents/create-document-by-text) 或 [从文件创建文档](/zh/2.7.x/develop/api/documents/create-document-by-file) 向其中添加文档。 - [获取知识库列表](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/knowledge-bases/list-knowledge-bases.md): 返回知识库的分页列表,可按关键词或标签筛选。 - [删除知识库](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/knowledge-bases/delete-knowledge-base.md): 永久删除知识库及其所有文档。 - [从知识库检索分段 / 测试检索](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/knowledge-bases/retrieve-chunks-from-a-knowledge-base-test-retrieval.md): 搜索知识库,返回与查询最相关的分段,可用于生产环境检索和测试检索。 ###### 文档 - [从文本创建文档](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/documents/create-document-by-text.md): 在知识库中通过纯文本创建文档。索引异步进行;使用返回的 `batch` ID 通过 [获取文档嵌入状态(进度)](/zh/2.7.x/develop/api/documents/get-document-indexing-status) 跟踪。 - [从文件创建文档](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/documents/create-document-by-file.md): 在知识库中通过上传文件创建文档。支持 PDF、TXT、DOCX 等常见格式。索引异步进行;使用返回的 `batch` ID 通过 [获取文档嵌入状态(进度)](/zh/2.7.x/develop/api/documents/get-document-indexing-status) 跟踪。 - [获取知识库的文档列表](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/documents/list-documents.md): 返回知识库中文档的分页列表。 - [删除文档](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/documents/delete-document.md): 从知识库中永久删除文档及其所有分段。 - [获取文档嵌入状态(进度)](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/documents/get-document-indexing-status.md): 返回批次中每个文档的索引进度:当前阶段和分段完成计数。轮询直到每个 `indexing_status` 变为 `completed` 或 `error`。状态按 `waiting` → `parsing` → `cleaning` → `splitting` → `indexing` → `completed` 推进。 - [用文本更新文档](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/documents/update-document-by-text.md): 更新文档的文本内容、名称或处理配置。文本变更时会重新索引文档。 - [用文件更新文档](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/documents/update-document-by-file.md): 通过上传新文件更新文档,然后重新索引。 - [获取上传文件](https://enterprise-docs.dify.ai/api-reference/documents/获取上传文件.md): 返回通过文件上传创建的文档的源文件,包含带签名的预览和下载链接。仅 `data_source_type` 为 `upload_file` 的文档有源文件。 ###### 分段 - [向文档添加分段](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/chunks/create-chunks.md): 在文档中创建一个或多个分段。 - [从文档获取分段](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/chunks/list-chunks.md): 返回文档内分段的分页列表,可按关键词或索引状态筛选。 - [更新文档中的分段](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/chunks/update-chunk.md): 更新分段的字段。更新会为该分段重新触发索引。 - [删除文档中的分段](https://enterprise-docs.dify.ai/zh/2.7.x/develop/api/chunks/delete-chunk.md): 从文档中永久删除一个分段。 ### 2.6.x #### 部署 - [部署准备](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/checklist.md) - [资源清单](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/resources-checklist.md) - [激活许可证](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/license-activation.md) - [验证 Dify 服务状态](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/verify-services-status.md) ##### 安装指引 - [Kubernetes](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/prerequisites/kubernetes.md) - [Minikube](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/prerequisites/minikube.md) - [Docker Compose](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/prerequisites/docker-compose.md) ##### 测试/生产环境部署 - [测试环境部署](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/test-production/testing-deployment.md) - [生产环境部署](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/test-production/production-deployment.md) ##### 高级配置 - [持久化存储](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/advanced-configuration/persistent-storage.md) - [Postgresql 数据库](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/advanced-configuration/postgresql-database.md) - [Redis](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/advanced-configuration/redis.md) - [RAG](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/advanced-configuration/rag.md) - [邮件提供商](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/advanced-configuration/email-provider.md) - [文件上传](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/advanced-configuration/file-upload.md) - [Nginx Ingress 控制器](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/advanced-configuration/nginx-ingress-controller.md) - [域名和 SSL 证书](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/advanced-configuration/domain-and-ssl-certificate.md) - [Dify 系统 Logo](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/advanced-configuration/dify-system-logo.md) - [模型供应商](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/advanced-configuration/model-provider.md) - [工具](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/advanced-configuration/tools.md) - [环境变量说明](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/advanced-configuration/environment-variables.md) - [Dify Helm Chart](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/advanced-configuration/dify-helm-chart.md) ###### 向量数据库 - [向量数据库简介](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/advanced-configuration/vector-database.md) - [Qdrant 单节点](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/advanced-configuration/qdrant/single-node.md) - [Qdrant 集群部署](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/advanced-configuration/qdrant/qdrant-cluster.md) ###### Docker - [Docker 仓库](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/advanced-configuration/docker/docker-registry.md) ###### Docker Compose - [自定义 Icon](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/advanced-configuration/docker-compose/icon-customization.md) ##### 云基础设施 - [Azure POC 基础设施设置](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/cloud-infrastructure/azure-poc-infra-setup.md) - [AWS CDK 部署指南](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/cloud-infrastructure/aws-setup.md) ##### 常见问题 - [部署相关](https://enterprise-docs.dify.ai/zh/2.6.x/deploy/faq/deploying.md) #### 管理 - [工作区管理](https://enterprise-docs.dify.ai/zh/2.6.x/administer/workspace-management.md) - [成员管理](https://enterprise-docs.dify.ai/zh/2.6.x/administer/members-management.md) - [企业级 APIs](https://enterprise-docs.dify.ai/zh/2.6.x/administer/admin-apis.md): 要求 Dify 企业版版本 ≥ v2.2.0 - [品牌设置](https://enterprise-docs.dify.ai/zh/2.6.x/administer/branding.md) - [系统管理员](https://enterprise-docs.dify.ai/zh/2.6.x/administer/system-settings.md) - [常见问题](https://enterprise-docs.dify.ai/zh/2.6.x/administer/faq.md) ##### 身份认证 - [身份认证](https://enterprise-docs.dify.ai/zh/2.6.x/administer/authentication.md) - [两步验证](https://enterprise-docs.dify.ai/zh/2.6.x/administer/2sv.md) ###### 企业 SSO - [SSO 认证介绍](https://enterprise-docs.dify.ai/zh/2.6.x/administer/sso/introduction.md) ###### Okta - [使用 Okta 配置 OIDC](https://enterprise-docs.dify.ai/zh/2.6.x/administer/sso/okta/oidc.md) - [使用 Okta 配置 SAML](https://enterprise-docs.dify.ai/zh/2.6.x/administer/sso/okta/saml.md) - [使用 Okta 配置 OAuth2](https://enterprise-docs.dify.ai/zh/2.6.x/administer/sso/okta/oauth2.md) ###### Azure - [使用 Azure 配置 SAML](https://enterprise-docs.dify.ai/zh/2.6.x/administer/sso/azure/saml.md) ###### GitHub - [使用 GitHub 配置 OAuth2](https://enterprise-docs.dify.ai/zh/2.6.x/administer/sso/github/oauth2.md) #### 使用 ##### 编排 - [应用工具箱](https://enterprise-docs.dify.ai/zh/2.6.x/use/build/additional-features.md): 让 Dify 应用更实用的可选功能 ###### 工作流与对话流 - [Workflow 与 Chatflow](https://enterprise-docs.dify.ai/zh/2.6.x/use/build/workflow-chatflow.md): 构建将 AI 模型、工具和逻辑组合为可靠、可重复流程的 Agentic 工作流 - [编排逻辑](https://enterprise-docs.dify.ai/zh/2.6.x/use/build/orchestrate-node.md): 构建 Workflow 或 Chatflow 时,如何排列、嵌套与复用节点 - [快捷键](https://enterprise-docs.dify.ai/zh/2.6.x/use/build/shortcut-key.md): 使用键盘快捷键更快地构建 Dify 工作流 - [版本控制](https://enterprise-docs.dify.ai/zh/2.6.x/use/build/version-control.md) ###### 节点 - [开始](https://enterprise-docs.dify.ai/zh/2.6.x/use/nodes/user-input.md): 收集用户输入以启动 Workflow 和 Chatflow 应用程序 - [大语言模型](https://enterprise-docs.dify.ai/zh/2.6.x/use/nodes/llm.md): 调用语言模型进行文本生成和分析 - [知识检索](https://enterprise-docs.dify.ai/zh/2.6.x/use/nodes/knowledge-retrieval.md) - [直接回复](https://enterprise-docs.dify.ai/zh/2.6.x/use/nodes/answer.md) - [结束](https://enterprise-docs.dify.ai/zh/2.6.x/use/nodes/output.md): 定义工作流的最终输出内容 - [问题分类器](https://enterprise-docs.dify.ai/zh/2.6.x/use/nodes/question-classifier.md) - [If-Else](https://enterprise-docs.dify.ai/zh/2.6.x/use/nodes/ifelse.md): 为工作流添加条件逻辑和分支 - [迭代](https://enterprise-docs.dify.ai/zh/2.6.x/use/nodes/iteration.md) - [代码](https://enterprise-docs.dify.ai/zh/2.6.x/use/nodes/code.md) - [模板转换](https://enterprise-docs.dify.ai/zh/2.6.x/use/nodes/template.md): 使用 Jinja2 模板转换和格式化数据 - [变量聚合器](https://enterprise-docs.dify.ai/zh/2.6.x/use/nodes/variable-aggregator.md): 将互斥工作流分支汇聚为单一输出 - [文档提取器](https://enterprise-docs.dify.ai/zh/2.6.x/use/nodes/doc-extractor.md) - [变量赋值器](https://enterprise-docs.dify.ai/zh/2.6.x/use/nodes/variable-assigner.md): 在 Chatflow 应用中管理持久化会话变量 - [参数提取器](https://enterprise-docs.dify.ai/zh/2.6.x/use/nodes/parameter-extractor.md) - [HTTP 请求](https://enterprise-docs.dify.ai/zh/2.6.x/use/nodes/http-request.md) - [列表操作符](https://enterprise-docs.dify.ai/zh/2.6.x/use/nodes/list-operator.md): 筛选、排序和选择数组中的元素 - [工具节点](https://enterprise-docs.dify.ai/zh/2.6.x/use/nodes/tools.md): 连接外部服务和 API ###### 调试 - [处理错误](https://enterprise-docs.dify.ai/zh/2.6.x/use/build/predefined-error-handling-logic.md) - [单节点](https://enterprise-docs.dify.ai/zh/2.6.x/use/debug/step-run.md) - [运行历史](https://enterprise-docs.dify.ai/zh/2.6.x/use/debug/history-and-logs.md) - [错误类型](https://enterprise-docs.dify.ai/zh/2.6.x/use/debug/error-type.md) ###### 基础应用 - [Agent](https://enterprise-docs.dify.ai/zh/2.6.x/use/build/agent.md): 模型能够自主推理、决策并使用工具的对话式应用 - [聊天助手](https://enterprise-docs.dify.ai/zh/2.6.x/use/build/chatbot.md): 通过模型和提示词构建对话式应用的最简单方式 - [文本生成应用](https://enterprise-docs.dify.ai/zh/2.6.x/use/build/text-generator.md): 通过提示词和用户输入生成文本的简单单轮应用 ##### 发布 - [分享你的 AI 应用](https://enterprise-docs.dify.ai/zh/2.6.x/use/publish/README.md) ###### Web App - [Workflow Web 应用](https://enterprise-docs.dify.ai/zh/2.6.x/use/publish/webapp/workflow-webapp.md): 通过批处理、结果管理和流畅的使用体验,将工作流转变为强大的 Web 应用 - [聊天 Web App](https://enterprise-docs.dify.ai/zh/2.6.x/use/publish/webapp/chatflow-webapp.md): 将 Chatflow 转变为具备持久化历史记录和交互功能的完整对话界面 - [Web App 设置](https://enterprise-docs.dify.ai/zh/2.6.x/use/publish/webapp/web-app-settings.md) - [访问控制](https://enterprise-docs.dify.ai/zh/2.6.x/use/publish/webapp/web-app-access.md): 通过三个访问级别,控制谁可以访问你发布的 Web 应用,从特定成员到完全公开。 - [嵌入 Web 应用](https://enterprise-docs.dify.ai/zh/2.6.x/use/publish/webapp/embedding-in-websites.md): 通过 iframe、聊天气泡组件或自定义集成,将已发布的 Web 应用部署到任何网站 ##### 监控 - [仪表盘](https://enterprise-docs.dify.ai/zh/2.6.x/use/monitor/analysis.md): 通过 Dify 内置的分析仪表盘监控性能、成本和用户参与度 - [日志](https://enterprise-docs.dify.ai/zh/2.6.x/use/monitor/logs.md): 监控实时对话、调试问题并收集用户反馈 - [标注系统](https://enterprise-docs.dify.ai/zh/2.6.x/use/monitor/annotation-reply.md) ###### 集成 - [集成 LangSmith](https://enterprise-docs.dify.ai/zh/2.6.x/use/monitor/integrations/integrate-langsmith.md) - [集成 Langfuse](https://enterprise-docs.dify.ai/zh/2.6.x/use/monitor/integrations/integrate-langfuse.md) - [集成 Opik](https://enterprise-docs.dify.ai/zh/2.6.x/use/monitor/integrations/integrate-opik.md) ##### 知识库 - [知识库](https://enterprise-docs.dify.ai/zh/2.6.x/use/knowledge/readme.md) - [测试检索](https://enterprise-docs.dify.ai/zh/2.6.x/use/knowledge/test-retrieval.md) - [在应用内集成知识库](https://enterprise-docs.dify.ai/zh/2.6.x/use/knowledge/integrate-knowledge-within-application.md): 在应用内关联知识库并配置召回设置,让回复更精准 ###### 创建 ###### 快速创建 - [快速创建知识库](https://enterprise-docs.dify.ai/zh/2.6.x/use/knowledge/create-knowledge/introduction.md) - [指定分段设置](https://enterprise-docs.dify.ai/zh/2.6.x/use/knowledge/create-knowledge/chunking-and-cleaning-text.md) - [指定索引方式与检索设置](https://enterprise-docs.dify.ai/zh/2.6.x/use/knowledge/create-knowledge/setting-indexing-methods.md) ###### 导入数据 - [上传本地文件](https://enterprise-docs.dify.ai/zh/2.6.x/use/knowledge/create-knowledge/import-text-data/readme.md) - [从 Notion 导入数据](https://enterprise-docs.dify.ai/zh/2.6.x/use/knowledge/create-knowledge/import-text-data/sync-from-notion.md) - [从网页导入数据](https://enterprise-docs.dify.ai/zh/2.6.x/use/knowledge/create-knowledge/import-text-data/sync-from-website.md) ###### 连接外部知识库 - [连接外部知识库](https://enterprise-docs.dify.ai/zh/2.6.x/use/knowledge/connect-external-knowledge-base.md): 通过 API 连接将外部知识源集成到 Dify 应用中,以使用自定义 RAG 系统或第三方知识服务 - [外部知识库 API](https://enterprise-docs.dify.ai/zh/2.6.x/use/knowledge/external-knowledge-api.md): 外部知识服务必须实现的 API 规范,用于与 Dify 集成 ###### 管理 - [维护知识库内容](https://enterprise-docs.dify.ai/zh/2.6.x/use/knowledge/manage-knowledge/maintain-knowledge-documents.md) - [调整知识库设置](https://enterprise-docs.dify.ai/zh/2.6.x/use/knowledge/manage-knowledge/introduction.md) ##### 工作空间 - [工作空间](https://enterprise-docs.dify.ai/zh/2.6.x/use/workspace/readme.md): 工作空间是 Dify 中的基础组织单位,你的团队所构建、配置和管理的一切都存在于工作空间中 - [模型供应商](https://enterprise-docs.dify.ai/zh/2.6.x/use/workspace/model-providers.md): 为工作空间添加模型供应商,让应用能够使用 LLM、Embedding 模型及其他 AI 服务 - [Dify 工具](https://enterprise-docs.dify.ai/zh/2.6.x/use/workspace/tools.md): 管理使 LLM 能够与外部服务和 API 交互的工具 - [管理应用](https://enterprise-docs.dify.ai/zh/2.6.x/use/workspace/app-management.md) - [管理成员](https://enterprise-docs.dify.ai/zh/2.6.x/use/workspace/team-members-management.md): 管理工作空间成员、角色和权限以构建高效的 AI 团队 - [个人设置](https://enterprise-docs.dify.ai/zh/2.6.x/use/workspace/personal-account-management.md): 管理你的个人资料、登录方式与界面偏好 ###### API 扩展 - [API 扩展](https://enterprise-docs.dify.ai/zh/2.6.x/use/workspace/api-extension/api-extension.md) - [外部数据工具](https://enterprise-docs.dify.ai/zh/2.6.x/use/workspace/api-extension/external-data-tool-api-extension.md) - [敏感内容审查](https://enterprise-docs.dify.ai/zh/2.6.x/use/workspace/api-extension/moderation-api-extension.md) - [使用 Cloudflare Workers 部署 API 扩展](https://enterprise-docs.dify.ai/zh/2.6.x/use/workspace/api-extension/cloudflare-worker.md) #### 开发者资源 ##### Workspace API ###### 指南 - [Dify API 快速开始](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/guides/get-started.md): 获取 API 密钥、发起第一个请求,并找到你的应用类型对应的接口 - [处理流式响应](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/guides/streaming.md): 选择响应模式、解析 SSE 流、按事件类型分发处理,并在连接断开后恢复 - [终端用户身份](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/guides/end-user-identity.md): user 字段标识什么、限定哪些数据,以及为何要在各次调用间保持一致 - [处理错误与速率限制](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/guides/errors.md): 错误响应的统一结构、各状态码类别的含义,以及哪些失败值得重试 ###### API 概览 - [Chatflow 应用 API](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/guides/chatflow.md): Chatflow 应用 API,涵盖对话消息、工作流级别流式事件、会话管理 - [Workflow 应用 API](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/guides/workflow.md): Workflow 应用 API,涵盖工作流执行、运行控制与流式传输、运行历史查询 - [知识库 API](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/guides/knowledge.md): 用于管理知识库、文档和分段的 API - [对话型应用 API](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/guides/chat.md): 面向聊天助手和 Agent 应用的 API,涵盖对话消息、会话管理、文件上传和语音转换 - [文本生成应用 API](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/guides/completion.md): 面向文本生成应用的 API,涵盖文本生成消息、文件上传、语音转换及反馈收集 ###### 应用 API ###### 对话消息 - [发送对话消息](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/chat-messages/send-chat-message.md): **适用于**:Chatflow、聊天助手、Agent。 - [停止对话消息生成](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/chat-messages/stop-chat-message-generation.md): **适用于**:Chatflow、聊天助手、Agent。 - [获取下一轮建议问题列表](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/chat-messages/get-next-suggested-questions.md): **适用于**:Chatflow、聊天助手、Agent。 ###### 文本生成消息 - [发送消息](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/completion-messages/send-completion-message.md): **适用于**:文本生成应用。 - [停止消息生成](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/completion-messages/stop-completion-message-generation.md): **适用于**:文本生成应用。 ###### 工作流运行 - [执行工作流](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/workflow-runs/run-workflow.md): **适用于**:Workflow。 - [停止工作流任务](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/workflow-runs/stop-workflow-task.md): **适用于**:Workflow。 - [获取工作流执行情况](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/workflow-runs/get-workflow-run-detail.md): **适用于**:Chatflow、Workflow。 - [获取工作流日志](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/workflow-runs/list-workflow-logs.md): **适用于**:Chatflow、Workflow。 ###### 会话管理 - [获取会话列表](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/conversations/list-conversations.md): **适用于**:Chatflow、聊天助手、Agent。 - [获取会话历史消息](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/conversations/list-conversation-messages.md): **适用于**:Chatflow、聊天助手、Agent。 - [重命名会话](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/conversations/rename-conversation.md): **适用于**:Chatflow、聊天助手、Agent。 - [删除会话](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/conversations/delete-conversation.md): **适用于**:Chatflow、聊天助手、Agent。 ###### 文件操作 - [上传文件](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/files/upload-file.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 ###### 语音与文字转换 - [语音转文字](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/audio/convert-audio-to-text.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 - [文字转语音](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/audio/convert-text-to-audio.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 ###### 应用配置 - [获取应用基本信息](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/applications/get-app-info.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 - [获取应用参数](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/applications/get-app-parameters.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 - [获取应用元数据](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/applications/get-app-meta.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 ###### 消息反馈 - [提交消息反馈](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/feedback/submit-message-feedback.md): **适用于**:Chatflow、聊天助手、Agent、文本生成应用。 ###### 知识库 API ###### 知识库 - [创建空知识库](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/knowledge-bases/create-an-empty-knowledge-base.md): 创建一个空知识库。之后用 [从文本创建文档](/zh/2.6.x/develop/api/documents/create-document-by-text) 或 [从文件创建文档](/zh/2.6.x/develop/api/documents/create-document-by-file) 向其中添加文档。 - [获取知识库列表](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/knowledge-bases/list-knowledge-bases.md): 返回知识库的分页列表,可按关键词或标签筛选。 - [删除知识库](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/knowledge-bases/delete-knowledge-base.md): 永久删除知识库及其所有文档。 - [从知识库检索分段 / 测试检索](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/knowledge-bases/retrieve-chunks-from-a-knowledge-base-test-retrieval.md): 搜索知识库,返回与查询最相关的分段,可用于生产环境检索和测试检索。 ###### 文档 - [从文本创建文档](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/documents/create-document-by-text.md): 在知识库中通过纯文本创建文档。索引异步进行;使用返回的 `batch` ID 通过 [获取文档嵌入状态(进度)](/zh/2.6.x/develop/api/documents/get-document-indexing-status) 跟踪。 - [从文件创建文档](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/documents/create-document-by-file.md): 在知识库中通过上传文件创建文档。支持 PDF、TXT、DOCX 等常见格式。索引异步进行;使用返回的 `batch` ID 通过 [获取文档嵌入状态(进度)](/zh/2.6.x/develop/api/documents/get-document-indexing-status) 跟踪。 - [获取知识库的文档列表](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/documents/list-documents.md): 返回知识库中文档的分页列表。 - [删除文档](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/documents/delete-document.md): 从知识库中永久删除文档及其所有分段。 - [获取文档嵌入状态(进度)](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/documents/get-document-indexing-status.md): 返回批次中每个文档的索引进度:当前阶段和分段完成计数。轮询直到每个 `indexing_status` 变为 `completed` 或 `error`。状态按 `waiting` → `parsing` → `cleaning` → `splitting` → `indexing` → `completed` 推进。 - [用文本更新文档](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/documents/update-document-by-text.md): 更新文档的文本内容、名称或处理配置。文本变更时会重新索引文档。 - [用文件更新文档](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/documents/update-document-by-file.md): 通过上传新文件更新文档,然后重新索引。 - [获取上传文件](https://enterprise-docs.dify.ai/api-reference/documents/获取上传文件.md): 返回通过文件上传创建的文档的源文件,包含带签名的预览和下载链接。仅 `data_source_type` 为 `upload_file` 的文档有源文件。 ###### 分段 - [向文档添加分段](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/chunks/create-chunks.md): 在文档中创建一个或多个分段。 - [从文档获取分段](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/chunks/list-chunks.md): 返回文档内分段的分页列表,可按关键词或索引状态筛选。 - [更新文档中的分段](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/chunks/update-chunk.md): 更新分段的字段。更新会为该分段重新触发索引。 - [删除文档中的分段](https://enterprise-docs.dify.ai/zh/2.6.x/develop/api/chunks/delete-chunk.md): 从文档中永久删除一个分段。 ### 2.5.x #### 部署 - [部署准备](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/checklist.md) - [资源清单](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/resources-checklist.md) - [激活许可证](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/license-activation.md) - [验证 Dify 服务状态](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/verify-services-status.md) ##### 安装指引 - [Kubernetes](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/prerequisites/kubernetes.md) - [Minikube](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/prerequisites/minikube.md) - [Docker Compose](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/prerequisites/docker-compose.md) ##### 测试/生产环境部署 - [测试环境部署](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/test-production/testing-deployment.md) - [生产环境部署](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/test-production/production-deployment.md) ##### 高级配置 - [持久化存储](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/advanced-configuration/persistent-storage.md) - [Postgresql 数据库](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/advanced-configuration/postgresql-database.md) - [Redis](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/advanced-configuration/redis.md) - [RAG](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/advanced-configuration/rag.md) - [邮件提供商](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/advanced-configuration/email-provider.md) - [文件上传](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/advanced-configuration/file-upload.md) - [Nginx Ingress 控制器](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/advanced-configuration/nginx-ingress-controller.md) - [域名和 SSL 证书](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/advanced-configuration/domain-and-ssl-certificate.md) - [Dify 系统 Logo](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/advanced-configuration/dify-system-logo.md) - [模型供应商](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/advanced-configuration/model-provider.md) - [工具](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/advanced-configuration/tools.md) - [环境变量说明](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/advanced-configuration/environment-variables.md) - [Dify Helm Chart](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/advanced-configuration/dify-helm-chart.md) ###### 向量数据库 - [向量数据库简介](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/advanced-configuration/vector-database.md) - [Qdrant 单节点](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/advanced-configuration/qdrant/single-node.md) - [Qdrant 集群部署](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/advanced-configuration/qdrant/qdrant-cluster.md) ###### Docker - [Docker 仓库](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/advanced-configuration/docker/docker-registry.md) ###### Docker Compose - [自定义 Icon](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/advanced-configuration/docker-compose/icon-customization.md) ##### 云基础设施 - [Azure POC 基础设施设置](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/cloud-infrastructure/azure-poc-infra-setup.md) - [AWS CDK 部署指南](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/cloud-infrastructure/aws-setup.md) ##### 常见问题 - [部署相关](https://enterprise-docs.dify.ai/zh/2.5.x/deploy/faq/deploying.md) #### 管理 - [工作区管理](https://enterprise-docs.dify.ai/zh/2.5.x/administer/workspace-management.md) - [成员管理](https://enterprise-docs.dify.ai/zh/2.5.x/administer/members-management.md) - [企业级 APIs](https://enterprise-docs.dify.ai/zh/2.5.x/administer/admin-apis.md): 要求 Dify 企业版版本 ≥ v2.2.0 - [品牌设置](https://enterprise-docs.dify.ai/zh/2.5.x/administer/branding.md) - [系统管理员](https://enterprise-docs.dify.ai/zh/2.5.x/administer/system-settings.md) - [常见问题](https://enterprise-docs.dify.ai/zh/2.5.x/administer/faq.md) ##### 身份认证 - [身份认证](https://enterprise-docs.dify.ai/zh/2.5.x/administer/authentication.md) - [两步验证](https://enterprise-docs.dify.ai/zh/2.5.x/administer/2sv.md) ###### 企业 SSO - [SSO 认证介绍](https://enterprise-docs.dify.ai/zh/2.5.x/administer/sso/introduction.md) ###### Okta - [使用 Okta 配置 OIDC](https://enterprise-docs.dify.ai/zh/2.5.x/administer/sso/okta/oidc.md) - [使用 Okta 配置 SAML](https://enterprise-docs.dify.ai/zh/2.5.x/administer/sso/okta/saml.md) - [使用 Okta 配置 OAuth2](https://enterprise-docs.dify.ai/zh/2.5.x/administer/sso/okta/oauth2.md) ###### Azure - [使用 Azure 配置 SAML](https://enterprise-docs.dify.ai/zh/2.5.x/administer/sso/azure/saml.md) ###### GitHub - [使用 GitHub 配置 OAuth2](https://enterprise-docs.dify.ai/zh/2.5.x/administer/sso/github/oauth2.md) #### 使用 ##### 编排 - [应用工具箱](https://enterprise-docs.dify.ai/zh/2.5.x/use/build/additional-features.md): 让 Dify 应用更实用的可选功能 ###### 工作流与对话流 - [Workflow 与 Chatflow](https://enterprise-docs.dify.ai/zh/2.5.x/use/build/workflow-chatflow.md): 构建将 AI 模型、工具和逻辑组合为可靠、可重复流程的 Agentic 工作流 - [编排逻辑](https://enterprise-docs.dify.ai/zh/2.5.x/use/build/orchestrate-node.md): 构建 Workflow 或 Chatflow 时,如何排列、嵌套与复用节点 - [快捷键](https://enterprise-docs.dify.ai/zh/2.5.x/use/build/shortcut-key.md): 使用键盘快捷键更快地构建 Dify 工作流 - [版本控制](https://enterprise-docs.dify.ai/zh/2.5.x/use/build/version-control.md) ###### 节点 - [开始](https://enterprise-docs.dify.ai/zh/2.5.x/use/nodes/user-input.md): 收集用户输入以启动 Workflow 和 Chatflow 应用程序 - [大语言模型](https://enterprise-docs.dify.ai/zh/2.5.x/use/nodes/llm.md): 调用语言模型进行文本生成和分析 - [知识检索](https://enterprise-docs.dify.ai/zh/2.5.x/use/nodes/knowledge-retrieval.md) - [直接回复](https://enterprise-docs.dify.ai/zh/2.5.x/use/nodes/answer.md) - [结束](https://enterprise-docs.dify.ai/zh/2.5.x/use/nodes/output.md): 定义工作流的最终输出内容 - [问题分类器](https://enterprise-docs.dify.ai/zh/2.5.x/use/nodes/question-classifier.md) - [If-Else](https://enterprise-docs.dify.ai/zh/2.5.x/use/nodes/ifelse.md): 为工作流添加条件逻辑和分支 - [迭代](https://enterprise-docs.dify.ai/zh/2.5.x/use/nodes/iteration.md) - [代码](https://enterprise-docs.dify.ai/zh/2.5.x/use/nodes/code.md) - [模板转换](https://enterprise-docs.dify.ai/zh/2.5.x/use/nodes/template.md): 使用 Jinja2 模板转换和格式化数据 - [变量聚合器](https://enterprise-docs.dify.ai/zh/2.5.x/use/nodes/variable-aggregator.md): 将互斥工作流分支汇聚为单一输出 - [文档提取器](https://enterprise-docs.dify.ai/zh/2.5.x/use/nodes/doc-extractor.md) - [变量赋值器](https://enterprise-docs.dify.ai/zh/2.5.x/use/nodes/variable-assigner.md): 在 Chatflow 应用中管理持久化会话变量 - [参数提取器](https://enterprise-docs.dify.ai/zh/2.5.x/use/nodes/parameter-extractor.md) - [HTTP 请求](https://enterprise-docs.dify.ai/zh/2.5.x/use/nodes/http-request.md) - [列表操作符](https://enterprise-docs.dify.ai/zh/2.5.x/use/nodes/list-operator.md): 筛选、排序和选择数组中的元素 - [工具节点](https://enterprise-docs.dify.ai/zh/2.5.x/use/nodes/tools.md): 连接外部服务和 API ###### 调试 - [处理错误](https://enterprise-docs.dify.ai/zh/2.5.x/use/build/predefined-error-handling-logic.md) - [单节点](https://enterprise-docs.dify.ai/zh/2.5.x/use/debug/step-run.md) - [运行历史](https://enterprise-docs.dify.ai/zh/2.5.x/use/debug/history-and-logs.md) - [错误类型](https://enterprise-docs.dify.ai/zh/2.5.x/use/debug/error-type.md) ###### 基础应用 - [Agent](https://enterprise-docs.dify.ai/zh/2.5.x/use/build/agent.md): 模型能够自主推理、决策并使用工具的对话式应用 - [聊天助手](https://enterprise-docs.dify.ai/zh/2.5.x/use/build/chatbot.md): 通过模型和提示词构建对话式应用的最简单方式 - [文本生成应用](https://enterprise-docs.dify.ai/zh/2.5.x/use/build/text-generator.md): 通过提示词和用户输入生成文本的简单单轮应用 ##### 发布 - [分享你的 AI 应用](https://enterprise-docs.dify.ai/zh/2.5.x/use/publish/README.md) ###### Web App - [Workflow Web 应用](https://enterprise-docs.dify.ai/zh/2.5.x/use/publish/webapp/workflow-webapp.md): 通过批处理、结果管理和流畅的使用体验,将工作流转变为强大的 Web 应用 - [聊天 Web App](https://enterprise-docs.dify.ai/zh/2.5.x/use/publish/webapp/chatflow-webapp.md): 将 Chatflow 转变为具备持久化历史记录和交互功能的完整对话界面 - [Web App 设置](https://enterprise-docs.dify.ai/zh/2.5.x/use/publish/webapp/web-app-settings.md) - [访问控制](https://enterprise-docs.dify.ai/zh/2.5.x/use/publish/webapp/web-app-access.md): 已发布的 Web 应用默认公开;组织启用 WebApp SSO 后,可为单个应用要求 SSO 登录。 - [嵌入 Web 应用](https://enterprise-docs.dify.ai/zh/2.5.x/use/publish/webapp/embedding-in-websites.md): 通过 iframe、聊天气泡组件或自定义集成,将已发布的 Web 应用部署到任何网站 ##### 监控 - [仪表盘](https://enterprise-docs.dify.ai/zh/2.5.x/use/monitor/analysis.md): 通过 Dify 内置的分析仪表盘监控性能、成本和用户参与度 - [日志](https://enterprise-docs.dify.ai/zh/2.5.x/use/monitor/logs.md): 监控实时对话、调试问题并收集用户反馈 - [标注系统](https://enterprise-docs.dify.ai/zh/2.5.x/use/monitor/annotation-reply.md) ###### 集成 - [集成 LangSmith](https://enterprise-docs.dify.ai/zh/2.5.x/use/monitor/integrations/integrate-langsmith.md) - [集成 Langfuse](https://enterprise-docs.dify.ai/zh/2.5.x/use/monitor/integrations/integrate-langfuse.md) - [集成 Opik](https://enterprise-docs.dify.ai/zh/2.5.x/use/monitor/integrations/integrate-opik.md) ##### 知识库 - [知识库](https://enterprise-docs.dify.ai/zh/2.5.x/use/knowledge/readme.md) - [测试检索](https://enterprise-docs.dify.ai/zh/2.5.x/use/knowledge/test-retrieval.md) - [在应用内集成知识库](https://enterprise-docs.dify.ai/zh/2.5.x/use/knowledge/integrate-knowledge-within-application.md): 在应用内关联知识库并配置召回设置,让回复更精准 ###### 创建 ###### 快速创建 - [快速创建知识库](https://enterprise-docs.dify.ai/zh/2.5.x/use/knowledge/create-knowledge/introduction.md) - [指定分段设置](https://enterprise-docs.dify.ai/zh/2.5.x/use/knowledge/create-knowledge/chunking-and-cleaning-text.md) - [指定索引方式与检索设置](https://enterprise-docs.dify.ai/zh/2.5.x/use/knowledge/create-knowledge/setting-indexing-methods.md) ###### 导入数据 - [上传本地文件](https://enterprise-docs.dify.ai/zh/2.5.x/use/knowledge/create-knowledge/import-text-data/readme.md) - [从 Notion 导入数据](https://enterprise-docs.dify.ai/zh/2.5.x/use/knowledge/create-knowledge/import-text-data/sync-from-notion.md) - [从网页导入数据](https://enterprise-docs.dify.ai/zh/2.5.x/use/knowledge/create-knowledge/import-text-data/sync-from-website.md) ###### 连接外部知识库 - [连接外部知识库](https://enterprise-docs.dify.ai/zh/2.5.x/use/knowledge/connect-external-knowledge-base.md): 通过 API 连接将外部知识源集成到 Dify 应用中,以使用自定义 RAG 系统或第三方知识服务 - [外部知识库 API](https://enterprise-docs.dify.ai/zh/2.5.x/use/knowledge/external-knowledge-api.md): 外部知识服务必须实现的 API 规范,用于与 Dify 集成 ###### 管理 - [维护知识库内容](https://enterprise-docs.dify.ai/zh/2.5.x/use/knowledge/manage-knowledge/maintain-knowledge-documents.md) - [调整知识库设置](https://enterprise-docs.dify.ai/zh/2.5.x/use/knowledge/manage-knowledge/introduction.md) ##### 工作空间 - [工作空间](https://enterprise-docs.dify.ai/zh/2.5.x/use/workspace/readme.md): 工作空间是 Dify 中的基础组织单位,你的团队所构建、配置和管理的一切都存在于工作空间中 - [模型供应商](https://enterprise-docs.dify.ai/zh/2.5.x/use/workspace/model-providers.md): 为工作空间添加模型供应商,让应用能够使用 LLM、Embedding 模型及其他 AI 服务 - [Dify 工具](https://enterprise-docs.dify.ai/zh/2.5.x/use/workspace/tools.md): 管理使 LLM 能够与外部服务和 API 交互的工具 - [管理应用](https://enterprise-docs.dify.ai/zh/2.5.x/use/workspace/app-management.md) - [管理成员](https://enterprise-docs.dify.ai/zh/2.5.x/use/workspace/team-members-management.md): 管理工作空间成员、角色和权限以构建高效的 AI 团队 - [个人设置](https://enterprise-docs.dify.ai/zh/2.5.x/use/workspace/personal-account-management.md): 管理你的个人资料、登录方式与界面偏好 ###### API 扩展 - [API 扩展](https://enterprise-docs.dify.ai/zh/2.5.x/use/workspace/api-extension/api-extension.md) - [外部数据工具](https://enterprise-docs.dify.ai/zh/2.5.x/use/workspace/api-extension/external-data-tool-api-extension.md) - [敏感内容审查](https://enterprise-docs.dify.ai/zh/2.5.x/use/workspace/api-extension/moderation-api-extension.md) - [使用 Cloudflare Workers 部署 API 扩展](https://enterprise-docs.dify.ai/zh/2.5.x/use/workspace/api-extension/cloudflare-worker.md) #### 开发者资源 ##### Workspace API ###### 指南 - [Dify API 快速开始](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/guides/get-started.md): 获取 API 密钥、发起第一个请求,并找到你的应用类型对应的接口 - [处理流式响应](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/guides/streaming.md): 选择响应模式、解析 SSE 流、按事件类型分发处理,并在连接断开后恢复 - [终端用户身份](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/guides/end-user-identity.md): user 字段标识什么、限定哪些数据,以及为何要在各次调用间保持一致 - [处理错误与速率限制](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/guides/errors.md): 错误响应的统一结构、各状态码类别的含义,以及哪些失败值得重试 ###### API 概览 - [Chatflow 应用 API](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/guides/chatflow.md): Chatflow 应用 API,涵盖对话消息、工作流级别流式事件、会话管理 - [Workflow 应用 API](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/guides/workflow.md): Workflow 应用 API,涵盖工作流执行、运行控制与流式传输、运行历史查询 - [知识库 API](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/guides/knowledge.md): 用于管理知识库、文档和分段的 API - [对话型应用 API](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/guides/chat.md): 面向聊天助手和 Agent 应用的 API,涵盖对话消息、会话管理、文件上传和语音转换 - [文本生成应用 API](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/guides/completion.md): 面向文本生成应用的 API,涵盖文本生成消息、文件上传、语音转换及反馈收集 ###### 应用 API ###### 对话消息 - [发送对话消息](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/chat-messages/send-chat-message.md): **适用于**:Chatflow、聊天助手、Agent。 - [停止对话消息生成](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/chat-messages/stop-chat-message-generation.md): **适用于**:Chatflow、聊天助手、Agent。 - [获取下一轮建议问题列表](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/chat-messages/get-next-suggested-questions.md): **适用于**:Chatflow、聊天助手、Agent。 ###### 文本生成消息 - [发送消息](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/completion-messages/send-completion-message.md): **适用于**:文本生成应用。 - [停止消息生成](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/completion-messages/stop-completion-message-generation.md): **适用于**:文本生成应用。 ###### 工作流运行 - [执行工作流](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/workflow-runs/run-workflow.md): **适用于**:Workflow。 - [停止工作流任务](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/workflow-runs/stop-workflow-task.md): **适用于**:Workflow。 - [获取工作流执行情况](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/workflow-runs/get-workflow-run-detail.md): **适用于**:Chatflow、Workflow。 - [获取工作流日志](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/workflow-runs/list-workflow-logs.md): **适用于**:Chatflow、Workflow。 ###### 会话管理 - [获取会话列表](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/conversations/list-conversations.md): **适用于**:Chatflow、聊天助手、Agent。 - [获取会话历史消息](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/conversations/list-conversation-messages.md): **适用于**:Chatflow、聊天助手、Agent。 - [重命名会话](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/conversations/rename-conversation.md): **适用于**:Chatflow、聊天助手、Agent。 - [删除会话](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/conversations/delete-conversation.md): **适用于**:Chatflow、聊天助手、Agent。 ###### 文件操作 - [上传文件](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/files/upload-file.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 ###### 语音与文字转换 - [语音转文字](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/audio/convert-audio-to-text.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 - [文字转语音](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/audio/convert-text-to-audio.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 ###### 应用配置 - [获取应用基本信息](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/applications/get-app-info.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 - [获取应用参数](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/applications/get-app-parameters.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 - [获取应用元数据](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/applications/get-app-meta.md): **适用于**:Chatflow、Workflow、聊天助手、Agent、文本生成应用。 ###### 消息反馈 - [提交消息反馈](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/feedback/submit-message-feedback.md): **适用于**:Chatflow、聊天助手、Agent、文本生成应用。 ###### 知识库 API ###### 知识库 - [创建空知识库](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/knowledge-bases/create-an-empty-knowledge-base.md): 创建一个空知识库。之后用 [从文本创建文档](/zh/2.5.x/develop/api/documents/create-document-by-text) 或 [从文件创建文档](/zh/2.5.x/develop/api/documents/create-document-by-file) 向其中添加文档。 - [获取知识库列表](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/knowledge-bases/list-knowledge-bases.md): 返回知识库的分页列表,可按关键词或标签筛选。 - [删除知识库](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/knowledge-bases/delete-knowledge-base.md): 永久删除知识库及其所有文档。 - [从知识库检索分段 / 测试检索](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/knowledge-bases/retrieve-chunks-from-a-knowledge-base-test-retrieval.md): 搜索知识库,返回与查询最相关的分段,可用于生产环境检索和测试检索。 ###### 文档 - [从文本创建文档](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/documents/create-document-by-text.md): 在知识库中通过纯文本创建文档。索引异步进行;使用返回的 `batch` ID 通过 [获取文档嵌入状态(进度)](/zh/2.5.x/develop/api/documents/get-document-indexing-status) 跟踪。 - [从文件创建文档](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/documents/create-document-by-file.md): 在知识库中通过上传文件创建文档。支持 PDF、TXT、DOCX 等常见格式。索引异步进行;使用返回的 `batch` ID 通过 [获取文档嵌入状态(进度)](/zh/2.5.x/develop/api/documents/get-document-indexing-status) 跟踪。 - [获取知识库的文档列表](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/documents/list-documents.md): 返回知识库中文档的分页列表。 - [删除文档](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/documents/delete-document.md): 从知识库中永久删除文档及其所有分段。 - [获取文档嵌入状态(进度)](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/documents/get-document-indexing-status.md): 返回批次中每个文档的索引进度:当前阶段和分段完成计数。轮询直到每个 `indexing_status` 变为 `completed` 或 `error`。状态按 `waiting` → `parsing` → `cleaning` → `splitting` → `indexing` → `completed` 推进。 - [用文本更新文档](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/documents/update-document-by-text.md): 更新文档的文本内容、名称或处理配置。文本变更时会重新索引文档。 - [用文件更新文档](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/documents/update-document-by-file.md): 通过上传新文件更新文档,然后重新索引。 - [获取上传文件](https://enterprise-docs.dify.ai/api-reference/documents/获取上传文件.md): 返回通过文件上传创建的文档的源文件,包含带签名的预览和下载链接。仅 `data_source_type` 为 `upload_file` 的文档有源文件。 ###### 分段 - [向文档添加分段](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/chunks/create-chunks.md): 在文档中创建一个或多个分段。 - [从文档获取分段](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/chunks/list-chunks.md): 返回文档内分段的分页列表,可按关键词或索引状态筛选。 - [更新文档中的分段](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/chunks/update-chunk.md): 更新分段的字段。更新会为该分段重新触发索引。 - [删除文档中的分段](https://enterprise-docs.dify.ai/zh/2.5.x/develop/api/chunks/delete-chunk.md): 从文档中永久删除一个分段。 ## OpenAPI Specs - [openapi_service](/zh/3.13.x/develop/api/openapi_service.json) - [openapi_service](/zh/3.12.x/develop/api/openapi_service.json) - [openapi_service](/zh/3.11.x/develop/api/openapi_service.json) - [openapi_service](/zh/3.10.x/develop/api/openapi_service.json) - [openapi_service](/zh/3.9.x/develop/api/openapi_service.json) - [openapi_service](/zh/3.8.x/develop/api/openapi_service.json) - [openapi_service](/zh/3.7.x/develop/api/openapi_service.json) - [openapi_service](/zh/3.6.x/develop/api/openapi_service.json) - [openapi_service](/zh/3.5.x/develop/api/openapi_service.json) - [openapi_service](/zh/3.4.x/develop/api/openapi_service.json) - [openapi_service](/zh/2.5.x/develop/api/openapi_service.json) - [openapi_service](/zh/3.3.x/develop/api/openapi_service.json) - [openapi_service](/zh/3.2.x/develop/api/openapi_service.json) - [openapi_service](/zh/3.1.x/develop/api/openapi_service.json) - [openapi_service](/zh/3.0.x/develop/api/openapi_service.json) - [openapi_service](/zh/2.8.x/develop/api/openapi_service.json) - [openapi_service](/zh/2.7.x/develop/api/openapi_service.json) - [openapi_service](/zh/2.6.x/develop/api/openapi_service.json)