Skip to content

Commit 0cd9843

Browse files
fix(eino): update en doc link
1 parent ce7421d commit 0cd9843

File tree

64 files changed

+217
-217
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+217
-217
lines changed

content/en/docs/eino/FAQ.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ If the subgraph and parent graph have different `State` types, use `ProcessState
134134

135135
# Q: How does `eino-ext` adapt multimodal input/output for supported models?
136136

137-
For multimodal support, see [https://www.cloudwego.io/en/docs/eino/ecosystem_integration/chat_model](https://www.cloudwego.io/en/docs/eino/ecosystem_integration/chat_model) and the corresponding examples for each model.
137+
For multimodal support, see [https://www.cloudwego.io/docs/eino/ecosystem_integration/chat_model](https://www.cloudwego.io/docs/eino/ecosystem_integration/chat_model) and the corresponding examples for each model.
138138

139139
# Q: Using `UserInputMultiContent` for multimodal input, but the model side seems to miss the data or cannot read `multicontent`
140140

content/en/docs/eino/core_modules/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ weight: 3
99

1010
Eino’s core modules include the following parts:
1111

12-
- **Components**: [Eino: Components](/en/docs/eino/core_modules/components)
12+
- **Components**: [Eino: Components](/docs/eino/core_modules/components)
1313

1414
Eino abstracts commonly used components in LLM applications, such as `ChatModel`, `Embedding`, `Retriever`. These are the building blocks for application capabilities and the atomic objects in complex orchestration.
1515

16-
- **Chain/Graph Orchestration**: [Eino: Chain/Graph Orchestration](/en/docs/eino/core_modules/chain_and_graph_orchestration/chain_graph_introduction)
16+
- **Chain/Graph Orchestration**: [Eino: Chain/Graph Orchestration](/docs/eino/core_modules/chain_and_graph_orchestration/chain_graph_introduction)
1717

1818
Multiple components are combined to implement business logic. Eino provides Chain/Graph orchestration that encapsulates the complexity inside Eino, exposing easy-to-understand interfaces for logic composition and unified cross-cutting governance.
1919

20-
- **Flow Integration (agents)**: [Eino: Flow Integration Components](/en/docs/eino/core_modules/flow_integration_components)
20+
- **Flow Integration (agents)**: [Eino: Flow Integration Components](/docs/eino/core_modules/flow_integration_components)
2121

2222
Eino wraps common LLM application patterns into simple and easy-to-use tools to greatly simplify development for general scenarios. Currently available: `ReAct Agent` and `Host Multi Agent`.

content/en/docs/eino/core_modules/chain_and_graph_orchestration/_index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ In LLM applications, `Components` provide atomic capabilities such as:
1414
- `Retriever`: retrieving relevant content
1515
- `ToolsNode`: invoking external tools
1616

17-
> For component details: [Eino: Components](/en/docs/eino/core_modules/components)
17+
> For component details: [Eino: Components](/docs/eino/core_modules/components)
1818
1919
Beyond atomic capabilities, applications must combine and chain them according to business scenarios. This is **orchestration**.
2020

@@ -37,16 +37,16 @@ Therefore, Eino offers a graph-based model (`node + edge`) where **components**
3737
Specifically:
3838

3939
- Everything centers on components. Clear encapsulation yields clear responsibilities and natural reuse.
40-
- See: [Eino: Components](/en/docs/eino/core_modules/components)
40+
- See: [Eino: Components](/docs/eino/core_modules/components)
4141
- Push business complexity into component implementations; the orchestration layer maintains global clarity.
4242
- Provide aspect capabilities via callbacks, enabling **unified governance** at the node level.
43-
- See: [Eino: Callback Manual](/en/docs/eino/core_modules/chain_and_graph_orchestration/callback_manual)
43+
- See: [Eino: Callback Manual](/docs/eino/core_modules/chain_and_graph_orchestration/callback_manual)
4444
- Provide call options for **extensibility** during rapid iteration.
45-
- See: [Eino: Call Option Capabilities](/en/docs/eino/core_modules/chain_and_graph_orchestration/call_option_capabilities)
45+
- See: [Eino: Call Option Capabilities](/docs/eino/core_modules/chain_and_graph_orchestration/call_option_capabilities)
4646
- Reinforce **type alignment** to reduce cognitive load and leverage Go’s type safety.
47-
- See: [Eino: Orchestration Design Principles](/en/docs/eino/core_modules/chain_and_graph_orchestration/orchestration_design_principles)
47+
- See: [Eino: Orchestration Design Principles](/docs/eino/core_modules/chain_and_graph_orchestration/orchestration_design_principles)
4848
- Provide **automatic stream conversion**, removing “stream handling” from the list of orchestration complexity sources.
49-
- See: [Eino: Streaming Essentials](/en/docs/eino/core_modules/chain_and_graph_orchestration/stream_programming_essentials)
49+
- See: [Eino: Streaming Essentials](/docs/eino/core_modules/chain_and_graph_orchestration/stream_programming_essentials)
5050

5151
Graphs are powerful and semantically complete; you can express branches, parallelism, and loops. The tradeoff is using `graph.AddXXXNode()` and `graph.AddEdge()` — powerful, but a bit verbose.
5252

content/en/docs/eino/core_modules/chain_and_graph_orchestration/callback_manual.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,11 @@ func (cm *ChatModel) Stream(ctx context.Context, in []*schema.Message, opts ...f
189189

190190
When a Component is orchestrated into a Graph Node, and the Component does not implement callbacks, the Node injects callback trigger points matching the Component’s streaming paradigm. For example, a ChatModelNode triggers OnStart/OnEnd around `Generate`, and OnStart/OnEndWithStreamOutput around `Stream`. Which timing is triggered depends on both Graph’s execution mode (Invoke/Stream/Collect/Transform) and the Component’s streaming support.
191191

192-
See [Streaming Essentials](/en/docs/eino/core_modules/chain_and_graph_orchestration/stream_programming_essentials).
192+
See [Streaming Essentials](/docs/eino/core_modules/chain_and_graph_orchestration/stream_programming_essentials).
193193

194194
### Graph-level Callbacks
195195

196-
Graph triggers callbacks at its own start/end/error timings. If Graph is called via `Invoke`, it triggers `OnStart/OnEnd/OnError`. If called via `Stream/Collect/Transform`, it triggers `OnStartWithStreamInput/OnEndWithStreamOutput/OnError` because Graph internally always executes as `Invoke` or `Transform`. See [Streaming Essentials](/en/docs/eino/core_modules/chain_and_graph_orchestration/stream_programming_essentials).
196+
Graph triggers callbacks at its own start/end/error timings. If Graph is called via `Invoke`, it triggers `OnStart/OnEnd/OnError`. If called via `Stream/Collect/Transform`, it triggers `OnStartWithStreamInput/OnEndWithStreamOutput/OnError` because Graph internally always executes as `Invoke` or `Transform`. See [Streaming Essentials](/docs/eino/core_modules/chain_and_graph_orchestration/stream_programming_essentials).
197197

198198
Note: Graph is also a component. Therefore, a graph callback is a special form of component callback. Per Node Callback semantics, when a node’s internal component (including a nested graph added via `AddGraphNode`) implements callback timings itself, the node reuses the component’s behavior and does not add duplicate node-level callbacks.
199199

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ func StatefulInterrupt(ctx context.Context, info any, state any) error
240240
func CompositeInterrupt(ctx context.Context, info any, state any, errs ...error)
241241
```
242242

