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
↓ 2 callers
Method
Error
()
adk/retry_chatmodel.go:88
↓ 2 callers
Method
FirstStep
FirstStep returns the first step to be executed in the plan.
adk/prebuilt/planexecute/plan_execute.go:47
↓ 2 callers
Function
GenTransferMessages
GenTransferMessages generates assistant and tool messages to instruct a transfer-to-agent tool call targeting the destination agent. NOT RECOMMENDED:
adk/utils.go:96
↓ 2 callers
Method
Generate
Generate mocks base method.
internal/mock/components/model/ChatModel_mock.go:62
↓ 2 callers
Function
GetCommonOptions
GetCommonOptions extract parser Options from Option list, optionally providing a base Options with default values.
components/document/parser/option.go:57
↓ 2 callers
Function
GetLoaderCommonOptions
GetLoaderCommonOptions extract loader Options from Option list, optionally providing a base Options with default values.
components/document/option.go:86
↓ 2 callers
Function
GetMergeFunc
(typ reflect.Type)
internal/merge.go:32
↓ 2 callers
Function
GetMessage
GetMessage extracts the Message from an AgentEvent. For streaming output, it duplicates the stream and concatenates it into a single Message.
adk/utils.go:300
↓ 2 callers
Method
GetReceivedTools
()
adk/interrupt_test.go:1916
↓ 2 callers
Function
GetType
GetType returns the type name for a component that implements Typer.
components/types.go:34
↓ 2 callers
Method
GetType
GetType returns the type of the agentic template (DefaultAgentic).
components/prompt/agentic_chat_template.go:77
↓ 2 callers
Method
GlobInfo
GlobInfo returns file information matching the glob pattern. Returns: - []FileInfo: List of matching file information - error: Error if the pattern i
adk/filesystem/backend.go:270
↓ 2 callers
Method
Graph
Graph sets the graph handler for the handler helper, which will be called when the graph is executed.
utils/callbacks/template.go:165
↓ 2 callers
Method
Indexer
Indexer sets the indexer handler for the handler helper, which will be called when the indexer component is executed.
utils/callbacks/template.go:99
↓ 2 callers
Function
InferOptionableEnhancedStreamTool
InferOptionableEnhancedStreamTool creates an EnhancedStreamableTool from a given function by inferring the ToolInfo from the function's request parame
components/tool/utils/streamable_func.go:180
↓ 2 callers
Method
Info
(_ context.Context)
flow/agent/react/option_test.go:489
↓ 2 callers
Method
Info
(_ context.Context)
adk/chatmodel_test.go:1806
↓ 2 callers
Method
Info
(_ context.Context)
adk/message_id_test.go:894
↓ 2 callers
Function
InternalMergeNamedStreamReaders
InternalMergeNamedStreamReaders merges multiple readers with their names into a single multi-stream reader.
schema/stream.go:1010
↓ 2 callers
Method
InvokableRun
(_ context.Context, argumentsInJSON *schema.ToolArgument, _ ...tool.Option)
adk/middlewares/dynamictool/toolsearch/toolsearch.go:395
↓ 2 callers
Method
Loader
Loader sets the loader handler for the handler helper, which will be called when the loader component is executed.
utils/callbacks/template.go:111
↓ 2 callers
Method
MarshalJSON
()
adk/prebuilt/planexecute/plan_execute.go:91
↓ 2 callers
Function
MessageParser
MessageParser creates a lambda that parses a message into an object T, usually used after a chatmodel. usage: parser := schema.NewMessageJSONParser[
compose/types_lambda.go:257
↓ 2 callers
Method
Name
(_ context.Context)
adk/prebuilt/planexecute/plan_execute.go:638
↓ 2 callers
Function
NewChainMultiBranch
NewChainMultiBranch creates a chain branch where a condition selects multiple end nodes to route execution.
compose/chain_branch.go:46
↓ 2 callers
Function
NewEventSenderModelWrapper
NewEventSenderModelWrapper creates a ChatModelAgentMiddleware that sends model output as agent events.
adk/wrappers.go:266
↓ 2 callers
Function
NewInstance
NewInstance create an instance of the given type T. the main purpose of this function is to create an instance of a type, can handle the type of T is
internal/generic/generic.go:27
↓ 2 callers
Function
NewMockLoader
NewMockLoader creates a new mock instance.
internal/mock/components/document/document_mock.go:44
↓ 2 callers
Function
NewRetriever
NewRetriever creates a multi-query retriever. multi-query retriever is useful when you want to retrieve documents from multiple retrievers with differ
flow/retriever/multiquery/multi_query.go:69
↓ 2 callers
Function
NewStreamChainMultiBranch
NewStreamChainMultiBranch creates a chain branch that selects multiple end nodes based on a condition evaluated on the input stream.
compose/chain_branch.go:67
↓ 2 callers
Function
NewStreamGraphMultiBranch
NewStreamGraphMultiBranch creates a streaming branch where a condition on the input stream selects multiple end nodes.
compose/branch.go:111
↓ 2 callers
Function
NewStreamTool
NewStreamTool creates a [tool.StreamableTool] from an explicit [schema.ToolInfo] and a typed streaming function.
components/tool/utils/streamable_func.go:61
↓ 2 callers
Function
NewTransferToAgentAction
NewTransferToAgentAction creates an action to transfer to the specified agent. NOT RECOMMENDED: Agent transfer with full context sharing between agen
adk/interface.go:333
↓ 2 callers
Function
NewTyped
NewTyped creates a new typed Deep agent instance with the provided configuration. This function initializes built-in tools, creates a task tool for su
adk/prebuilt/deep/deep.go:116
↓ 2 callers
Function
NewTyped
NewTyped constructs and returns the generic tool search middleware. This is the generic constructor that supports both *schema.Message and *schema.Ag
adk/middlewares/dynamictool/toolsearch/toolsearch.go:55
↓ 2 callers
Function
NewTyped
NewTyped creates a generic agentsmd middleware that injects Agents.md content into every model call. The content is loaded from the configured file pa
adk/middlewares/agentsmd/agentsmd.go:66
↓ 2 callers
Function
NewTyped
NewTyped creates a new plantask middleware that provides task management tools for agents. It adds TaskCreate, TaskGet, TaskUpdate, and TaskList tools
adk/middlewares/plantask/plantask.go:39
↓ 2 callers
Function
NewUnboundedChan
NewUnboundedChan initializes and returns an UnboundedChan
internal/channel.go:30
↓ 2 callers
Method
OnDisallowTransferToParent
(ctx context.Context)
adk/interface.go:478
↓ 2 callers
Method
OnHandOff
(ctx context.Context, info *HandOffInfo)
flow/agent/multiagent/host/callback.go:32
↓ 2 callers
Method
OnSetSubAgents
(ctx context.Context, subAgents []Agent)
adk/interface.go:475
↓ 2 callers
Function
OnStartWithStreamInput
OnStartWithStreamInput invokes the OnStartWithStreamInput timing. Use this when the component's input is itself a stream (Collect / Transform paradigm
callbacks/aspect_inject.go:100
↓ 2 callers
Function
OnWithStreamHandle
( ctx context.Context, inOut S, handlers []Handler, cpy func(int) []S, handle func(context.Context, Handl
internal/callbacks/inject.go:143
↓ 2 callers
Method
Parse
(ctx context.Context, reader io.Reader, opts ...Option)
components/document/parser/interface.go:35
↓ 2 callers
Method
Parse
Parse parses the given reader and returns a list of documents.
components/document/parser/ext_parser.go:95
↓ 2 callers
Method
Prompt
Prompt sets the prompt handler for the handler helper, which will be called when the prompt component is executed.
utils/callbacks/template.go:81
↓ 2 callers
Method
Retriever
Retriever sets the retriever handler for the handler helper, which will be called when the retriever component is executed.
utils/callbacks/template.go:105
↓ 2 callers
Function
ReuseHandlers
(ctx context.Context, info *RunInfo)
internal/callbacks/inject.go:53
↓ 2 callers
Method
Say
()
compose/graph_test.go:117
↓ 2 callers
Method
String
()
internal/core/address.go:333
↓ 2 callers
Method
String
String returns the string representation of MCPToolResult.
schema/agentic_message.go:2167
↓ 2 callers
Method
ToolsNode
ToolsNode sets the tools node handler for the handler helper, which will be called when the tools node is executed.
utils/callbacks/template.go:129
↓ 2 callers
Method
Transformer
Transformer sets the transformer handler for the handler helper, which will be called when the transformer component is executed.
utils/callbacks/template.go:117
↓ 2 callers
Function
TypedSendEvent
TypedSendEvent sends a custom TypedAgentEvent to the event stream during agent execution. This allows TypedChatModelAgentMiddleware implementations to
adk/handler.go:409
↓ 2 callers
Method
Wait
Wait blocks until the cancel request reaches a terminal outcome. It reports the result of the cancel operation itself, not the agent's final business
adk/cancel.go:80
↓ 2 callers
Function
WithChatModelOptions
WithChatModelOptions returns an agent option that specifies model.Option for the chat model in agent.
flow/agent/react/option.go:38
↓ 2 callers
Function
WithChatModelOptions
WithChatModelOptions sets options for the underlying chat model.
adk/chatmodel.go:97
↓ 2 callers
Function
WithDeferredTools
WithDeferredTools is the option to set deferred tools for the model's built-in (server-side) tool search. These tools are registered with defer_loadin
components/model/option.go:143
↓ 2 callers
Function
WithFanInMergeConfig
WithFanInMergeConfig sets the fan-in merge configurations for the graph nodes that receive inputs from multiple sources.
compose/graph_compile_options.go:121
↓ 2 callers
Function
WithFullChatHistoryAsInput
WithFullChatHistoryAsInput enables using the full chat history as input.
adk/agent_tool.go:50
↓ 2 callers
Function
WithGraphCompileCallbacks
WithGraphCompileCallbacks sets callbacks for graph compilation.
compose/graph_compile_options.go:104
↓ 2 callers
Function
WithStreamStatePreHandler
WithStreamStatePreHandler modify node's streaming input of I according to state S and input or store input information into state, and it's thread-saf
compose/graph_add_node_options.go:122
↓ 2 callers
Function
WithTemperature
WithTemperature is the option to set the temperature for the model.
components/model/option.go:71
↓ 2 callers
Function
WithToolOptions
WithToolOptions returns an agent option that specifies tool.Option for the tools in agent.
flow/agent/react/option.go:33
↓ 2 callers
Function
WithToolSearchTool
WithToolSearchTool is the option to register a tool search tool with the model. When set, the model uses this tool to discover and load deferred tools
components/model/option.go:130
↓ 2 callers
Function
WithTopP
WithTopP is the option to set the top p for the model.
components/model/option.go:98
↓ 2 callers
Function
WithURI
WithURI specifies the source URI of the document. It will be used as to select parser in ExtParser.
components/document/parser/option.go:39
↓ 2 callers
Function
WrapImplSpecificOptFn
WrapImplSpecificOptFn wraps the impl specific option functions into Option type. T: the type of the impl specific options struct. Parser implementatio
components/document/parser/option.go:90
↓ 2 callers
Function
WrapInvokableToolWithErrorHandler
WrapInvokableToolWithErrorHandler wraps an InvokableTool with custom error handling. When the wrapped tool returns an error, the error handler functio
components/tool/utils/error_handler.go:81
↓ 2 callers
Function
WrapLoaderImplSpecificOptFn
WrapLoaderImplSpecificOptFn wraps the impl specific option functions into LoaderOption type. T: the type of the impl specific options struct. Loader i
components/document/option.go:51
↓ 2 callers
Method
WrapModel
(_ context.Context, m model.BaseModel[M], mc *TypedModelContext[M])
adk/wrappers.go:272
↓ 2 callers
Function
WrapStreamableToolWithErrorHandler
WrapStreamableToolWithErrorHandler wraps a StreamableTool with custom error handling. When the wrapped tool returns an error, the error handler functi
components/tool/utils/error_handler.go:102
↓ 2 callers
Function
WrapTransformerImplSpecificOptFn
WrapTransformerImplSpecificOptFn wraps the impl specific option functions into TransformerOption type. T: the type of the impl specific options struct
components/document/option.go:135
↓ 2 callers
Method
addBranch
(startNode string, branch *GraphBranch, skipData bool)
compose/graph.go:470
↓ 2 callers
Method
addEndIfNeeded
addEndIfNeeded add END edge of the chain/graph. only run once when compiling.
compose/chain.go:98
↓ 2 callers
Method
addToValidateMap
(startNode, endNode string, mapping []*FieldMapping)
compose/graph.go:552
↓ 2 callers
Function
agenticChunk
(text string)
adk/failover_chatmodel_test.go:735
↓ 2 callers
Function
agenticStreamOK
(chunks []*schema.AgenticMessage)
adk/agentic_test.go:1375
↓ 2 callers
Function
agenticStreamWithMidError
--- Agentic retry/failover stream test helpers ---
adk/agentic_test.go:1363
↓ 2 callers
Function
agenticText
(text string)
adk/prebuilt/deep/deep_test.go:59
↓ 2 callers
Function
agenticToolCall
(toolName, callID, args string)
adk/prebuilt/deep/deep_test.go:68
↓ 2 callers
Function
appendToolAddressSegment
(ctx context.Context, segID string, subID string)
compose/resume.go:154
↓ 2 callers
Method
applyContext
applyContext adds context lines around matches.
adk/filesystem/backend_inmemory.go:499
↓ 2 callers
Method
applyFrameworkCapturedError
applyFrameworkCapturedError resolves the final error for runAgentAndHandleEvents. Priority scheme: - If handleErr != nil: the user's callback error wi
adk/turn_loop.go:1988
↓ 2 callers
Function
arrToStream
(arr []T)
schema/stream.go:328
↓ 2 callers
Function
assertAgentTool
(t tool.BaseTool)
adk/prebuilt/deep/types.go:36
↓ 2 callers
Function
assertHasCancelError
(t *testing.T, events []*AgentEvent)
adk/cancel_test.go:145
↓ 2 callers
Function
buildFieldMappingConverter
()
compose/field_mapping.go:212
↓ 2 callers
Method
buildNoToolsRunFunc
(_ context.Context)
adk/chatmodel.go:976
↓ 2 callers
Method
buildReActRunFunc
(ctx context.Context, bc *execContext)
adk/chatmodel.go:1079
↓ 2 callers
Function
buildResumeInfo
(ctx context.Context, nextAgentID string, info *ResumeInfo)
adk/interrupt.go:387
↓ 2 callers
Method
buildSkillResult
(ctx context.Context, skill Skill, rawArguments string)
adk/middlewares/skill/skill.go:486
↓ 2 callers
Function
buildStreamFieldMappingConverter
()
compose/field_mapping.go:223
↓ 2 callers
Function
buildSystemPrompt
(skillToolName string, useChinese bool)
adk/middlewares/skill/skill.go:345
↓ 2 callers
Method
buildTupleFromOpts
buildTupleFromOpts rebuilds a toolsTuple when call options override tools or aliases.
compose/tool_node.go:1020
↓ 2 callers
Function
buildTypedBuiltinAgentMiddlewares
(ctx context.Context, cfg *TypedConfig[M])
adk/prebuilt/deep/deep.go:209
↓ 2 callers
Method
cause
()
adk/turn_loop.go:504
↓ 2 callers
Function
checkAndExtractFieldType
(paths []string, typ reflect.Type)
compose/field_mapping.go:442
↓ 2 callers
Function
checkOption
(opts ...model.Option)
compose/graph_call_options_test.go:40
↓ 2 callers
Method
claimOwnership
claimOwnership is called exclusively from onGraphStart / onGraphStartWithStreamInput to record this handler's address on first invocation. It returns
flow/agent/react/option.go:278
← previous
next →
901–1,000 of 3,994, ranked by callers