MCPcopy Create free account

hub / github.com/cloudwego/eino / functions

Functions3,994 in github.com/cloudwego/eino

FunctionWithSchemaModifier
WithSchemaModifier sets a user-defined schema modifier for inferring tool parameter from tagged go struct.
components/tool/utils/create_options.go:67
FunctionWithSkipTransferMessages
WithSkipTransferMessages disables forwarding transfer messages during execution. NOT RECOMMENDED: Agent transfer with full context sharing between ag
adk/call_option.go:63
MethodWithSparseVector
WithSparseVector sets the sparse vector of the document, key indices -> value vector. can use doc.SparseVector() to get the sparse vector.
schema/document.go:197
FunctionWithToolList
WithToolList returns an agent option that specifies compose.ToolsNodeOption for ToolsNode in agent. If you also need to pass ToolInfo to the chat mode
flow/agent/react/option.go:45
MethodWithTools
(_ []*schema.ToolInfo)
adk/interrupt_test.go:1343
MethodWithTools
(_ []*schema.ToolInfo)
adk/interrupt_test.go:1912
MethodWithTools
(_ []*schema.ToolInfo)
adk/interrupt_test.go:2074
MethodWithTools
(tools []*schema.ToolInfo)
adk/react_test.go:91
MethodWithTools
(tools []*schema.ToolInfo)
adk/chatmodel_retry_test.go:224
MethodWithTools
(_ []*schema.ToolInfo)
adk/chatmodel_retry_test.go:481
MethodWithTools
(tools []*schema.ToolInfo)
adk/chatmodel_retry_test.go:671
MethodWithTools
(_ []*schema.ToolInfo)
adk/chatmodel_retry_test.go:931
MethodWithTools
(_ []*schema.ToolInfo)
adk/chatmodel_retry_test.go:1120
MethodWithTools
(tools []*schema.ToolInfo)
adk/agent_tool_test.go:623
MethodWithTools
(tools []*schema.ToolInfo)
adk/agent_tool_test.go:636
MethodWithTools
(_ []*schema.ToolInfo)
adk/wrappers_test.go:1118
MethodWithTools
(tools []*schema.ToolInfo)
adk/prebuilt/planexecute/plan_execute_test.go:1007
MethodWithTools
(_ []*schema.ToolInfo)
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:280
MethodWithTools
(_ []*schema.ToolInfo)
adk/middlewares/skill/skill_test.go:282
MethodWithTools
WithTools mocks base method.
internal/mock/components/model/ChatModel_mock.go:244
MethodWithTools
WithTools indicates an expected call of WithTools.
internal/mock/components/model/ChatModel_mock.go:253
FunctionWithUnmarshalArguments
WithUnmarshalArguments wraps the unmarshal arguments option. when you want to unmarshal the arguments by yourself, you can use this option.
components/tool/utils/create_options.go:43
FunctionWithWriteToCheckPointID
WithWriteToCheckPointID specifies a different checkpoint ID to write to. If not provided, the checkpoint ID from WithCheckPointID will be used for wri
compose/checkpoint.go:84
MethodWrapEnhancedInvokableToolCall
(_ context.Context, endpoint EnhancedInvokableToolCallEndpoint, tCtx *ToolContext)
adk/wrappers.go:908
MethodWrapEnhancedInvokableToolCall
(_ context.Context, endpoint EnhancedInvokableToolCallEndpoint, _ *ToolContext)
adk/handler.go:287
MethodWrapEnhancedInvokableToolCall
(ctx context.Context, endpoint EnhancedInvokableToolCallEndpoint, tCtx *ToolContext)
adk/wrappers_test.go:41
MethodWrapEnhancedInvokableToolCall
(_ context.Context, endpoint EnhancedInvokableToolCallEndpoint, _ *ToolContext)
adk/wrappers_test.go:1238
MethodWrapEnhancedInvokableToolCall
(_ context.Context, endpoint adk.EnhancedInvokableToolCallEndpoint, tCtx *adk.ToolContext)
adk/middlewares/reduction/reduction.go:526
MethodWrapEnhancedStreamableToolCall
(_ context.Context, endpoint EnhancedStreamableToolCallEndpoint, tCtx *ToolContext)
adk/wrappers.go:943
MethodWrapEnhancedStreamableToolCall
(_ context.Context, endpoint EnhancedStreamableToolCallEndpoint, _ *ToolContext)
adk/handler.go:291
MethodWrapEnhancedStreamableToolCall
(ctx context.Context, endpoint EnhancedStreamableToolCallEndpoint, tCtx *ToolContext)
adk/wrappers_test.go:48
MethodWrapEnhancedStreamableToolCall
(_ context.Context, endpoint EnhancedStreamableToolCallEndpoint, _ *ToolContext)
adk/wrappers_test.go:1255
MethodWrapEnhancedStreamableToolCall
(_ context.Context, endpoint adk.EnhancedStreamableToolCallEndpoint, tCtx *adk.ToolContext)
adk/middlewares/reduction/reduction.go:567
FunctionWrapImplSpecificOptFn
WrapImplSpecificOptFn wraps an implementation-specific option function so it can be passed alongside any future standard options. For use by custom Ch
components/prompt/option.go:29
FunctionWrapImplSpecificOptFn
WrapImplSpecificOptFn is the option to wrap the implementation specific option function. WrapImplSpecificOptFn wraps an implementation-specific option
components/model/option.go:196
FunctionWrapImplSpecificOptFn
WrapImplSpecificOptFn wraps an implementation-specific option function so it can be passed alongside standard options. For use by Indexer implementors
components/indexer/option.go:89
FunctionWrapImplSpecificOptFn
WrapImplSpecificOptFn wraps an implementation-specific option function so it can be passed alongside standard options. For use by Embedder implementor
components/embedding/option.go:72
FunctionWrapImplSpecificOptFn
WrapImplSpecificOptFn wraps an implementation-specific option function so it can be passed alongside standard options. For use by Retriever implemento
components/retriever/option.go:123
MethodWrapInvokableToolCall
(_ context.Context, endpoint InvokableToolCallEndpoint, tCtx *ToolContext)
adk/wrappers.go:844
MethodWrapInvokableToolCall
(_ context.Context, endpoint InvokableToolCallEndpoint, _ *ToolContext)
adk/handler.go:279
MethodWrapInvokableToolCall
(_ context.Context, endpoint InvokableToolCallEndpoint, _ *ToolContext)
adk/wrappers_test.go:1207
MethodWrapInvokableToolCall
(ctx context.Context, endpoint InvokableToolCallEndpoint, tCtx *ToolContext)
adk/handler_test.go:121
MethodWrapInvokableToolCall
(_ context.Context, endpoint adk.InvokableToolCallEndpoint, tCtx *adk.ToolContext)
adk/middlewares/reduction/reduction.go:419
MethodWrapModel
(_ context.Context, m model.BaseModel[M], _ *TypedModelContext[M])
adk/handler.go:295
MethodWrapModel
(_ context.Context, m model.BaseChatModel, _ *ModelContext)
adk/message_id_test.go:409
MethodWrapModel
(ctx context.Context, m model.BaseChatModel, mc *ModelContext)
adk/handler_test.go:140
MethodWrapModel
(ctx context.Context, m model.BaseModel[M], _ *adk.TypedModelContext[M])
adk/middlewares/skill/skill.go:281
MethodWrapStreamableToolCall
(_ context.Context, endpoint StreamableToolCallEndpoint, tCtx *ToolContext)
adk/wrappers.go:876
MethodWrapStreamableToolCall
(_ context.Context, endpoint StreamableToolCallEndpoint, _ *ToolContext)
adk/handler.go:283
MethodWrapStreamableToolCall
(_ context.Context, endpoint StreamableToolCallEndpoint, _ *ToolContext)
adk/wrappers_test.go:1222
MethodWrapStreamableToolCall
(ctx context.Context, endpoint StreamableToolCallEndpoint, tCtx *ToolContext)
adk/handler_test.go:128
MethodWrapStreamableToolCall
(_ context.Context, endpoint adk.StreamableToolCallEndpoint, tCtx *adk.ToolContext)
adk/middlewares/reduction/reduction.go:466
MethodWrite
(ctx context.Context, req *WriteRequest)
adk/middlewares/plantask/backend_test.go:66
MethodWrite
Write writes content to a file, creating it if it doesn't exist.
adk/middlewares/plantask/task.go:70
MethodWrite
(ctx context.Context, req *WriteRequest)
adk/middlewares/filesystem/large_tool_result_test.go:42
MethodWrite
(ctx context.Context, req *WriteRequest)
adk/middlewares/filesystem/large_tool_result_test.go:586
MethodWrite
(context.Context, *filesystem.WriteRequest)
adk/middlewares/reduction/internal/tool_result.go:31
MethodWrite
(_ context.Context, wr *filesystem.WriteRequest)
adk/middlewares/reduction/internal/large_tool_result_test.go:43
MethodWrite
(context.Context, *filesystem.WriteRequest)
adk/middlewares/reduction/internal/large_tool_result_test.go:563
FunctionargToContent
(msg adk.Message)
adk/prebuilt/planexecute/plan_execute.go:316
FunctionassistantEvent
--- Helper to build an assistant event for each message type ---
adk/middlewares/skill/skill_generic_test.go:93
MethodbeginActiveTurn
(ctx context.Context, tc any)
adk/turn_loop.go:244
FunctionbuildConcatGenericArray
(f func([]*T) (*T, error))
schema/message.go:50
MethodcancelOptions
(now time.Time)
adk/turn_loop.go:125
MethodcancelOptions
(now time.Time)
adk/turn_loop.go:395
Methodcheck
()
adk/middlewares/summarization/summarization.go:933
Methodcheck
()
adk/middlewares/summarization/summarization.go:940
Methodcheck
()
adk/middlewares/summarization/summarization.go:947
Methodclose
()
schema/stream.go:586
Methodclose
()
schema/stream.go:738
Methodclose
(idx int)
schema/stream.go:868
Methodclose
()
schema/stream.go:896
Methodclose
()
compose/stream_reader.go:41
MethodcloseForLoopExit
()
adk/turn_loop.go:350
Methodcompile
(ctx context.Context, options *graphCompileOptions)
compose/workflow.go:440
Methodcompile
implements AnyGraph.
compose/chain.go:88
Methodcompile
(ctx context.Context, opt *graphCompileOptions)
compose/graph.go:674
Methodcomponent
()
compose/workflow.go:543
Methodcomponent
compositeType returns the composite type of the chain. implements AnyGraph.
compose/chain.go:141
Methodcomponent
()
compose/graph.go:147
FunctionconcatAssistantGenAudios
(audios []*AssistantGenAudio)
schema/agentic_message.go:1519
FunctionconcatAssistantGenImages
(images []*AssistantGenImage)
schema/agentic_message.go:1486
FunctionconcatAssistantGenVideos
(videos []*AssistantGenVideo)
schema/agentic_message.go:1552
FunctionconcatFunctionToolCalls
(calls []*FunctionToolCall)
schema/agentic_message.go:1585
FunctionconcatIntForTest
(items []int)
compose/stream_concat_test.go:43
FunctionconcatMCPListToolsResults
(results []*MCPListToolsResult)
schema/agentic_message.go:1850
FunctionconcatMCPToolApprovalRequests
(requests []*MCPToolApprovalRequest)
schema/agentic_message.go:1881
FunctionconcatMCPToolApprovalResponses
(responses []*MCPToolApprovalResponse)
schema/agentic_message.go:1920
FunctionconcatMCPToolCalls
(calls []*MCPToolCall)
schema/agentic_message.go:1766
FunctionconcatMCPToolResults
(results []*MCPToolResult)
schema/agentic_message.go:1805
FunctionconcatReasoning
(reasons []*Reasoning)
schema/agentic_message.go:1310
FunctionconcatServerToolCalls
(calls []*ServerToolCall)
schema/agentic_message.go:1656
FunctionconcatServerToolResults
(results []*ServerToolResult)
schema/agentic_message.go:1711
FunctionconcatStrings
(ss []string)
internal/concat.go:53
FunctionconcatTStreamError
(_ []tConcatErrForTest)
compose/stream_concat_test.go:54
FunctionconcatTStreamForTest
(items []tStreamConcatItemForTest)
compose/stream_concat_test.go:34
FunctionconcatToolSearchFunctionToolResult
(results []*ToolSearchFunctionToolResult)
schema/agentic_message.go:1394
FunctionconcatUserInputAudios
(audios []*UserInputAudio)
schema/agentic_message.go:1364
FunctionconcatUserInputFiles
(files []*UserInputFile)
schema/agentic_message.go:1384
FunctionconcatUserInputImages
(images []*UserInputImage)
schema/agentic_message.go:1354
← previousnext →3,701–3,800 of 3,994, ranked by callers