diff --git a/zh_CN/SUMMARY.md b/zh_CN/SUMMARY.md index b047871..4a79764 100644 --- a/zh_CN/SUMMARY.md +++ b/zh_CN/SUMMARY.md @@ -18,7 +18,7 @@ * [创建应用](guides/application-design/creating-an-application.md) * [提示词编排](guides/application-design/prompt-engineering/README.md) * [基础助手](guides/application-design/prompt-engineering/conversation-application.md) - * [智能助手(Agent)](guides/application-design/prompt-engineering/agent-assistant.md) + * [智能助手(Agent)](guides/application-design/prompt-engineering/zhi-neng-zhu-shou-agent.md) * [文本生成型应用](guides/application-design/prompt-engineering/text-generation-application.md) * [提示词编排专家模式](guides/application-design/prompt-engineering/prompt-engineering-1/README.md) * [提示词初始模版参考](guides/application-design/prompt-engineering/prompt-engineering-1/prompt-engineering-template.md) @@ -51,11 +51,31 @@ * [接入 Ollama 部署的本地模型](guides/model-configuration/ollama.md) * [工具配置](guides/tools/tool-configuration/README.md) * [StableDiffusion](guides/tools/tool-configuration/stable-diffusion.md) +* [工作流](guides/workflow/README.md) + * [基本概念](guides/workflow/concept.md) + * [节点说明](guides/workflow/node/README.md) + * [开始](guides/workflow/node/start.md) + * [结束](guides/workflow/node/end.md) + * [直接回复](guides/workflow/node/answer.md) + * [LLM](guides/workflow/node/llm.md) + * [知识检索](guides/workflow/node/knowledge\_retrieval.md) + * [问题分类](guides/workflow/node/question\_classifier.md) + * [条件分支](guides/workflow/node/ifelse.md) + * [代码执行](guides/workflow/node/code.md) + * [模板转换](guides/workflow/node/template.md) + * [变量赋值](guides/workflow/node/variable\_assigner.md) + * [HTTP 请求](guides/workflow/node/http\_request.md) + * [工具](guides/workflow/node/tools.md) + * [调试预览](guides/workflow/debug\_and\_preview/README.md) + * [对话/运行日志](guides/workflow/debug\_and\_preview/log.md) + * [检查清单](guides/workflow/debug\_and\_preview/checklist.md) + * [运行历史](guides/workflow/debug\_and\_preview/history.md) + * [应用发布](guides/workflow/publish.md) * [知识库](guides/knowledge-base/README.md) * [从 Notion 导入数据](guides/knowledge-base/sync-from-notion.md) * [通过 API 维护数据集](guides/knowledge-base/maintain-dataset-via-api.md) * [外部数据工具](guides/knowledge-base/external\_data\_tool.md) -* [工具](guides/tools/README.md) +* [工具](guides/gong-ju.md) * [快速接入工具](guides/tools/quick-tool-integration.md) * [高级接入工具](guides/tools/advanced-tool-integration.md) * [日志与标注](guides/logs.md) diff --git a/zh_CN/guides/application-design/prompt-engineering/agent-assistant.md b/zh_CN/guides/application-design/prompt-engineering/zhi-neng-zhu-shou-agent.md similarity index 100% rename from zh_CN/guides/application-design/prompt-engineering/agent-assistant.md rename to zh_CN/guides/application-design/prompt-engineering/zhi-neng-zhu-shou-agent.md diff --git a/zh_CN/guides/tools/README.md b/zh_CN/guides/gong-ju.md similarity index 79% rename from zh_CN/guides/tools/README.md rename to zh_CN/guides/gong-ju.md index fa6d4e1..e23ad9f 100644 --- a/zh_CN/guides/tools/README.md +++ b/zh_CN/guides/gong-ju.md @@ -13,7 +13,7 @@ ### 如何配置第一方工具 -

第一方工具列表

+

第一方工具列表

Dify 目前已支持: @@ -27,11 +27,11 @@ Dify 目前已支持: 若你需要直接使用 Dify 生态提供的第一方内置工具,你需要在使用前配置相应的凭据。 -

