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
↓ 1 callers
Function
copyDir
(src, dest string)
quickstart/chatwitheino/scripts/sync_eino_ext_skills.go:200
↓ 1 callers
Function
copyFile
(src, dest string)
quickstart/chatwitheino/scripts/sync_eino_ext_skills.go:226
↓ 1 callers
Function
countWords
(s string)
adk/common/tool/graphtool/examples/1_chain_summarize/main.go:105
↓ 1 callers
Function
createAgent
(ctx context.Context)
adk/intro/http-sse-service/main.go:72
↓ 1 callers
Function
createFinanceTools
()
adk/middlewares/dynamictool/toolsearch/tools.go:108
↓ 1 callers
Function
createMessagesFromTemplate
()
quickstart/chat/template.go:41
↓ 1 callers
Function
createOllamaChatModel
(ctx context.Context)
quickstart/chat/ollama.go:27
↓ 1 callers
Function
createOpenAIChatModel
(ctx context.Context)
quickstart/chat/openai.go:28
↓ 1 callers
Function
createTemplate
()
quickstart/chat/template.go:27
↓ 1 callers
Function
createWeatherTools
()
adk/middlewares/dynamictool/toolsearch/tools.go:76
↓ 1 callers
Function
customizedRegister
customizeRegister registers customize routers.
flow/agent/deer-go/router.go:28
↓ 1 callers
Function
debounce
(func, delay)
quickstart/eino_assistant/cmd/einoagent/task/web/script.js:227
↓ 1 callers
Function
defaultDDGSearchConfig
(ctx context.Context)
quickstart/eino_assistant/eino/einoagent/tools_node.go:65
↓ 1 callers
Function
defaultDescription
(name string)
quickstart/chatwitheino/scripts/sync_eino_ext_skills.go:141
↓ 1 callers
Function
defaultEinoAssistantToolConfig
(ctx context.Context)
quickstart/eino_assistant/pkg/tool/einotool/einotool.go:48
↓ 1 callers
Function
defaultGitCloneFileConfig
(ctx context.Context)
quickstart/eino_assistant/pkg/tool/gitclone/gitclone.go:39
↓ 1 callers
Function
defaultOpenFileToolConfig
(ctx context.Context)
quickstart/eino_assistant/pkg/tool/open/open.go:38
↓ 1 callers
Function
emitTextCard
emitTextCard emits a text card with full content (non-streaming path).
quickstart/chatwitheino/a2ui/streamer.go:359
↓ 1 callers
Function
ensureSkillMD
(destDir, name string)
quickstart/chatwitheino/scripts/sync_eino_ext_skills.go:118
↓ 1 callers
Function
extractCodeSnippet
(res string)
adk/multiagent/deep/tools/python_runner.go:122
↓ 1 callers
Function
extractCodeSnippet
(res string)
adk/multiagent/integration-excel-agent/tools/python_runner.go:122
↓ 1 callers
Function
extractRepoDir
辅助函数:从 URL 提取 group 和 repo
quickstart/eino_assistant/pkg/tool/gitclone/gitclone.go:162
↓ 1 callers
Function
firstChunkStreamToolCallChecker
(_ context.Context, sr *schema.StreamReader[*schema.AgenticMessage])
flow/agent/react/agentic/react.go:143
↓ 1 callers
Function
formatBrowserToolPrompt
(ctx context.Context, bs *browseruse.BrowserState)
flow/agent/manus/manus.go:338
↓ 1 callers
Function
formatExecutedSteps
(in []planexecute.ExecutedStep)
adk/human-in-the-loop/8_supervisor-plan-execute/agent.go:147
↓ 1 callers
Function
formatExecutedSteps
(in []planexecute.ExecutedStep)
adk/human-in-the-loop/6_plan-execute-replan/agent.go:110
↓ 1 callers
Function
formatExecutedSteps
(in []planexecute.ExecutedStep)
adk/multiagent/plan-execute-replan/agent/agent.go:63
↓ 1 callers
Function
formatInput
(in []adk.Message)
adk/human-in-the-loop/8_supervisor-plan-execute/agent.go:143
↓ 1 callers
Function
formatInput
(in []adk.Message)
adk/human-in-the-loop/6_plan-execute-replan/agent.go:106
↓ 1 callers
Function
formatInput
(in []adk.Message)
adk/multiagent/plan-execute-replan/agent/agent.go:59
↓ 1 callers
Function
genToolInfos
(ctx context.Context, config compose.ToolsNodeConfig)
flow/agent/react/agentic/react.go:220
↓ 1 callers
Function
genToolInfos
把可执行的 Tool 转化为大模型可用的 Tool 信息
flow/agent/multiagent/plan_execute/compose.go:240
↓ 1 callers
Function
generate
(ctx context.Context, llm model.ToolCallingChatModel, in []*schema.Message)
quickstart/chat/generate.go:27
↓ 1 callers
Method
generate
generate orchestrates diagram construction by delegating to renderGraph. The top-level direction is TD (top-down) for readability and consistency.
devops/visualize/mermaid.go:80
↓ 1 callers
Function
generateReport
generateReport simulates a long-running background report generation job. It sends the final URL or an error via the notify channel.
compose/graph/async_node/service.go:31
↓ 1 callers
Function
getAddTodoTool
获取添加 todo 工具 使用 utils.NewTool 创建工具
quickstart/todoagent/main.go:155
↓ 1 callers
Function
getAllFiles
(path string)
adk/multiagent/deep/generic/file_preview.go:81
↓ 1 callers
Function
getAllFiles
(path string)
adk/multiagent/integration-excel-agent/generic/file_preview.go:81
↓ 1 callers
Function
getData
()
flow/agent/react/tools/service.go:141
↓ 1 callers
Function
getDeadlineStatus
(deadline, completed)
quickstart/eino_assistant/cmd/einoagent/task/web/script.js:75
↓ 1 callers
Function
getRateLimitDelay
()
adk/human-in-the-loop/7_deep-agents/agent.go:60
↓ 1 callers
Function
getRateLimitDelay
()
adk/human-in-the-loop/8_supervisor-plan-execute/agent.go:61
↓ 1 callers
Function
getRateLimitDelay
()
adk/human-in-the-loop/5_supervisor/agent.go:61
↓ 1 callers
Function
getRateLimitDelay
()
adk/human-in-the-loop/6_plan-execute-replan/agent.go:60
↓ 1 callers
Function
getReturnDirectlyToolCallID
(input *schema.AgenticMessage, toolReturnDirectly map[string]struct{})
flow/agent/react/agentic/react.go:234
↓ 1 callers
Method
handleAbort
handleAbort immediately stops the current TurnLoop for a session.
quickstart/chatwitheino/server/server.go:545
↓ 1 callers
Function
handleAction
(s *sse.Stream, event *adk.AgentEvent)
adk/intro/http-sse-service/main.go:252
↓ 1 callers
Method
handleApprove
(ctx context.Context, c *app.RequestContext)
quickstart/chatwitheino/cmd/ch10/main.go:290
↓ 1 callers
Method
handleApprove
handleApprove resumes an interrupted agent run with the user's approval decision. Creates a new TurnLoop with checkpoint/resume to continue from the i
quickstart/chatwitheino/server/server.go:427
↓ 1 callers
Function
handleChat
(ctx context.Context, c *app.RequestContext, runner *adk.Runner)
adk/intro/http-sse-service/main.go:88
↓ 1 callers
Method
handleChat
(ctx context.Context, c *app.RequestContext)
quickstart/chatwitheino/cmd/ch10/main.go:225
↓ 1 callers
Method
handleChat
handleChat handles a new chat message. It creates or reuses a TurnLoop for the session. If a loop is already running (busy), it pushes with preempt to
quickstart/chatwitheino/server/server.go:283
↓ 1 callers
Function
handleMessageOutput
(ctx context.Context, s *sse.Stream, event *adk.AgentEvent)
adk/intro/http-sse-service/main.go:144
↓ 1 callers
Function
handleRegularMessage
(s *sse.Stream, event *adk.AgentEvent, msg *schema.Message)
adk/intro/http-sse-service/main.go:158
↓ 1 callers
Method
handleRender
(c *app.RequestContext)
quickstart/chatwitheino/cmd/ch10/main.go:275
↓ 1 callers
Method
handleRender
(_ context.Context, c *app.RequestContext)
quickstart/chatwitheino/server/server.go:266
↓ 1 callers
Function
handleStreamingMessage
(ctx context.Context, s *sse.Stream, event *adk.AgentEvent, stream *schema.StreamReader[*schema.Message])
adk/intro/http-sse-service/main.go:178
↓ 1 callers
Method
handleUpload
(c *app.RequestContext)
quickstart/chatwitheino/cmd/ch10/main.go:351
↓ 1 callers
Method
handleUpload
(ctx context.Context, c *app.RequestContext)
quickstart/chatwitheino/server/server.go:789
↓ 1 callers
Function
indexMarkdownFiles
(ctx context.Context, dir string)
quickstart/eino_assistant/cmd/knowledgeindexing/main.go:85
↓ 1 callers
Function
initAPMPlusCallback
initAPMPlusCallback initializes the Eino APMPlus callback handler. It creates trace spans and collects metrics for Eino applications, which will be se
flow/agent/deer-go/biz/infra/tracing.go:68
↓ 1 callers
Function
initHertzTracing
initHertzTracing initializes Hertz framework tracing integration It creates trace spans and collects metrics for incoming HTTP requests, which will be
flow/agent/deer-go/biz/infra/tracing.go:88
↓ 1 callers
Function
interruptingAgent
()
quickstart/chatwitheino/server/server_test.go:97
↓ 1 callers
Method
invoke
invoke is the internal implementation of batch processing.
compose/batch/batch/node.go:108
↓ 1 callers
Function
isFilePath
(path string)
quickstart/eino_assistant/pkg/tool/open/open.go:110
↓ 1 callers
Function
isMaxOutputTokensIncomplete
(msg *schema.AgenticMessage, inspect responseInspector)
adk/agentic/retry_max_output_tokens/retry.go:99
↓ 1 callers
Function
isTokenLimitReason
(reason string)
adk/agentic/retry_max_output_tokens/retry.go:104
↓ 1 callers
Function
isValidGitURL
辅助函数:验证 Git URL 格式
quickstart/eino_assistant/pkg/tool/gitclone/gitclone.go:126
↓ 1 callers
Method
load
()
quickstart/eino_assistant/pkg/mem/simple.go:173
↓ 1 callers
Method
loadFromDisk
()
quickstart/eino_assistant/pkg/tool/task/storage.go:72
↓ 1 callers
Function
loadJournal
search journal: user ask a question, this specialist load today's journal and ground its answer onto it.
flow/agent/multiagent/host/journal/answer_with_journal_specialist.go:36
↓ 1 callers
Function
main
()
flow/agent/deer-go/biz/mcps/python/server.py:242
↓ 1 callers
Function
makeBatchCheckpointID
makeBatchCheckpointID creates a checkpoint ID for a given batch index. Format: "batch_0", "batch_1", etc.
compose/batch/batch/store.go:48
↓ 1 callers
Function
marshalJSON
(v any)
adk/agentic/retry_max_output_tokens/tools.go:145
↓ 1 callers
Function
messageAssistantText
(msg *schema.Message)
quickstart/chatwitheino/msgops/extract.go:261
↓ 1 callers
Function
mockCalculatePrice
(ctx context.Context, validation *validationResult)
adk/common/tool/graphtool/examples/3_workflow_order/main.go:111
↓ 1 callers
Function
mockKnowledgeBaseSearch
(ctx context.Context, query string)
adk/common/tool/graphtool/examples/2_graph_research/main.go:49
↓ 1 callers
Function
mockLocalFileSearch
(ctx context.Context, query string)
adk/common/tool/graphtool/examples/2_graph_research/main.go:57
↓ 1 callers
Function
mockLookupCustomer
(ctx context.Context, validation *validationResult)
adk/common/tool/graphtool/examples/3_workflow_order/main.go:127
↓ 1 callers
Function
mockQualityCheck
(in string)
compose/graph/state/state_graph.go:145
↓ 1 callers
Function
mockReview
(in string)
compose/graph/state/state_graph.go:141
↓ 1 callers
Function
mockTranslate
(in string)
compose/graph/state/state_graph.go:137
↓ 1 callers
Function
mockValidateOrder
(ctx context.Context, input *OrderInput)
adk/common/tool/graphtool/examples/3_workflow_order/main.go:80
↓ 1 callers
Function
mockWebSearch
(ctx context.Context, query string)
adk/common/tool/graphtool/examples/2_graph_research/main.go:41
↓ 1 callers
Function
needsCompletedStatus
(blockType schema.ContentBlockType)
quickstart/chatwitheino/msgops/normalize.go:108
↓ 1 callers
Function
newARKAgenticModel
(ctx context.Context)
adk/agentic/research_assistant/model.go:51
↓ 1 callers
Function
newAgent
(ctx context.Context)
adk/intro/agent_with_summarization/agent.go:90
↓ 1 callers
Function
newAgenticModel
(ctx context.Context)
adk/agentic/research_assistant/model.go:38
↓ 1 callers
Function
newAgenticModel
(ctx context.Context, provider string)
adk/agentic/retry_max_output_tokens/main.go:120
↓ 1 callers
Function
newAgenticModel
(ctx context.Context)
quickstart/chatwitheino/chatmodel/model.go:78
↓ 1 callers
Function
newAgenticModelCallback
()
flow/agent/react/agentic/callback.go:35
↓ 1 callers
Function
newAnswerWithJournalSpecialist
(ctx context.Context, baseURL, model string)
flow/agent/multiagent/host/journal/answer_with_journal_specialist.go:55
↓ 1 callers
Function
newAskForClarificationTool
()
adk/multiagent/integration-project-manager/agents/researcher.go:94
↓ 1 callers
Function
newBrowserTool
(ctx context.Context)
flow/agent/manus/manus.go:430
↓ 1 callers
Function
newChatModel
(ctx context.Context, baseURL, apiKey, modelName string)
components/retriever/multiquery/main.go:120
↓ 1 callers
Function
newChatModel
(ctx context.Context)
compose/graph/react_with_interrupt/main.go:120
↓ 1 callers
Function
newChatModel
(ctx context.Context)
quickstart/chatwitheino/chatmodel/model.go:57
↓ 1 callers
Function
newChatModel
(ctx context.Context)
quickstart/eino_assistant/eino/einoagent/model.go:27
↓ 1 callers
Function
newChatTemplate
(_ context.Context)
compose/graph/react_with_interrupt/main.go:113
↓ 1 callers
Function
newChatTemplate
newChatTemplate component initialization function of node 'ChatTemplate' in graph 'EinoAgent'
quickstart/eino_assistant/eino/einoagent/prompt.go:65
← previous
next →
501–600 of 1,121, ranked by callers