diff --git a/zh_CN/.gitbook/assets/image (207).png b/zh_CN/.gitbook/assets/image (207).png new file mode 100644 index 0000000..e27de94 Binary files /dev/null and b/zh_CN/.gitbook/assets/image (207).png differ diff --git a/zh_CN/.gitbook/assets/image (208).png b/zh_CN/.gitbook/assets/image (208).png new file mode 100644 index 0000000..110f4ab Binary files /dev/null and b/zh_CN/.gitbook/assets/image (208).png differ diff --git a/zh_CN/.gitbook/assets/image (209).png b/zh_CN/.gitbook/assets/image (209).png new file mode 100644 index 0000000..01263d6 Binary files /dev/null and b/zh_CN/.gitbook/assets/image (209).png differ diff --git a/zh_CN/.gitbook/assets/image (210).png b/zh_CN/.gitbook/assets/image (210).png new file mode 100644 index 0000000..99d9805 Binary files /dev/null and b/zh_CN/.gitbook/assets/image (210).png differ diff --git a/zh_CN/.gitbook/assets/image (211).png b/zh_CN/.gitbook/assets/image (211).png new file mode 100644 index 0000000..f5ec635 Binary files /dev/null and b/zh_CN/.gitbook/assets/image (211).png differ diff --git a/zh_CN/guides/workflow/node/iteration.md b/zh_CN/guides/workflow/node/iteration.md index 423ed6b..902b081 100644 --- a/zh_CN/guides/workflow/node/iteration.md +++ b/zh_CN/guides/workflow/node/iteration.md @@ -14,7 +14,25 @@ 使用迭代节点可以实现更灵活的多步骤生成,充分发挥 Workflow 的能力。例如首先让 LLM 根据用户提供主题和摘要生成故事章节提纲,然后将故事章节提纲列作为输入,让 LLM 节点中进行多次迭代,直到生成完整的文故事。 -
+

长故事生成器

+ +**配置步骤** + +1. 在开始节点配置故事标题(title)和大纲(outline); + +

开始节点配置

+ +1. 通过 Jinja-2 模板节点将故事标题与大纲转换为完整文本; + +

模板节点

+ +3. 通过参数提取节点,将故事文本转换成为数组(Array)结构。定义提取参数为 `sections` ,参数类型为 `Array[Object]`,在指令内编写提取示例可以提高参数提取的效果。 + +

参数提取

+ +4. 将数组格式故事大纲作为迭代节点的输入,在 Iteration 内添加 LLM 节点处理 + + *** @@ -60,5 +78,9 @@ ### 如何获取列表格式的内容 -**🚧** 维护中 +**使用 CODE 节点返回** + + + +**使用 参数提取 节点返回**