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
Function
TestInvokableMiddleware_RawQuotesInsideStringValue
(t *testing.T)
components/tool/middlewares/jsonfix/json_fix_middleware_test.go:168
Function
TestInvokableMiddleware_RepairsJSON
(t *testing.T)
components/tool/middlewares/jsonfix/json_fix_middleware_test.go:33
Function
TestInvokableMiddleware_UnescapedBackslashesAndSingleQuotesAndTrailingComma
(t *testing.T)
components/tool/middlewares/jsonfix/json_fix_middleware_test.go:143
Function
TestKindFromEnvDefaultsToAgentic
(t *testing.T)
quickstart/chatwitheino/msgops/msgops_test.go:25
Function
TestNewAssistantAgenticSetsCompletedStatus
(t *testing.T)
quickstart/chatwitheino/msgops/msgops_test.go:141
Function
TestNewLoopCreation
--------------------------------------------------------------------------- Tests --------------------------------------------------------------------
quickstart/chatwitheino/server/server_test.go:146
Function
TestNormalizeForSessionAgenticMessage
(t *testing.T)
quickstart/chatwitheino/msgops/msgops_test.go:49
Function
TestPreemptQueuesNewItem
(t *testing.T)
quickstart/chatwitheino/server/server_test.go:415
Function
TestServerRouteRegistration
Ensure our HTTP endpoints have the expected paths by checking route registration does not panic.
quickstart/chatwitheino/server/server_test.go:587
Function
TestState
(t *testing.T)
flow/agent/deer-go/biz/model/state_test.go:24
Function
TestStreamToWriterPersistsAgenticReasoning
(t *testing.T)
quickstart/chatwitheino/a2ui/streamer_test.go:27
Function
TestStreamableMiddleware_RepairsJSON
(t *testing.T)
components/tool/middlewares/jsonfix/json_fix_middleware_test.go:53
Function
TestToolsNodeMiddleware_RepairsInvokable
(t *testing.T)
components/tool/middlewares/jsonfix/json_fix_middleware_test.go:117
Function
ToolRequestRepairJSON
(ctx context.Context, baseTool tool.InvokableTool, toolArguments string)
adk/multiagent/deep/tools/wrap.go:80
Function
ToolRequestRepairJSON
(ctx context.Context, baseTool tool.InvokableTool, toolArguments string)
adk/multiagent/integration-excel-agent/tools/wrap.go:80
Function
TypeOf
()
adk/common/tool/graphtool/graph_tool.go:347
Method
UnmarshalJSON
(data []byte)
flow/agent/deer-go/biz/infra/mcp.go:80
Method
UnmarshalJSON
(b []byte)
flow/agent/deer-go/biz/model/state.go:61
Method
UnmarshalJSON
(bytes []byte)
adk/multiagent/deep/generic/plan.go:48
Method
UnmarshalJSON
(data []byte)
adk/multiagent/integration-excel-agent/generic/plan.go:31
Method
UnmarshalJSON
(bytes []byte)
adk/multiagent/integration-excel-agent/generic/plan.go:66
Function
UnmarshalMessage
UnmarshalMessage unmarshals one JSONL message line into M.
quickstart/chatwitheino/msgops/variant.go:180
Function
UpdateTodoFunc
(_ context.Context, params *TodoUpdateParams)
quickstart/todoagent/main.go:230
Function
ValidatePerformanceTimeTable
(_ context.Context, in *ValidatePerformanceTimeTableRequest)
flow/agent/multiagent/plan_execute/tools/theme_park.go:349
Function
ValidatePlanItems
(_ context.Context, in *ValidatePlanItemsRequest)
flow/agent/multiagent/plan_execute/tools/theme_park.go:545
Method
Wait
()
adk/multiagent/deep/utils/utils.go:67
Function
WithDebugOutput
(output *schema.Message)
flow/agent/multiagent/plan_execute/debug/mock_model.go:33
Function
WithDisableThinking
(disable bool)
adk/multiagent/deep/utils/model.go:122
Function
WithEncoding
WithEncoding 定制实现自主定义的 Option 方法
components/document/parser/customparser/custom_parser.go:36
Function
WithGraphToolOption
(opts ...compose.Option)
adk/common/tool/graphtool/graph_tool.go:62
Function
WithMaskFunc
WithMaskFunc provides a custom masking function for header values.
components/model/httptransport/curlrt.go:111
Function
WithResponseFormatJsonSchema
(schema *openai.ChatCompletionResponseFormatJSONSchema)
adk/multiagent/deep/utils/model.go:128
Function
WithStreamContentTypeFilter
WithStreamContentTypeFilter sets a filter to detect streaming responses.
components/model/httptransport/curlrt.go:122
Method
WithTools
(tools []*schema.ToolInfo)
flow/agent/react/unknown_tool_handler_example/main.go:78
Method
WithTools
(tools []*schema.ToolInfo)
adk/human-in-the-loop/7_deep-agents/agent.go:42
Method
WithTools
(tools []*schema.ToolInfo)
adk/human-in-the-loop/8_supervisor-plan-execute/agent.go:43
Method
WithTools
(tools []*schema.ToolInfo)
adk/human-in-the-loop/5_supervisor/agent.go:43
Method
WithTools
(tools []*schema.ToolInfo)
adk/human-in-the-loop/6_plan-execute-replan/agent.go:42
Method
WrapEnhancedInvokableToolCall
(_ context.Context, endpoint adk.EnhancedInvokableToolCallEndpoint, _ *adk.ToolContext)
adk/agent/ralph-loop/main.go:215
Method
WrapInvokableToolCall
(_ context.Context, endpoint adk.InvokableToolCallEndpoint, _ *adk.ToolContext)
adk/agent/ralph-loop/main.go:205
Method
WrapInvokableToolCall
WrapInvokableToolCall inserts an approval gate around the answer_from_document tool. All other tools pass through unchanged.
quickstart/chatwitheino/agent.go:122
Method
WrapInvokableToolCall
( _ context.Context, endpoint adk.InvokableToolCallEndpoint, _ *adk.ToolContext, )
quickstart/chatwitheino/helpers/middleware.go:44
Method
WrapInvokableToolCall
( _ context.Context, endpoint adk.InvokableToolCallEndpoint, tCtx *adk.ToolContext, )
quickstart/chatwitheino/cmd/ch08/main.go:259
Method
WrapInvokableToolCall
( _ context.Context, endpoint adk.InvokableToolCallEndpoint, tCtx *adk.ToolContext, )
quickstart/chatwitheino/cmd/ch09/main.go:297
Method
WrapInvokableToolCall
( _ context.Context, endpoint adk.InvokableToolCallEndpoint, tCtx *adk.ToolContext, )
quickstart/chatwitheino/cmd/ch10/main.go:540
Method
WrapInvokableToolCall
( _ context.Context, endpoint adk.InvokableToolCallEndpoint, tCtx *adk.ToolContext, )
quickstart/chatwitheino/cmd/ch07/main.go:245
Method
WrapStreamableToolCall
( _ context.Context, endpoint adk.StreamableToolCallEndpoint, _ *adk.ToolContext, )
quickstart/chatwitheino/helpers/middleware.go:61
Method
WrapStreamableToolCall
( _ context.Context, endpoint adk.StreamableToolCallEndpoint, tCtx *adk.ToolContext, )
quickstart/chatwitheino/cmd/ch08/main.go:299
Method
WrapStreamableToolCall
( _ context.Context, endpoint adk.StreamableToolCallEndpoint, tCtx *adk.ToolContext, )
quickstart/chatwitheino/cmd/ch09/main.go:337
Method
WrapStreamableToolCall
( _ context.Context, endpoint adk.StreamableToolCallEndpoint, tCtx *adk.ToolContext, )
quickstart/chatwitheino/cmd/ch07/main.go:285
Method
Write
Write encodes and stores messages using Redis SET.
flow/agent/react/memory_example/memory/redis.go:38
Method
Write
(p []byte)
quickstart/chatwitheino/cmd/ch10/main.go:462
Method
Write
(b []byte)
quickstart/chatwitheino/smoketest/main.go:110
Method
Write
(p []byte)
quickstart/chatwitheino/server/server.go:827
Method
__init__
(self)
flow/agent/deer-go/biz/mcps/python/server.py:13
Function
agentHandOff
type I = string type O = string 子图流转函数,由上一个子图决定接下来流转到哪个agent 并将其name写入 state.Goto ,该函数读取 state.Goto 并将控制权交给对应agent
flow/agent/deer-go/biz/eino/builder.go:34
Function
analyzeData
(_ context.Context, input *analyzeInput)
adk/cancel/graceful-exit/main.go:156
Function
arkStatusAndReason
(msg *schema.AgenticMessage)
adk/agentic/retry_max_output_tokens/retry.go:78
Function
bIRouter
(ctx context.Context, input string, opts ...any)
flow/agent/deer-go/biz/eino/investigator.go:74
Function
buildAgentTyped
(ctx context.Context)
quickstart/chatwitheino/agent.go:39
Function
buildAgentTyped
--- Agent construction ---
quickstart/chatwitheino/cmd/ch10/main.go:489
Function
createSession
(id, filePath string)
quickstart/chatwitheino/mem/store.go:236
Function
echoEndpoint
(_ context.Context, in *compose.ToolInput)
components/tool/middlewares/jsonfix/json_fix_middleware_test.go:29
Function
getDynamicOptions
getDynamicOptions is called before each ChatModel.Generate() call. It demonstrates how to dynamically modify options based on the current iteration: -
flow/agent/react/dynamic_option_example/main.go:275
Function
handleInterrupt
(ctx context.Context, runner *adk.TypedRunner[M], checkPointID string, interruptInfo *adk.InterruptInfo, reade
quickstart/chatwitheino/cmd/ch08/main.go:339
Function
handleInterrupt
(ctx context.Context, runner *adk.TypedRunner[M], checkPointID string, interruptInfo *adk.InterruptInfo, reade
quickstart/chatwitheino/cmd/ch09/main.go:377
Function
handleInterrupt
(ctx context.Context, runner *adk.TypedRunner[M], checkPointID string, interruptInfo *adk.InterruptInfo, reade
quickstart/chatwitheino/cmd/ch07/main.go:325
Method
handle_call_tool
(name: str, arguments: dict | None)
flow/agent/deer-go/biz/mcps/python/server.py:26
Method
handle_list_tools
()
flow/agent/deer-go/biz/mcps/python/server.py:22
Function
init
()
flow/agent/react/tools/service.go:37
Function
init
()
flow/agent/react/agentic/react.go:33
Function
init
()
flow/agent/react/dynamic_option_example/dynamic/state.go:41
Function
init
()
flow/agent/manus/manus.go:59
Function
init
()
flow/agent/deer-go/biz/model/state.go:27
Function
init
()
adk/human-in-the-loop/3_feedback-loop/reviewer_agent.go:28
Function
init
初始化函数:注册中断信息类型,确保检查点持久化时能够正确序列化
adk/human-in-the-loop/3_feedback-loop/main.go:35
Function
init
()
adk/common/tool/follow_up_tool.go:55
Function
init
()
adk/common/tool/review_edit_wrapper.go:49
Function
init
()
adk/common/tool/approval_wrapper.go:43
Function
init
()
adk/common/tool/graphtool/graph_tool.go:73
Function
init
()
adk/common/tool/graphtool/examples/4_nested_interrupt/main.go:67
Function
init
()
compose/batch/main.go:49
Function
init
()
compose/batch/batch/types.go:36
Function
init
()
quickstart/chatwitheino/server/server.go:47
Function
init
()
quickstart/eino_assistant/eino/knowledgeindexing/indexer.go:35
Function
init
()
quickstart/eino_assistant/pkg/env/env.go:26
Function
init
()
quickstart/eino_assistant/cmd/knowledgeindexing/main.go:40
Function
init
()
quickstart/eino_assistant/cmd/einoagent/main.go:38
Function
initVectorIndex
(ctx context.Context, config *RedisVectorStoreConfig)
quickstart/eino_assistant/cmd/knowledgeindexing/main.go:129
Function
loadCoderMsg
(ctx context.Context, name string, opts ...any)
flow/agent/deer-go/biz/eino/coder.go:38
Function
loadMsg
(ctx context.Context, name string, opts ...any)
flow/agent/deer-go/biz/eino/coordinator.go:34
Function
loadPlannerMsg
(ctx context.Context, name string, opts ...any)
flow/agent/deer-go/biz/eino/planner.go:35
Function
loadReporterMsg
(ctx context.Context, name string, opts ...any)
flow/agent/deer-go/biz/eino/reporter.go:33
Function
loadResearcherMsg
(ctx context.Context, name string, opts ...any)
flow/agent/deer-go/biz/eino/researcher.go:39
Function
loadSession
(filePath string)
quickstart/chatwitheino/mem/store.go:258
Function
main
()
flow/agent/react/react.go:43
Function
main
()
flow/agent/react/agentic/main.go:39
Function
main
()
flow/agent/react/memory_example/main.go:38
Function
main
()
flow/agent/react/unknown_tool_handler_example/main.go:34
Function
main
()
flow/agent/react/dynamic_option_example/main.go:45
← previous
next →
901–1,000 of 1,121, ranked by callers