243-
See design details: [Eino human-in-the-loop framework: architecture guide](/en/docs/eino/core_modules/eino_adk/agent_hitl)
243+
See design details: [Eino human-in-the-loop framework: architecture guide](/docs/eino/core_modules/eino_adk/agent_hitl)
244244

245245
## CheckPoint in Streaming
246246

content/en/docs/eino/core_modules/chain_and_graph_orchestration/orchestration_design_principles.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ AddChatModelNode("xxx", model, WithStreamStatePostHandler(postHandler))
140140

141141
### Invoke vs Stream Alignment
142142

143-
`Runnable` offers `Invoke/Stream/Collect/Transform`. See [Streaming Essentials](/en/docs/eino/core_modules/chain_and_graph_orchestration/stream_programming_essentials).
143+
`Runnable` offers `Invoke/Stream/Collect/Transform`. See [Streaming Essentials](/docs/eino/core_modules/chain_and_graph_orchestration/stream_programming_essentials).
144144

145145
Assume a `Graph[[]*schema.Message, []*schema.Message]` with a ChatModel node and a Lambda node, compiled to `Runnable[[]*schema.Message, []*schema.Message]`:
146146

@@ -221,7 +221,7 @@ Workflow maps fields across nodes; upstream structs are converted to maps, so th
221221
- Auto merge: see Fan‑in above
222222
- Auto copy: duplicate streams where needed (fan‑out to multiple downstreams, callbacks)
223223

224-
All orchestration elements can sense/handle streams (branch, state handler, callback handler, passthrough, lambda, etc.). See [Streaming Essentials](/en/docs/eino/core_modules/chain_and_graph_orchestration/stream_programming_essentials).
224+
All orchestration elements can sense/handle streams (branch, state handler, callback handler, passthrough, lambda, etc.). See [Streaming Essentials](/docs/eino/core_modules/chain_and_graph_orchestration/stream_programming_essentials).
225225

226226
### Global State
227227

