Skip to content

Commit becca19

Browse files
authored
feat: change type from 'interface' to 'any' in eino chain (#1471)
1 parent 1620e59 commit becca19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ eino 的最基础编排方式为 graph,以及简化的封装 chain。不论是
8888

8989
```go
9090
func TestChain() {
91-
chain := compose.NewChain[map[string]interface,string]()
91+
chain := compose.NewChain[map[string]any,string]()
9292

9393
nodeTemplate := &fakeChatTemplate{} // input: map[string]any, output: []*schema.Message
9494

0 commit comments

Comments
 (0)