Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudwego/eino-examples
/ functions
Functions
1,121 in github.com/cloudwego/eino-examples
⨍
Functions
1,121
◇
Types & classes
448
↓ 1 callers
Function
tryExtractCodeSnippet
(res string)
adk/multiagent/integration-excel-agent/tools/python_runner.go:96
↓ 1 callers
Function
updateQueryParams
(params)
quickstart/eino_assistant/cmd/einoagent/task/web/script.js:12
↓ 1 callers
Function
userPrompt
()
adk/agentic/retry_max_output_tokens/main.go:207
↓ 1 callers
Function
userRequest
(reportPath string)
adk/agentic/research_assistant/prompt.go:49
↓ 1 callers
Function
validateResearchReport
(reportPath string)
adk/agentic/research_assistant/main.go:113
↓ 1 callers
Function
verifyGobRoundTrip
()
flow/agent/react/memory_example/main.go:172
↓ 1 callers
Method
wait
()
flow/agent/multiagent/plan_execute/main.go:167
Function
AddTodoFunc
(_ context.Context, params *TodoAddParams)
quickstart/todoagent/main.go:221
Function
ArrangePerformances
(_ context.Context, in *ArrangePerformancesRequest)
flow/agent/multiagent/plan_execute/tools/theme_park.go:420
Function
BuildTool
BuildTool constructs the answer_from_document tool backed by the RAG workflow. It uses graphtool.NewInvokableGraphTool, which compiles the workflow pe
quickstart/chatwitheino/rag/rag.go:109
Function
ChatStreamEino
(ctx context.Context, c *app.RequestContext)
flow/agent/deer-go/biz/handler/deer.go:38
Method
Compile
(ctx context.Context, opts ...compose.GraphCompileOption)
adk/common/tool/graphtool/graph_tool.go:33
Method
Description
(ctx context.Context)
adk/intro/custom/myagent.go:33
Method
Description
(_ context.Context)
adk/human-in-the-loop/8_supervisor-plan-execute/agent.go:94
Method
Description
(ctx context.Context)
adk/human-in-the-loop/3_feedback-loop/reviewer_agent.go:42
Method
Description
(ctx context.Context)
adk/multiagent/integration-excel-agent/agents/wrap_plan.go:48
Method
Description
(context.Context)
quickstart/chatwitheino/server/server_test.go:46
Function
EditFilePostProcess
(ctx context.Context, baseTool tool.InvokableTool, toolResponse, toolArguments string)
adk/multiagent/deep/tools/wrap.go:175
Function
EditFilePostProcess
(ctx context.Context, baseTool tool.InvokableTool, toolResponse, toolArguments string)
adk/multiagent/integration-excel-agent/tools/wrap.go:175
Function
ExampleOfCreateByAnyLambda
()
components/lambda/lambda.go:39
Function
ExampleOfCreateByInvokableLambda
()
components/lambda/lambda.go:77
Function
ExampleOfCreateByInvokableLambdaWithOptions
()
components/lambda/lambda.go:66
Function
ExampleOfLambdaInChain
()
components/lambda/lambda.go:87
Function
ExampleOfLambdaInGraph
()
components/lambda/lambda.go:97
Function
ExampleOfMessageParserLambda
()
components/lambda/lambda.go:127
Function
ExampleOfToListLambda
()
components/lambda/lambda.go:110
Method
Exists
(ctx context.Context, path string)
adk/multiagent/deep/operator.go:50
Method
Exists
(ctx context.Context, path string)
adk/multiagent/integration-excel-agent/operator.go:50
Function
FilePostProcess
(ctx context.Context, baseTool tool.InvokableTool, toolResponse, toolArguments string)
adk/multiagent/deep/tools/wrap.go:119
Function
FilePostProcess
(ctx context.Context, baseTool tool.InvokableTool, toolResponse, toolArguments string)
adk/multiagent/integration-excel-agent/tools/wrap.go:119
Function
FixJSON
FixJSON is a helper endpoint that returns repaired JSON for diagnostics or standalone use. ToolsNode should prefer Invokable/Streamable middleware.
components/tool/middlewares/jsonfix/json_fix_middleware.go:45
Function
FollowUp
(ctx context.Context, input *FollowUpToolInput)
adk/common/tool/follow_up_tool.go:60
Function
FormatExecutedSteps
(in []planexecute.ExecutedStep)
adk/multiagent/deep/utils/utils.go:111
Method
Generate
(ctx context.Context, input []*schema.Message, opts ...model.Option)
flow/agent/react/unknown_tool_handler_example/main.go:61
Method
Generate
Generate 以非流式的方式调用多智能体.
flow/agent/multiagent/plan_execute/compose.go:218
Method
Generate
(ctx context.Context, input []*schema.Message, opts ...model.Option)
flow/agent/multiagent/plan_execute/debug/mock_model.go:45
Method
Generate
(ctx context.Context, input []*schema.Message, opts ...model.Option)
adk/human-in-the-loop/7_deep-agents/agent.go:50
Method
Generate
(ctx context.Context, input []*schema.Message, opts ...model.Option)
adk/human-in-the-loop/8_supervisor-plan-execute/agent.go:51
Method
Generate
(ctx context.Context, input []*schema.Message, opts ...model.Option)
adk/human-in-the-loop/6_plan-execute-replan/agent.go:50
Method
Generate
(ctx context.Context, input []*schema.Message, opts ...model.Option)
compose/graph/simple/graph.go:114
Method
Get
(ctx context.Context, checkPointID string)
flow/agent/deer-go/biz/model/state.go:78
Method
Get
(ctx context.Context, key string)
adk/common/store/store.go:40
Method
Get
(ctx context.Context, key string)
adk/multiagent/integration-project-manager/agent.go:163
Method
Get
(ctx context.Context, checkPointID string)
compose/graph/react_with_interrupt/main.go:249
Method
Get
Get retrieves checkpoint data for a batch index. Implements compose.CheckPointStore interface.
compose/batch/batch/store.go:64
Function
GetAdjacentLocation
GetAdjacentLocation 获取相邻的地点,可获取全部地点到其邻接地点的步行分钟数,也可获取单个地点到其邻接地点的步行分钟数.
flow/agent/multiagent/plan_execute/tools/theme_park.go:157
Function
GetAttractionInfo
GetAttractionInfo 获取游乐设施信息.
flow/agent/multiagent/plan_execute/tools/theme_park.go:242
Function
GetFollowUpTool
()
adk/common/tool/follow_up_tool.go:84
Method
GetFullMessages
()
quickstart/eino_assistant/pkg/mem/simple.go:154
Function
GetParkHour
GetParkHour 获取乐园的营业时间.
flow/agent/multiagent/plan_execute/tools/theme_park.go:190
Function
GetParkTicketPrice
(_ context.Context, _ *GetParkTicketPriceRequest)
flow/agent/multiagent/plan_execute/tools/theme_park.go:185
Function
GetPerformanceInfo
GetPerformanceInfo 获取演出信息.
flow/agent/multiagent/plan_execute/tools/theme_park.go:273
Function
GetQueueTime
GetQueueTime 获取游乐设施排队时间.
flow/agent/multiagent/plan_execute/tools/theme_park.go:198
Function
GetRestaurantInfo
GetRestaurantInfo 获取餐厅信息.
flow/agent/multiagent/plan_execute/tools/theme_park.go:302
Method
GetType
GetType returns the type name for this component.
flow/agent/react/dynamic_option_example/dynamic/model.go:137
Method
GetType
()
flow/agent/deer-go/biz/infra/mcp.go:63
Method
GetType
()
flow/agent/deer-go/biz/infra/mcp.go:72
Method
GetType
GetType returns the node name for callback identification. Implements components.Typer interface.
compose/batch/batch/node.go:66
Function
GetTypedContextParams
(ctx context.Context, mapKey string)
adk/multiagent/deep/params/params.go:43
Function
GetTypedContextParams
(ctx context.Context, mapKey string)
adk/multiagent/integration-excel-agent/params/params.go:43
Method
Go
(f func() error)
adk/multiagent/deep/utils/utils.go:66
Function
HandleChat
(ctx context.Context, c *app.RequestContext)
quickstart/eino_assistant/cmd/einoagent/agent/server.go:88
Function
HandleDeleteHistory
(ctx context.Context, c *app.RequestContext)
quickstart/eino_assistant/cmd/einoagent/agent/server.go:173
Function
HandleHistory
(ctx context.Context, c *app.RequestContext)
quickstart/eino_assistant/cmd/einoagent/agent/server.go:147
Function
HandleLog
(ctx context.Context, c *app.RequestContext)
quickstart/eino_assistant/cmd/einoagent/agent/server.go:188
Method
Info
(ctx context.Context)
flow/agent/react/tools/tools.go:43
Method
Info
(ctx context.Context)
flow/agent/react/agentic/tools.go:106
Method
Info
(ctx context.Context)
flow/agent/react/unknown_tool_handler_example/tools/sum.go:31
Method
Info
(_ context.Context)
adk/common/tool/graphtool/graph_tool.go:143
Method
Info
(ctx context.Context)
adk/multiagent/deep/tools/tree.go:50
Method
Info
(ctx context.Context)
adk/multiagent/deep/tools/wrap.go:51
Method
Info
(ctx context.Context)
adk/multiagent/deep/tools/edit.go:59
Method
Info
(ctx context.Context)
adk/multiagent/deep/tools/submit_result.go:84
Method
Info
(ctx context.Context)
adk/multiagent/deep/tools/read.go:60
Method
Info
(ctx context.Context)
adk/multiagent/deep/tools/read_image.go:59
Method
Info
(_ context.Context)
adk/multiagent/deep/tools/bash.go:57
Method
Info
(ctx context.Context)
adk/multiagent/deep/tools/python_runner.go:62
Method
Info
(ctx context.Context)
adk/multiagent/integration-excel-agent/tools/wrap.go:51
Method
Info
(ctx context.Context)
adk/multiagent/integration-excel-agent/tools/edit.go:62
Method
Info
(ctx context.Context)
adk/multiagent/integration-excel-agent/tools/submit_result.go:84
Method
Info
(ctx context.Context)
adk/multiagent/integration-excel-agent/tools/read.go:60
Method
Info
(ctx context.Context)
adk/multiagent/integration-excel-agent/tools/read_image.go:59
Method
Info
(_ context.Context)
adk/multiagent/integration-excel-agent/tools/bash.go:57
Method
Info
(ctx context.Context)
adk/multiagent/integration-excel-agent/tools/python_runner.go:62
Function
Init
()
quickstart/eino_assistant/pkg/redis/redis.go:40
Function
Invokable
Invokable wraps a non-stream tool endpoint to sanitize JSON arguments. Register via ToolCallMiddlewares to apply automatically to invokable tools.
components/tool/middlewares/jsonfix/json_fix_middleware.go:52
Function
Invokable
Invokable creates a middleware endpoint for non-streaming (invokable) tools. It intercepts the tool's execution. If the tool returns an error, it call
components/tool/middlewares/errorremover/errorremover.go:42
Method
InvokableRun
InvokableRun tool 接收的参数和返回都是 string, 就如大模型的 tool call 的返回一样, 因此需要自行处理参数和结果的序列化. 返回的 content 会作为 schema.Message 的 content, 一般来说是作为大模型的输入, 因此处理成大模型能更好理解
flow/agent/react/tools/tools.go:65
Method
InvokableRun
(ctx context.Context, argumentsInJSON string, opts ...tool.Option)
flow/agent/react/agentic/tools.go:100
Method
InvokableRun
(ctx context.Context, argumentsInJSON string, opts ...tool.Option)
flow/agent/react/agentic/tools.go:134
Method
InvokableRun
(ctx context.Context, argumentsInJSON string, opts ...tool.Option)
flow/agent/react/unknown_tool_handler_example/tools/sum.go:42
Method
InvokableRun
(ctx context.Context, argumentsInJSON string, opts ...tool.Option)
flow/agent/multiagent/plan_execute/tools/tools.go:117
Method
InvokableRun
(_ context.Context, argumentsInJSON string, _ ...tool.Option)
components/tool/middlewares/jsonfix/json_fix_middleware_test.go:113
Method
InvokableRun
(ctx context.Context, argumentsInJSON string, opts ...tool.Option, )
adk/common/tool/review_edit_wrapper.go:62
Method
InvokableRun
(ctx context.Context, argumentsInJSON string, opts ...tool.Option, )
adk/common/tool/approval_wrapper.go:55
Method
InvokableRun
(ctx context.Context, input string, opts ...tool.Option, )
adk/common/tool/graphtool/graph_tool.go:77
Method
InvokableRun
(ctx context.Context, argumentsInJSON string, opts ...tool.Option)
adk/multiagent/deep/tools/tree.go:58
Method
InvokableRun
(ctx context.Context, argumentsInJSON string, opts ...tool.Option)
adk/multiagent/deep/tools/wrap.go:55
Method
InvokableRun
(ctx context.Context, argumentsInJSON string, opts ...tool.Option)
adk/multiagent/deep/tools/edit.go:68
Method
InvokableRun
(ctx context.Context, argumentsInJSON string, opts ...tool.Option)
adk/multiagent/deep/tools/submit_result.go:88
← previous
next →
701–800 of 1,121, ranked by callers