@@ -233,7 +233,7 @@ All orchestration elements can sense/handle streams (branch, state handler, call
233233

234234
### Callback Injection
235235

236-
Components may or may not implement callback aspects. If a component implements `Checker` with `IsCallbacksEnabled()==true`, the framework uses the component’s internal callbacks; otherwise it wraps external callbacks reporting only input/output. Graph always injects callbacks with `RunInfo` for itself. See [Callback Manual](/en/docs/eino/core_modules/chain_and_graph_orchestration/callback_manual).
236+
Components may or may not implement callback aspects. If a component implements `Checker` with `IsCallbacksEnabled()==true`, the framework uses the component’s internal callbacks; otherwise it wraps external callbacks reporting only input/output. Graph always injects callbacks with `RunInfo` for itself. See [Callback Manual](/docs/eino/core_modules/chain_and_graph_orchestration/callback_manual).
237237

238238
### Option Distribution
239239

@@ -242,7 +242,7 @@ Components may or may not implement callback aspects. If a component implements
242242
- Specific nodes — `DesignateNode(key ...string)`
243243
- Nested graphs or their nodes — `DesignateNodeWithPath(path ...*NodePath)`
244244

245-
See [CallOption Capabilities](/en/docs/eino/core_modules/chain_and_graph_orchestration/call_option_capabilities).
245+
See [CallOption Capabilities](/docs/eino/core_modules/chain_and_graph_orchestration/call_option_capabilities).
246246

247247
### Graph Nesting
248248

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ weight: 4
88
---
99

1010
> 💡
11-
> Recommended reading first: [Eino: Overview](/en/docs/eino/overview) and [Eino: Orchestration Design Principles](/en/docs/eino/core_modules/chain_and_graph_orchestration/orchestration_design_principles)
11+
> Recommended reading first: [Eino: Overview](/docs/eino/overview) and [Eino: Orchestration Design Principles](/docs/eino/core_modules/chain_and_graph_orchestration/orchestration_design_principles)
1212
1313
## Streaming in Orchestration: Overview
1414

@@ -76,7 +76,7 @@ type Retriever interface {
7676
<tr><td>Tool</td><td>yes</td><td>yes</td><td>no</td><td>no</td></tr>
7777
</table>
7878

79-
Official Eino components: only `ChatModel` and `Tool` also support `Stream`; all others support `Invoke` only. See: [Eino: Components](/en/docs/eino/core_modules/components)
79+
Official Eino components: only `ChatModel` and `Tool` also support `Stream`; all others support `Invoke` only. See: [Eino: Components](/docs/eino/core_modules/components)
8080

8181
`Collect` and `Transform` are generally useful only within orchestration.
8282

@@ -99,7 +99,7 @@ If the Tool is `StreamableTool` (output is `StreamReader[Message]`), then Tool
9999
Eino’s automatic `StreamReader[T] → T` conversion applies whenever a component expects `T` but upstream produces `StreamReader[T]`. You may need to provide a custom concat function for `T`.
100100

101101
> 💡
102-
> The `StreamReader[T] → T` conversion may require a user-provided concat function. See [Orchestration Design Principles](/en/docs/eino/core_modules/chain_and_graph_orchestration/orchestration_design_principles) under “merge frames”.
102+
> The `StreamReader[T] → T` conversion may require a user-provided concat function. See [Orchestration Design Principles](/docs/eino/core_modules/chain_and_graph_orchestration/orchestration_design_principles) under “merge frames”.
103103
104104
Conversely, consider another ReAct diagram:
105105

content/en/docs/eino/core_modules/components/_index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,41 +26,41 @@ Mapping components to patterns:
2626

2727
1. Template and parameter preparation for LLM interaction: `ChatTemplate`
2828

29-
- See [Eino: ChatTemplate Guide](/en/docs/eino/core_modules/components/chat_template_guide)
29+
- See [Eino: ChatTemplate Guide](/docs/eino/core_modules/components/chat_template_guide)
3030

3131
2. Direct LLM interaction: `ChatModel`
3232

33-
- See [Eino: ChatModel Guide](/en/docs/eino/core_modules/components/chat_model_guide)
33+
- See [Eino: ChatModel Guide](/docs/eino/core_modules/components/chat_model_guide)
3434

3535
**Text semantics components:**
3636

3737
1. Document acquisition and processing: `Document.Loader`, `Document.Transformer`
3838

39-
- See [Document Loader Guide](/en/docs/eino/core_modules/components/document_loader_guide) and [Document Transformer Guide](/en/docs/eino/core_modules/components/document_transformer_guide)
39+
- See [Document Loader Guide](/docs/eino/core_modules/components/document_loader_guide) and [Document Transformer Guide](/docs/eino/core_modules/components/document_transformer_guide)
4040

4141
2. Semantic embedding of documents: `Embedding`
4242

43-
- See [Embedding Guide](/en/docs/eino/core_modules/components/embedding_guide)
43+
- See [Embedding Guide](/docs/eino/core_modules/components/embedding_guide)
4444

4545
3. Indexing and storage of embeddings: `Indexer`
4646

47-
- See [Indexer Guide](/en/docs/eino/core_modules/components/indexer_guide)
47+
- See [Indexer Guide](/docs/eino/core_modules/components/indexer_guide)
4848

4949
4. Retrieval of semantically related documents: `Retriever`
5050

51-
- See [Retriever Guide](/en/docs/eino/core_modules/components/retriever_guide)
51+
- See [Retriever Guide](/docs/eino/core_modules/components/retriever_guide)
5252

5353
**Decision and execution components:**
5454

5555
1. Tool-enabled decision making for LLMs: `ToolsNode`
5656

57-
- See [ToolsNode Guide](/en/docs/eino/core_modules/components/tools_node_guide)
57+
- See [ToolsNode Guide](/docs/eino/core_modules/components/tools_node_guide)
5858

5959
**Custom logic:**
6060

6161
1. User-defined business logic: `Lambda`
6262

63-
- See [Lambda Guide](/en/docs/eino/core_modules/components/lambda_guide)
63+
- See [Lambda Guide](/docs/eino/core_modules/components/lambda_guide)
6464

6565
Components provide application capabilities — the bricks and mortar of LLM app construction. Eino’s component abstractions follow these principles:
6666

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,10 @@ result, _ := run.Invoke(ctx, messages, compose.WithCallbacks(helper))
274274

275275
## Existing Implementations
276276

277-
1. OpenAI ChatModel: [ChatModel — OpenAI](/en/docs/eino/ecosystem_integration/chat_model/chat_model_openai)
278-
2. Ollama ChatModel: [ChatModel — Ollama](/en/docs/eino/ecosystem_integration/chat_model/chat_model_ollama)
279-
3. Ark ChatModel: [ChatModel — Ark](/en/docs/eino/ecosystem_integration/chat_model/chat_model_ark)
280-
4. More: [Eino ChatModel](/en/docs/eino/ecosystem_integration/chat_model/)
277+
1. OpenAI ChatModel: [ChatModel — OpenAI](/docs/eino/ecosystem_integration/chat_model/chat_model_openai)
278+
2. Ollama ChatModel: [ChatModel — Ollama](/docs/eino/ecosystem_integration/chat_model/chat_model_ollama)
279+
3. Ark ChatModel: [ChatModel — Ark](/docs/eino/ecosystem_integration/chat_model/chat_model_ark)
280+
4. More: [Eino ChatModel](/docs/eino/ecosystem_integration/chat_model/)
281281

282282
## Implementation Notes
283283

content/en/docs/eino/core_modules/components/document_loader_guide/_index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ log.Printf("doc content: %v", outDocs[0].Content)
141141

142142
## Existing Implementations
143143

144-
1. File Loader — local filesystem: [Loader — local file](/en/docs/eino/ecosystem_integration/document/loader_local_file)
145-
2. Web Loader — HTTP/HTTPS: [Loader — web url](/en/docs/eino/ecosystem_integration/document/loader_web_url)
146-
3. S3 Loader — S3-compatible storage: [Loader — Amazon S3](/en/docs/eino/ecosystem_integration/document/loader_amazon_s3)
144+
1. File Loader — local filesystem: [Loader — local file](/docs/eino/ecosystem_integration/document/loader_local_file)
145+
2. Web Loader — HTTP/HTTPS: [Loader — web url](/docs/eino/ecosystem_integration/document/loader_web_url)
146+
3. S3 Loader — S3-compatible storage: [Loader — Amazon S3](/docs/eino/ecosystem_integration/document/loader_amazon_s3)
147147

148148
## Implementation Notes
149149

@@ -252,7 +252,7 @@ func (l *CustomLoader) doLoad(ctx context.Context, src document.Source, opts *cu
252252

253253
## Other References
254254

255-
- [Eino: Document Transformer Guide](/en/docs/eino/core_modules/components/document_transformer_guide)
256-
- [Eino: Embedding Guide](/en/docs/eino/core_modules/components/embedding_guide)
257-
- [Eino: Indexer Guide](/en/docs/eino/core_modules/components/indexer_guide)
258-
- [Eino: Retriever Guide](/en/docs/eino/core_modules/components/retriever_guide)
255+
- [Eino: Document Transformer Guide](/docs/eino/core_modules/components/document_transformer_guide)
256+
- [Eino: Embedding Guide](/docs/eino/core_modules/components/embedding_guide)
257+
- [Eino: Indexer Guide](/docs/eino/core_modules/components/indexer_guide)
258+
- [Eino: Retriever Guide](/docs/eino/core_modules/components/retriever_guide)

0 commit comments

Comments
 (0)