配置第一方工具凭据

+

配置第一方工具凭据

凭据校验成功后工具会显示“已授权”状态。配置凭据后,工作区中的所有成员都可以在编排应用程序时使用此工具。 -

第一方工具已授权

+

第一方工具已授权

### 如何创建自定义工具 @@ -39,15 +39,15 @@ Dify 目前已支持: 工具目前支持两种鉴权方式:无鉴权 和 API Key。 -

创建自定义工具

+

创建自定义工具

在导入 Schema 内容后系统会主动解析文件内的参数,并可预览工具具体的参数、 方法、路径。您也可以在此对工具参数进行测试。 -

自定义工具参数测试

+

自定义工具参数测试

完成自定义工具创建之后,工作区中的所有成员都可以在“工作室”内编排应用程序时使用此工具。 -

已添加自定义工具

+

已添加自定义工具

#### Cloudflare Workers @@ -60,8 +60,8 @@ Dify 目前已支持: 目前,您可以在“工作室”中创建**智能助手型应用**时,将已配置好凭据的工具在其中使用。 -

创建智能助手型应用时添加工具

+

创建智能助手型应用时添加工具

以下图为例,在财务分析应用内添加工具后,智能助手将在需要时自主调用工具,从工具中查询财务报告数据,并将数据分析后完成与用户之间的对话。 -

智能助手在对话中完成工具调用回复问题

+

智能助手在对话中完成工具调用回复问题

