Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudwego/eino
/ functions
Functions
3,994 in github.com/cloudwego/eino
⨍
Functions
3,994
◇
Types & classes
1,204
Method
Name
(_ context.Context)
adk/turn_loop_test.go:142
Method
Name
(_ context.Context)
adk/turn_loop_test.go:1854
Method
Name
(_ context.Context)
adk/turn_loop_test.go:5781
Method
Name
(_ context.Context)
adk/agentic_test.go:323
Method
Name
(_ context.Context)
adk/agentic_test.go:349
Method
Name
(_ context.Context)
adk/agentic_test.go:371
Method
Name
(_ context.Context)
adk/workflow_test.go:38
Method
Name
(_ context.Context)
adk/prebuilt/integration_test.go:153
Method
Name
(_ context.Context)
adk/prebuilt/supervisor/supervisor_test.go:274
Method
Name
(_ context.Context)
adk/prebuilt/supervisor/supervisor.go:66
Method
Name
(_ context.Context)
adk/prebuilt/deep/deep_test.go:460
Method
Name
(_ context.Context)
adk/prebuilt/deep/task_tool_test.go:65
Method
Name
(_ context.Context)
adk/middlewares/skill/skill_test.go:319
Method
Name
(_ context.Context)
adk/middlewares/skill/skill_generic_test.go:67
Method
Name
Name mocks base method.
internal/mock/adk/Agent_mock.go:75
Method
Name
Name indicates an expected call of Name.
internal/mock/adk/Agent_mock.go:83
Method
Needed
Needed checks if the callback handler is needed for the given timing. nolint:cyclop
utils/callbacks/template.go:360
Method
Needed
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:447
Method
Needed
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:468
Method
Needed
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:489
Method
Needed
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:510
Method
Needed
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:532
Method
Needed
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:558
Method
Needed
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:582
Method
Needed
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:604
Method
Needed
Needed reports whether a handler is registered for the given timing.
utils/callbacks/template.go:629
Method
Needed
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:715
Method
Needed
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:737
Method
Needed
Needed reports whether a handler is registered for the given timing.
utils/callbacks/template.go:762
Method
Needed
(_ context.Context, _ *RunInfo, timing CallbackTiming)
callbacks/handler_builder.go:90
Function
New
New creates a new patch tool calls middleware with the given configuration. The middleware scans the message history before each model invocation and
adk/middlewares/patchtoolcalls/patchtoolcalls.go:62
Function
NewClearToolResult
NewClearToolResult creates a new middleware that clears old tool results based on token thresholds while protecting recent messages.
adk/middlewares/reduction/internal/clear_tool_result.go:58
Function
NewMessageJSONParser
NewMessageJSONParser creates a new MessageJSONParser.
schema/message_parser.go:52
Function
NewMockAgent
NewMockAgent creates a new mock instance.
internal/mock/adk/Agent_mock.go:49
Function
NewMockBaseChatModel
NewMockBaseChatModel creates a new mock instance.
internal/mock/components/model/ChatModel_mock.go:50
Function
NewMockOnSubAgents
NewMockOnSubAgents creates a new mock instance.
internal/mock/adk/Agent_mock.go:120
Function
NewPersonaModifier
NewPersonaModifier returns a MessageModifier that adds a persona message to the input. example: persona := "You are an expert in golang." config :=
flow/agent/react/react.go:208
Function
NewToolResultMiddleware
NewToolResultMiddleware creates a tool result reduction middleware. This middleware combines two strategies to manage tool result tokens: 1. Clearing
adk/middlewares/reduction/internal/tool_result.go:103
Method
OnDisallowTransferToParent
OnDisallowTransferToParent implements OnSubAgents. NOT RECOMMENDED: Agent transfer with full context sharing between agents has not proven to be more
adk/chatmodel.go:714
Method
OnDisallowTransferToParent
OnDisallowTransferToParent mocks base method.
internal/mock/adk/Agent_mock.go:132
Method
OnDisallowTransferToParent
OnDisallowTransferToParent indicates an expected call of OnDisallowTransferToParent.
internal/mock/adk/Agent_mock.go:140
Method
OnEnd
OnEnd is the callback function for the end event of a component. implement the callbacks Handler interface.
utils/callbacks/template.go:229
Method
OnEnd
(ctx context.Context, info *RunInfo, output CallbackOutput)
callbacks/handler_builder.go:70
Method
OnEnd
(ctx context.Context, info *RunInfo, output CallbackOutput)
callbacks/aspect_inject_test.go:306
Method
OnEnd
(ctx context.Context, info *callbacks.RunInfo, output callbacks.CallbackOutput)
compose/graph_test.go:2052
Method
OnEnd
(ctx context.Context, info *callbacks.RunInfo, _ callbacks.CallbackOutput)
compose/checkpoint_test.go:459
Method
OnEnd
(ctx context.Context, _ *callbacks.RunInfo, _ callbacks.CallbackOutput)
compose/resume_test.go:550
Function
OnEndHandle
(ctx context.Context, output T, runInfo *RunInfo, handlers []Handler)
internal/callbacks/inject.go:117
Method
OnEndWithStreamOutput
OnEndWithStreamOutput is the callback function for the end event of a component with stream output. implement the callbacks Handler interface.
utils/callbacks/template.go:321
Method
OnEndWithStreamOutput
(ctx context.Context, info *RunInfo, output *schema.StreamReader[CallbackOutput])
callbacks/handler_builder.go:84
Method
OnEndWithStreamOutput
(ctx context.Context, info *RunInfo, output *schema.StreamReader[CallbackOutput])
callbacks/aspect_inject_test.go:328
Method
OnEndWithStreamOutput
(ctx context.Context, info *callbacks.RunInfo, output *schema.StreamReader[callbacks.CallbackOutput])
compose/graph_test.go:2064
Method
OnEndWithStreamOutput
(ctx context.Context, info *callbacks.RunInfo, output *schema.StreamReader[callbacks.CallbackOutput])
compose/checkpoint_test.go:481
Method
OnEndWithStreamOutput
(ctx context.Context, _ *callbacks.RunInfo, output *schema.StreamReader[callbacks.CallbackOutput])
compose/resume_test.go:563
Function
OnEndWithStreamOutputHandle
(ctx context.Context, output *schema.StreamReader[T], runInfo *RunInfo, handlers []Handler)
internal/callbacks/inject.go:180
Method
OnError
OnError is the callback function for the error event of a component. implement the callbacks Handler interface.
utils/callbacks/template.go:270
Method
OnError
(ctx context.Context, info *RunInfo, err error)
callbacks/handler_builder.go:74
Method
OnError
(ctx context.Context, info *RunInfo, err error)
callbacks/aspect_inject_test.go:320
Method
OnError
(ctx context.Context, info *callbacks.RunInfo, err error)
compose/graph_test.go:2056
Method
OnError
(ctx context.Context, info *callbacks.RunInfo, _ error)
compose/checkpoint_test.go:466
Method
OnError
(ctx context.Context, _ *callbacks.RunInfo, _ error)
compose/resume_test.go:554
Function
OnErrorHandle
(ctx context.Context, err error, runInfo *RunInfo, handlers []Handler)
internal/callbacks/inject.go:195
Method
OnFinish
(ctx context.Context, info *GraphInfo)
compose/graph_test.go:1047
Method
OnFinish
OnFinish is called when the graph is compiled.
compose/graph.go:924
Method
OnHandOff
(ctx context.Context, info *HandOffInfo)
flow/agent/multiagent/host/compose_test.go:677
Method
OnSetAsSubAgent
OnSetAsSubAgent implements OnSubAgents. NOT RECOMMENDED: Agent transfer with full context sharing between agents has not proven to be more effective
adk/chatmodel.go:696
Method
OnSetAsSubAgent
OnSetAsSubAgent mocks base method.
internal/mock/adk/Agent_mock.go:146
Method
OnSetAsSubAgent
OnSetAsSubAgent indicates an expected call of OnSetAsSubAgent.
internal/mock/adk/Agent_mock.go:154
Method
OnSetSubAgents
OnSetSubAgents implements OnSubAgents. NOT RECOMMENDED: Agent transfer with full context sharing between agents has not proven to be more effective e
adk/chatmodel.go:678
Method
OnSetSubAgents
OnSetSubAgents mocks base method.
internal/mock/adk/Agent_mock.go:160
Method
OnSetSubAgents
OnSetSubAgents indicates an expected call of OnSetSubAgents.
internal/mock/adk/Agent_mock.go:168
Method
OnStart
OnStart is the callback function for the start event of a component. implement the callbacks Handler interface.
utils/callbacks/template.go:188
Method
OnStart
(ctx context.Context, info *RunInfo, input CallbackInput)
callbacks/handler_builder.go:66
Method
OnStart
(ctx context.Context, info *RunInfo, input CallbackInput)
callbacks/aspect_inject_test.go:291
Method
OnStart
(ctx context.Context, info *callbacks.RunInfo, input callbacks.CallbackInput)
compose/graph_test.go:2044
Method
OnStart
(ctx context.Context, info *callbacks.RunInfo, _ callbacks.CallbackInput)
compose/checkpoint_test.go:452
Method
OnStart
(ctx context.Context, info *callbacks.RunInfo, _ callbacks.CallbackInput)
compose/resume_test.go:540
Function
OnStartHandle
(ctx context.Context, input T, runInfo *RunInfo, handlers []Handler)
internal/callbacks/inject.go:107
Method
OnStartWithStreamInput
OnStartWithStreamInput is the callback function for the start event of a component with stream input. implement the callbacks Handler interface.
utils/callbacks/template.go:307
Method
OnStartWithStreamInput
(ctx context.Context, info *RunInfo, input *schema.StreamReader[CallbackInput])
callbacks/handler_builder.go:78
Method
OnStartWithStreamInput
(ctx context.Context, info *RunInfo, input *schema.StreamReader[CallbackInput])
callbacks/aspect_inject_test.go:324
Method
OnStartWithStreamInput
(ctx context.Context, info *callbacks.RunInfo, input *schema.StreamReader[callbacks.CallbackInput])
compose/graph_test.go:2060
Method
OnStartWithStreamInput
(ctx context.Context, info *callbacks.RunInfo, input *schema.StreamReader[callbacks.CallbackInput])
compose/checkpoint_test.go:473
Method
OnStartWithStreamInput
(ctx context.Context, _ *callbacks.RunInfo, input *schema.StreamReader[callbacks.CallbackInput])
compose/resume_test.go:558
Function
OnStartWithStreamInputHandle
(ctx context.Context, input *schema.StreamReader[T], runInfo *RunInfo, handlers []Handler)
internal/callbacks/inject.go:163
Method
Parse
(ctx context.Context, reader io.Reader, opts ...Option)
components/document/parser/parser_test.go:34
Method
Parse
Parse reads the text from a reader and returns a single document.
components/document/parser/text_parser.go:39
Method
Parse
Parse parses a message into an object T.
schema/message_parser.go:90
Function
Pipe
Pipe creates a new stream with the given capacity that represented with StreamWriter and StreamReader. The capacity is the maximum number of items tha
schema/stream.go:99
Method
Read
Read reads the content of a file. If the file does not exist, implementations should return an error wrapping os.ErrNotExist (so that errors.Is(err, o
adk/middlewares/agentsmd/loader.go:68
Method
Read
(_ context.Context, req *ReadRequest)
adk/middlewares/agentsmd/agentsmd_test.go:45
Method
Read
(_ context.Context, req *ReadRequest)
adk/middlewares/agentsmd/agentsmd_test.go:56
Method
Read
(_ context.Context, req *ReadRequest)
adk/middlewares/agentsmd/agentsmd_test.go:65
Method
Read
(ctx context.Context, req *ReadRequest)
adk/middlewares/plantask/backend_test.go:55
Method
Read
Read reads the content of a file.
adk/middlewares/plantask/task.go:68
Method
Read
(_ context.Context, _ *filesystem.ReadRequest)
adk/middlewares/filesystem/filesystem_test.go:2572
Method
Read
(ctx context.Context, req *ReadRequest)
adk/middlewares/filesystem/large_tool_result_test.go:47
Method
Read
(ctx context.Context, req *ReadRequest)
adk/middlewares/filesystem/large_tool_result_test.go:593
Function
RegisterName
RegisterName registers a type with a specific name for serialization. This is required for any type you intend to persist in a graph or ADK checkpoint
schema/serialization.go:83
Function
RegisterSerializableType
RegisterSerializableType registers a custom type for eino serialization. This allows eino to properly serialize and deserialize custom types. Both cus
compose/checkpoint.go:48
← previous
next →
2,201–2,300 of 3,994, ranked by callers