MCPcopy Create free account

hub / github.com/cloudwego/eino / functions

Functions3,994 in github.com/cloudwego/eino

MethodName
(_ context.Context)
adk/turn_loop_test.go:142
MethodName
(_ context.Context)
adk/turn_loop_test.go:1854
MethodName
(_ context.Context)
adk/turn_loop_test.go:5781
MethodName
(_ context.Context)
adk/agentic_test.go:323
MethodName
(_ context.Context)
adk/agentic_test.go:349
MethodName
(_ context.Context)
adk/agentic_test.go:371
MethodName
(_ context.Context)
adk/workflow_test.go:38
MethodName
(_ context.Context)
adk/prebuilt/integration_test.go:153
MethodName
(_ context.Context)
adk/prebuilt/supervisor/supervisor_test.go:274
MethodName
(_ context.Context)
adk/prebuilt/supervisor/supervisor.go:66
MethodName
(_ context.Context)
adk/prebuilt/deep/deep_test.go:460
MethodName
(_ context.Context)
adk/prebuilt/deep/task_tool_test.go:65
MethodName
(_ context.Context)
adk/middlewares/skill/skill_test.go:319
MethodName
(_ context.Context)
adk/middlewares/skill/skill_generic_test.go:67
MethodName
Name mocks base method.
internal/mock/adk/Agent_mock.go:75
MethodName
Name indicates an expected call of Name.
internal/mock/adk/Agent_mock.go:83
MethodNeeded
Needed checks if the callback handler is needed for the given timing. nolint:cyclop
utils/callbacks/template.go:360
MethodNeeded
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:447
MethodNeeded
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:468
MethodNeeded
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:489
MethodNeeded
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:510
MethodNeeded
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:532
MethodNeeded
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:558
MethodNeeded
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:582
MethodNeeded
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:604
MethodNeeded
Needed reports whether a handler is registered for the given timing.
utils/callbacks/template.go:629
MethodNeeded
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:715
MethodNeeded
Needed checks if the callback handler is needed for the given timing.
utils/callbacks/template.go:737
MethodNeeded
Needed reports whether a handler is registered for the given timing.
utils/callbacks/template.go:762
MethodNeeded
(_ context.Context, _ *RunInfo, timing CallbackTiming)
callbacks/handler_builder.go:90
FunctionNew
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
FunctionNewClearToolResult
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
FunctionNewMessageJSONParser
NewMessageJSONParser creates a new MessageJSONParser.
schema/message_parser.go:52
FunctionNewMockAgent
NewMockAgent creates a new mock instance.
internal/mock/adk/Agent_mock.go:49
FunctionNewMockBaseChatModel
NewMockBaseChatModel creates a new mock instance.
internal/mock/components/model/ChatModel_mock.go:50
FunctionNewMockOnSubAgents
NewMockOnSubAgents creates a new mock instance.
internal/mock/adk/Agent_mock.go:120
FunctionNewPersonaModifier
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
FunctionNewToolResultMiddleware
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
MethodOnDisallowTransferToParent
OnDisallowTransferToParent implements OnSubAgents. NOT RECOMMENDED: Agent transfer with full context sharing between agents has not proven to be more
adk/chatmodel.go:714
MethodOnDisallowTransferToParent
OnDisallowTransferToParent mocks base method.
internal/mock/adk/Agent_mock.go:132
MethodOnDisallowTransferToParent
OnDisallowTransferToParent indicates an expected call of OnDisallowTransferToParent.
internal/mock/adk/Agent_mock.go:140
MethodOnEnd
OnEnd is the callback function for the end event of a component. implement the callbacks Handler interface.
utils/callbacks/template.go:229
MethodOnEnd
(ctx context.Context, info *RunInfo, output CallbackOutput)
callbacks/handler_builder.go:70
MethodOnEnd
(ctx context.Context, info *RunInfo, output CallbackOutput)
callbacks/aspect_inject_test.go:306
MethodOnEnd
(ctx context.Context, info *callbacks.RunInfo, output callbacks.CallbackOutput)
compose/graph_test.go:2052
MethodOnEnd
(ctx context.Context, info *callbacks.RunInfo, _ callbacks.CallbackOutput)
compose/checkpoint_test.go:459
MethodOnEnd
(ctx context.Context, _ *callbacks.RunInfo, _ callbacks.CallbackOutput)
compose/resume_test.go:550
FunctionOnEndHandle
(ctx context.Context, output T, runInfo *RunInfo, handlers []Handler)
internal/callbacks/inject.go:117
MethodOnEndWithStreamOutput
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
MethodOnEndWithStreamOutput
(ctx context.Context, info *RunInfo, output *schema.StreamReader[CallbackOutput])
callbacks/handler_builder.go:84
MethodOnEndWithStreamOutput
(ctx context.Context, info *RunInfo, output *schema.StreamReader[CallbackOutput])
callbacks/aspect_inject_test.go:328
MethodOnEndWithStreamOutput
(ctx context.Context, info *callbacks.RunInfo, output *schema.StreamReader[callbacks.CallbackOutput])
compose/graph_test.go:2064
MethodOnEndWithStreamOutput
(ctx context.Context, info *callbacks.RunInfo, output *schema.StreamReader[callbacks.CallbackOutput])
compose/checkpoint_test.go:481
MethodOnEndWithStreamOutput
(ctx context.Context, _ *callbacks.RunInfo, output *schema.StreamReader[callbacks.CallbackOutput])
compose/resume_test.go:563
FunctionOnEndWithStreamOutputHandle
(ctx context.Context, output *schema.StreamReader[T], runInfo *RunInfo, handlers []Handler)
internal/callbacks/inject.go:180
MethodOnError
OnError is the callback function for the error event of a component. implement the callbacks Handler interface.
utils/callbacks/template.go:270
MethodOnError
(ctx context.Context, info *RunInfo, err error)
callbacks/handler_builder.go:74
MethodOnError
(ctx context.Context, info *RunInfo, err error)
callbacks/aspect_inject_test.go:320
MethodOnError
(ctx context.Context, info *callbacks.RunInfo, err error)
compose/graph_test.go:2056
MethodOnError
(ctx context.Context, info *callbacks.RunInfo, _ error)
compose/checkpoint_test.go:466
MethodOnError
(ctx context.Context, _ *callbacks.RunInfo, _ error)
compose/resume_test.go:554
FunctionOnErrorHandle
(ctx context.Context, err error, runInfo *RunInfo, handlers []Handler)
internal/callbacks/inject.go:195
MethodOnFinish
(ctx context.Context, info *GraphInfo)
compose/graph_test.go:1047
MethodOnFinish
OnFinish is called when the graph is compiled.
compose/graph.go:924
MethodOnHandOff
(ctx context.Context, info *HandOffInfo)
flow/agent/multiagent/host/compose_test.go:677
MethodOnSetAsSubAgent
OnSetAsSubAgent implements OnSubAgents. NOT RECOMMENDED: Agent transfer with full context sharing between agents has not proven to be more effective
adk/chatmodel.go:696
MethodOnSetAsSubAgent
OnSetAsSubAgent mocks base method.
internal/mock/adk/Agent_mock.go:146
MethodOnSetAsSubAgent
OnSetAsSubAgent indicates an expected call of OnSetAsSubAgent.
internal/mock/adk/Agent_mock.go:154
MethodOnSetSubAgents
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
MethodOnSetSubAgents
OnSetSubAgents mocks base method.
internal/mock/adk/Agent_mock.go:160
MethodOnSetSubAgents
OnSetSubAgents indicates an expected call of OnSetSubAgents.
internal/mock/adk/Agent_mock.go:168
MethodOnStart
OnStart is the callback function for the start event of a component. implement the callbacks Handler interface.
utils/callbacks/template.go:188
MethodOnStart
(ctx context.Context, info *RunInfo, input CallbackInput)
callbacks/handler_builder.go:66
MethodOnStart
(ctx context.Context, info *RunInfo, input CallbackInput)
callbacks/aspect_inject_test.go:291
MethodOnStart
(ctx context.Context, info *callbacks.RunInfo, input callbacks.CallbackInput)
compose/graph_test.go:2044
MethodOnStart
(ctx context.Context, info *callbacks.RunInfo, _ callbacks.CallbackInput)
compose/checkpoint_test.go:452
MethodOnStart
(ctx context.Context, info *callbacks.RunInfo, _ callbacks.CallbackInput)
compose/resume_test.go:540
FunctionOnStartHandle
(ctx context.Context, input T, runInfo *RunInfo, handlers []Handler)
internal/callbacks/inject.go:107
MethodOnStartWithStreamInput
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
MethodOnStartWithStreamInput
(ctx context.Context, info *RunInfo, input *schema.StreamReader[CallbackInput])
callbacks/handler_builder.go:78
MethodOnStartWithStreamInput
(ctx context.Context, info *RunInfo, input *schema.StreamReader[CallbackInput])
callbacks/aspect_inject_test.go:324
MethodOnStartWithStreamInput
(ctx context.Context, info *callbacks.RunInfo, input *schema.StreamReader[callbacks.CallbackInput])
compose/graph_test.go:2060
MethodOnStartWithStreamInput
(ctx context.Context, info *callbacks.RunInfo, input *schema.StreamReader[callbacks.CallbackInput])
compose/checkpoint_test.go:473
MethodOnStartWithStreamInput
(ctx context.Context, _ *callbacks.RunInfo, input *schema.StreamReader[callbacks.CallbackInput])
compose/resume_test.go:558
FunctionOnStartWithStreamInputHandle
(ctx context.Context, input *schema.StreamReader[T], runInfo *RunInfo, handlers []Handler)
internal/callbacks/inject.go:163
MethodParse
(ctx context.Context, reader io.Reader, opts ...Option)
components/document/parser/parser_test.go:34
MethodParse
Parse reads the text from a reader and returns a single document.
components/document/parser/text_parser.go:39
MethodParse
Parse parses a message into an object T.
schema/message_parser.go:90
FunctionPipe
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
MethodRead
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
MethodRead
(_ context.Context, req *ReadRequest)
adk/middlewares/agentsmd/agentsmd_test.go:45
MethodRead
(_ context.Context, req *ReadRequest)
adk/middlewares/agentsmd/agentsmd_test.go:56
MethodRead
(_ context.Context, req *ReadRequest)
adk/middlewares/agentsmd/agentsmd_test.go:65
MethodRead
(ctx context.Context, req *ReadRequest)
adk/middlewares/plantask/backend_test.go:55
MethodRead
Read reads the content of a file.
adk/middlewares/plantask/task.go:68
MethodRead
(_ context.Context, _ *filesystem.ReadRequest)
adk/middlewares/filesystem/filesystem_test.go:2572
MethodRead
(ctx context.Context, req *ReadRequest)
adk/middlewares/filesystem/large_tool_result_test.go:47
MethodRead
(ctx context.Context, req *ReadRequest)
adk/middlewares/filesystem/large_tool_result_test.go:593
FunctionRegisterName
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
FunctionRegisterSerializableType
RegisterSerializableType registers a custom type for eino serialization. This allows eino to properly serialize and deserialize custom types. Both cus
compose/checkpoint.go:48
← previousnext →2,201–2,300 of 3,994, ranked by callers