diff --git a/zh_CN/guides/workflow/README.md b/zh_CN/guides/workflow/README.md new file mode 100644 index 0000000..cf8ebc0 --- /dev/null +++ b/zh_CN/guides/workflow/README.md @@ -0,0 +1,2 @@ +# 工作流 + diff --git a/zh_CN/guides/workflow/concept.md b/zh_CN/guides/workflow/concept.md new file mode 100644 index 0000000..819798b --- /dev/null +++ b/zh_CN/guides/workflow/concept.md @@ -0,0 +1,2 @@ +# 基本概念 + diff --git a/zh_CN/guides/workflow/debug_and_preview/README.md b/zh_CN/guides/workflow/debug_and_preview/README.md new file mode 100644 index 0000000..0ff4892 --- /dev/null +++ b/zh_CN/guides/workflow/debug_and_preview/README.md @@ -0,0 +1,2 @@ +# 调试预览 + diff --git a/zh_CN/guides/workflow/debug_and_preview/checklist.md b/zh_CN/guides/workflow/debug_and_preview/checklist.md new file mode 100644 index 0000000..bd9bcfa --- /dev/null +++ b/zh_CN/guides/workflow/debug_and_preview/checklist.md @@ -0,0 +1,2 @@ +# 检查清单 + diff --git a/zh_CN/guides/workflow/debug_and_preview/history.md b/zh_CN/guides/workflow/debug_and_preview/history.md new file mode 100644 index 0000000..36adc32 --- /dev/null +++ b/zh_CN/guides/workflow/debug_and_preview/history.md @@ -0,0 +1,2 @@ +# 运行历史 + diff --git a/zh_CN/guides/workflow/debug_and_preview/log.md b/zh_CN/guides/workflow/debug_and_preview/log.md new file mode 100644 index 0000000..30a13e2 --- /dev/null +++ b/zh_CN/guides/workflow/debug_and_preview/log.md @@ -0,0 +1,2 @@ +# 对话/运行日志 + diff --git a/zh_CN/guides/workflow/node/README.md b/zh_CN/guides/workflow/node/README.md new file mode 100644 index 0000000..68f31e9 --- /dev/null +++ b/zh_CN/guides/workflow/node/README.md @@ -0,0 +1,3 @@ +# 节点说明 + +节点是工作流中的关键构成,通过连接不同功能的节点,执行工作流的一系列操作。 diff --git a/zh_CN/guides/workflow/node/answer.md b/zh_CN/guides/workflow/node/answer.md new file mode 100644 index 0000000..8d62b87 --- /dev/null +++ b/zh_CN/guides/workflow/node/answer.md @@ -0,0 +1,2 @@ +# 直接回复 + diff --git a/zh_CN/guides/workflow/node/code.md b/zh_CN/guides/workflow/node/code.md new file mode 100644 index 0000000..b1dbbe5 --- /dev/null +++ b/zh_CN/guides/workflow/node/code.md @@ -0,0 +1,2 @@ +# 代码执行 + diff --git a/zh_CN/guides/workflow/node/end.md b/zh_CN/guides/workflow/node/end.md new file mode 100644 index 0000000..5bec951 --- /dev/null +++ b/zh_CN/guides/workflow/node/end.md @@ -0,0 +1,2 @@ +# 结束 + diff --git a/zh_CN/guides/workflow/node/http_request.md b/zh_CN/guides/workflow/node/http_request.md new file mode 100644 index 0000000..c73b255 --- /dev/null +++ b/zh_CN/guides/workflow/node/http_request.md @@ -0,0 +1,2 @@ +# HTTP 请求 + diff --git a/zh_CN/guides/workflow/node/ifelse.md b/zh_CN/guides/workflow/node/ifelse.md new file mode 100644 index 0000000..8256d9c --- /dev/null +++ b/zh_CN/guides/workflow/node/ifelse.md @@ -0,0 +1,2 @@ +# 条件分支 + diff --git a/zh_CN/guides/workflow/node/knowledge_retrieval.md b/zh_CN/guides/workflow/node/knowledge_retrieval.md new file mode 100644 index 0000000..1eca3c5 --- /dev/null +++ b/zh_CN/guides/workflow/node/knowledge_retrieval.md @@ -0,0 +1,2 @@ +# 知识检索 + diff --git a/zh_CN/guides/workflow/node/llm.md b/zh_CN/guides/workflow/node/llm.md new file mode 100644 index 0000000..48379a6 --- /dev/null +++ b/zh_CN/guides/workflow/node/llm.md @@ -0,0 +1,6 @@ +--- +description: LLM +--- + +# LLM + diff --git a/zh_CN/guides/workflow/node/question_classifier.md b/zh_CN/guides/workflow/node/question_classifier.md new file mode 100644 index 0000000..ae50847 --- /dev/null +++ b/zh_CN/guides/workflow/node/question_classifier.md @@ -0,0 +1,2 @@ +# 问题分类 + diff --git a/zh_CN/guides/workflow/node/start.md b/zh_CN/guides/workflow/node/start.md new file mode 100644 index 0000000..a58e3f7 --- /dev/null +++ b/zh_CN/guides/workflow/node/start.md @@ -0,0 +1,2 @@ +# 开始 + diff --git a/zh_CN/guides/workflow/node/template.md b/zh_CN/guides/workflow/node/template.md new file mode 100644 index 0000000..54bebd7 --- /dev/null +++ b/zh_CN/guides/workflow/node/template.md @@ -0,0 +1,2 @@ +# 模板转换 + diff --git a/zh_CN/guides/workflow/node/tools.md b/zh_CN/guides/workflow/node/tools.md new file mode 100644 index 0000000..e7af555 --- /dev/null +++ b/zh_CN/guides/workflow/node/tools.md @@ -0,0 +1,2 @@ +# 工具 + diff --git a/zh_CN/guides/workflow/node/variable_assigner.md b/zh_CN/guides/workflow/node/variable_assigner.md new file mode 100644 index 0000000..85f4b82 --- /dev/null +++ b/zh_CN/guides/workflow/node/variable_assigner.md @@ -0,0 +1,2 @@ +# 变量赋值 + diff --git a/zh_CN/guides/workflow/publish.md b/zh_CN/guides/workflow/publish.md new file mode 100644 index 0000000..69cfd9b --- /dev/null +++ b/zh_CN/guides/workflow/publish.md @@ -0,0 +1,2 @@ +# 应用发布 +