Skip to content

Commit 15b367e

Browse files
docs(eino): sync chinese docs from feishu
1 parent 10d1a48 commit 15b367e

30 files changed

Lines changed: 870 additions & 367 deletions

content/zh/docs/eino/FAQ.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Description: ""
3-
date: "2026-03-02"
3+
date: "2026-03-24"
44
lastmod: ""
55
tags: []
66
title: FAQ
@@ -142,7 +142,7 @@ eino-ext 支持的多模态输入输出场景,可以查阅 [https://www.cloudw
142142

143143
eino-ext 部分 module 报错 undefined: schema.NewParamsOneOfByOpenAPIV3 等问题,升级报错的 eino-ext module 到最新版本即可。
144144

145-
如果 schema 改造比较复杂,可以使用社区提供的 JSONSchema 转换工具方法辅助转换
145+
如果 schema 改造比较复杂,可以使用 JSONSchema 转换方法文档中的工具方法辅助转换
146146

147147
# Q: Eino-ext 提供的 ChatModel 有哪些模型是支持 Response API 形式调用嘛?
148148

content/zh/docs/eino/core_modules/chain_and_graph_orchestration/chain_graph_introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ func main() {
243243

244244
out, err := r.Invoke(ctx, map[string]any{
245245
"message_histories": []*schema.Message{},
246-
"user_query": "我叫 zhangsan, 邮箱是 zhangsan@bytedance.com, 帮我推荐一处房产",
246+
"user_query": "我叫 zhangsan, 邮箱是 zhangsan@example.com, 帮我推荐一处房产",
247247
})
248248
if err != nil {
249249
logs.Errorf("Invoke failed, err=%v", err)

content/zh/docs/eino/core_modules/chain_and_graph_orchestration/checkpoint_interrupt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Description: ""
3-
date: "2026-03-02"
3+
date: "2026-03-24"
44
lastmod: ""
55
tags: []
66
title: Interrupt & CheckPoint使用手册
@@ -109,7 +109,7 @@ type CheckpointStore interface {
109109

110110
### 注册序列化方法
111111

112-
CheckPoint 的保存和读取涉及对 Graph 节点输入输出以及 State 的序列化和反序列化,在仅使用简单类型或 eino 内置类型(比如 Message 或 Document)时,用户无需额外操作;当引入自定义 struct 时,需要提前注册类型,Eino 提供了注册方法 `schema.RegisterName`
112+
CheckPoint 的保存和读取涉及对 Graph 节点输入输出以及 State 的序列化和反序列化,在仅使用简单类型或 eino 内置类型(比如 Message 或 Document)时,用户无需额外操作;当引入自定义 struct 时,需要提前注册类型,Eino 提供了注册方法 `schema.``RegisterName`
113113

114114
```go
115115
package main

content/zh/docs/eino/core_modules/chain_and_graph_orchestration/stream_programming_essentials.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Collect 和 Transform 两种流式范式,目前只在编排场景有用到。
101101
上面的 Concat message stream 是 Eino 框架自动提供的能力,即使不是 message,是任意的 T,只要满足特定的条件,Eino 框架都会自动去做这个 StreamReader[T] 到 T 的转化,这个条件是:**在编排中,当一个组件的上游输出是 StreamReader[T],但是组件只提供了 T 作为输入的业务接口时,框架会自动将 StreamReader[T] concat 成 T,再输入给这个组件。**
102102

103103
> 💡
104-
> 框架自动将 StreamReader[T] concat 成 T 的过程,可能需要用户提供一个 Concat function。详见 [Eino: 编排的设计理念](/zh/docs/eino/core_modules/chain_and_graph_orchestration/orchestration_design_principles#share-FaVnd9E2foy4fAxtbTqcsgq3n5f) 中关于“合并帧”的章节。
104+
> 框架自动将 StreamReader[T] concat 成 T 的过程,可能需要用户提供一个 Concat function。详见 [Eino: 编排的设计理念](/zh/docs/eino/core_modules/chain_and_graph_orchestration/orchestration_design_principles) 中关于“合并帧”的章节。
105105
106106
另一方面,考虑一个相反的例子。还是 React Agent,这次是一个更完整的编排示意图:
107107

content/zh/docs/eino/core_modules/components/chat_model_guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Description: ""
3-
date: "2026-03-09"
3+
date: "2026-03-24"
44
lastmod: ""
55
tags: []
66
title: ChatModel 使用说明

content/zh/docs/eino/core_modules/eino_adk/Eino_ADK_ChatModelAgentMiddleware/Middleware_FileSystem/_index.md

Lines changed: 0 additions & 237 deletions
This file was deleted.

content/zh/docs/eino/core_modules/eino_adk/Eino_ADK_ChatModelAgentMiddleware/Middleware_PatchToolCalls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ date: "2026-03-09"
44
lastmod: ""
55
tags: []
66
title: PatchToolCalls
7-
weight: 7
7+
weight: 8
88
---
99

1010
adk/middlewares/patchtoolcalls

content/zh/docs/eino/core_modules/eino_adk/Eino_ADK_ChatModelAgentMiddleware/Middleware_PlanTask.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ date: "2026-03-09"
44
lastmod: ""
55
tags: []
66
title: PlanTask
7-
weight: 4
7+
weight: 6
88
---
99

1010
# PlanTask 中间件

0 commit comments

Comments
 (0)