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
newCheckPointStore
(ctx context.Context)
compose/graph/react_with_interrupt/main.go:163
↓ 1 callers
Function
newCodeAgent
(ctx context.Context, operator commandline.Operator)
adk/multiagent/integration-excel-agent/agents/executor/code_agent.go:35
↓ 1 callers
Function
newCommandLineTools
(ctx context.Context, sb commandline.Operator)
flow/agent/manus/manus.go:418
↓ 1 callers
Function
newDocumentTransformer
newDocumentTransformer component initialization function of node 'MarkdownSplitter' in graph 'KnowledgeIndexing'
quickstart/eino_assistant/eino/knowledgeindexing/transformer.go:27
↓ 1 callers
Function
newEmbedding
(ctx context.Context)
quickstart/eino_assistant/eino/knowledgeindexing/embedding.go:27
↓ 1 callers
Function
newEmbedding
(ctx context.Context)
quickstart/eino_assistant/eino/einoagent/embedding.go:27
↓ 1 callers
Function
newExcelAgent
(ctx context.Context)
adk/multiagent/deep/main.go:153
↓ 1 callers
Function
newExcelAgent
(ctx context.Context)
adk/multiagent/integration-excel-agent/main.go:153
↓ 1 callers
Function
newHost
(ctx context.Context, baseURL, apiKey, modelName string)
flow/agent/multiagent/host/journal/host.go:26
↓ 1 callers
Function
newInMemoryStore
()
flow/agent/manus/manus.go:452
↓ 1 callers
Function
newInMemoryStore
()
adk/multiagent/integration-project-manager/agent.go:148
↓ 1 callers
Function
newIndexer
newIndexer component initialization function of node 'RedisIndexer' in graph 'KnowledgeIndexing'
quickstart/eino_assistant/eino/knowledgeindexing/indexer.go:43
↓ 1 callers
Function
newIntermediateOutputPrinter
()
flow/agent/multiagent/plan_execute/main.go:139
↓ 1 callers
Function
newLambda1
newLambda1 component initialization function of node 'ReactAgent' in graph 'EinoAgent'
quickstart/eino_assistant/eino/einoagent/flow.go:27
↓ 1 callers
Function
newLangfuseHandler
()
flow/agent/manus/manus.go:374
↓ 1 callers
Function
newLoader
newLoader component initialization function of node 'FileLoader' in graph 'KnowledgeIndexing'
quickstart/eino_assistant/eino/knowledgeindexing/loader.go:27
↓ 1 callers
Function
newLogHandler
()
flow/agent/manus/log.go:31
↓ 1 callers
Function
newLoggingReadCloser
(rc io.ReadCloser, ctx context.Context, c *CurlRT)
components/model/httptransport/curlrt.go:247
↓ 1 callers
Function
newMaxOutputTokenRetryConfig
(retryMaxTokens []int, inspect responseInspector)
adk/agentic/retry_max_output_tokens/retry.go:33
↓ 1 callers
Function
newMemoryCheckpointStore
()
compose/batch/main.go:475
↓ 1 callers
Function
newOpenAIAgenticModel
(ctx context.Context)
adk/agentic/research_assistant/model.go:71
↓ 1 callers
Function
newPlannerChatModel
(ctx context.Context)
adk/multiagent/integration-excel-agent/agents/planner/planner.go:102
↓ 1 callers
Function
newPlannerInputGen
(plannerPrompt prompt.ChatTemplate)
adk/multiagent/integration-excel-agent/agents/planner/planner.go:122
↓ 1 callers
Function
newRateLimitedModel
()
adk/human-in-the-loop/7_deep-agents/agent.go:72
↓ 1 callers
Function
newReadJournalSpecialist
(ctx context.Context)
flow/agent/multiagent/host/journal/read_journal_specialist.go:49
↓ 1 callers
Function
newResearchAssistant
(ctx context.Context, reportPath string)
adk/agentic/research_assistant/agent.go:30
↓ 1 callers
Function
newRetriever
newRetriever component initialization function of node 'RedisRetriever' in graph 'EinoAgent'
quickstart/eino_assistant/eino/einoagent/retriever.go:34
↓ 1 callers
Function
newReviewNode
()
compose/graph/state/state_graph.go:73
↓ 1 callers
Function
newSandbox
(ctx context.Context)
flow/agent/manus/manus.go:398
↓ 1 callers
Function
newScoreWorkflow
newScoreWorkflow builds the single-node inner workflow used by each BatchNode task. It is intentionally trivial: BatchNode provides the parallelism, n
quickstart/chatwitheino/rag/rag.go:224
↓ 1 callers
Function
newToolsNode
(ctx context.Context)
compose/graph/react_with_interrupt/main.go:153
↓ 1 callers
Function
newTranslateNode
演示【方式2】ProcessState:在 Lambda 内部主动获取 State
compose/graph/state/state_graph.go:54
↓ 1 callers
Function
newTravelAgent
( ctx context.Context, model einoModel.AgenticModel, inspect responseInspector, )
adk/agentic/retry_max_output_tokens/agent.go:30
↓ 1 callers
Function
newVikingDBRetriever
(ctx context.Context, host, region, ak, sk string)
components/retriever/multiquery/main.go:128
↓ 1 callers
Function
newVikingDBRetriever
(ctx context.Context, host, region, ak, sk string)
components/retriever/router/main.go:80
↓ 1 callers
Function
newWebSearchAgent
(ctx context.Context)
adk/multiagent/integration-excel-agent/agents/executor/web_search.go:30
↓ 1 callers
Function
newWriteJournalSpecialist
(ctx context.Context, baseURL, model string)
flow/agent/multiagent/host/journal/write_journal_specialist.go:78
↓ 1 callers
Function
normalizeAgenticBlockExtra
(blockType schema.ContentBlockType, extra map[string]any)
quickstart/chatwitheino/msgops/normalize.go:92
↓ 1 callers
Function
normalizeAgenticMessage
(msg *schema.AgenticMessage)
quickstart/chatwitheino/msgops/normalize.go:60
↓ 1 callers
Function
openAIRunOptions
()
adk/agentic/research_assistant/model.go:131
↓ 1 callers
Function
openEditDialog
(task)
quickstart/eino_assistant/cmd/einoagent/task/web/script.js:210
↓ 1 callers
Function
openURI
(uri string)
quickstart/eino_assistant/pkg/tool/open/open.go:95
↓ 1 callers
Function
parseSheet
(f *excelize.File, sheetName string)
adk/multiagent/deep/generic/file_preview.go:140
↓ 1 callers
Function
parseSheet
(f *excelize.File, sheetName string)
adk/multiagent/integration-excel-agent/generic/file_preview.go:140
↓ 1 callers
Function
pickEntryFile
(dir string)
quickstart/chatwitheino/scripts/sync_eino_ext_skills.go:156
↓ 1 callers
Function
prepareWorkspace
()
adk/agentic/research_assistant/main.go:100
↓ 1 callers
Function
previewExcelDocument
(filePath string)
adk/multiagent/deep/generic/file_preview.go:116
↓ 1 callers
Function
previewExcelDocument
(filePath string)
adk/multiagent/integration-excel-agent/generic/file_preview.go:116
↓ 1 callers
Method
printLine
(line []byte)
quickstart/chatwitheino/smoketest/main.go:133
↓ 1 callers
Function
printMessage
(idx int, m *schema.Message)
flow/agent/react/memory_example/main.go:155
↓ 1 callers
Function
printMessage
(m *schema.Message)
flow/agent/manus/log.go:72
↓ 1 callers
Function
printRetryEvent
(err error)
adk/agentic/retry_max_output_tokens/main.go:111
↓ 1 callers
Function
printRunHeader
(provider, modelID string, initialMaxTokens int)
adk/agentic/retry_max_output_tokens/main.go:179
↓ 1 callers
Method
printStream
()
flow/agent/multiagent/plan_execute/main.go:150
↓ 1 callers
Function
processAgentEvent
(ctx context.Context, s *sse.Stream, event *adk.AgentEvent)
adk/intro/http-sse-service/main.go:119
↓ 1 callers
Function
processEvents
(iter *adk.AsyncIterator[*adk.AgentEvent])
adk/human-in-the-loop/7_deep-agents/main.go:108
↓ 1 callers
Function
processEvents
(iter *adk.AsyncIterator[*adk.AgentEvent])
adk/human-in-the-loop/8_supervisor-plan-execute/main.go:113
↓ 1 callers
Function
processEvents
(iter *adk.AsyncIterator[*adk.AgentEvent])
adk/human-in-the-loop/5_supervisor/main.go:110
↓ 1 callers
Function
processEvents
(iter *adk.AsyncIterator[*adk.AgentEvent])
adk/human-in-the-loop/6_plan-execute-replan/main.go:125
↓ 1 callers
Function
processMessageContent
(content)
quickstart/eino_assistant/cmd/einoagent/agent/web/script.js:52
↓ 1 callers
Function
processMessageFuture
processMessageFuture reads from the MessageFuture and prints intermediate results. Each iteration of the ReAct loop produces multiple message streams:
flow/agent/react/dynamic_option_example/main.go:168
↓ 1 callers
Function
readJournal
(dateStr string)
flow/agent/multiagent/host/journal/read_journal_specialist.go:32
↓ 1 callers
Function
register
register registers all routers.
flow/agent/deer-go/router_gen.go:26
↓ 1 callers
Function
renderContent
()
quickstart/eino_assistant/cmd/einoagent/agent/web/script.js:424
↓ 1 callers
Method
renderGraph
renderGraph builds a Mermaid diagram section for the given GraphInfo. It: 1) Collects and sorts node keys for deterministic output 2) Renders nodes (i
devops/visualize/mermaid.go:159
↓ 1 callers
Method
renderImage
(input, output string)
devops/visualize/mermaid.go:385
↓ 1 callers
Function
renderTasks
(tasks)
quickstart/eino_assistant/cmd/einoagent/task/web/script.js:129
↓ 1 callers
Function
renderWithChromedp
(mermaidCode, output string)
devops/visualize/mermaid.go:407
↓ 1 callers
Function
reportStream
(sr *schema.StreamReader[*schema.Message])
quickstart/chat/stream.go:26
↓ 1 callers
Function
resolveSkillsDir
()
quickstart/chatwitheino/agent.go:92
↓ 1 callers
Function
resolveSkillsDir
()
quickstart/chatwitheino/cmd/ch09/main.go:272
↓ 1 callers
Function
resolveSourceBase
(src string)
quickstart/chatwitheino/scripts/sync_eino_ext_skills.go:108
↓ 1 callers
Function
runBasicSequential
Scenario 1: Basic Sequential Processing Demonstrates: MaxConcurrency=0 for sequential execution
compose/batch/main.go:175
↓ 1 callers
Function
runConcurrent
Scenario 2: Concurrent Processing Demonstrates: MaxConcurrency>0 for parallel execution with limit
compose/batch/main.go:202
↓ 1 callers
Function
runConsole
()
flow/agent/deer-go/main.go:85
↓ 1 callers
Function
runInterruptAndResume
Scenario 6: Interrupt & Resume Demonstrates: Human-in-the-loop workflow using compose.Interrupt and compose.BatchResumeWithData Flow: 1. First invoca
compose/batch/main.go:339
↓ 1 callers
Method
runOneTurn
runOneTurn executes a single agent turn via Runner and returns the concatenated text output from the agent.
adk/agent/ralph-loop/ralph_loop.go:97
↓ 1 callers
Function
runParentGraphWithReduce
Scenario 7: Parent Graph with Reduce Node Demonstrates: - BatchNode as a node in a larger pipeline - WithInnerOptions for passing runtime options (cal
compose/batch/main.go:500
↓ 1 callers
Function
runServer
()
flow/agent/deer-go/main.go:60
↓ 1 callers
Function
runWithCompileOptions
Scenario 3: With Compile Options Demonstrates: InnerCompileOptions for configuring inner workflow at compile time
compose/batch/main.go:229
↓ 1 callers
Function
runWithError
Scenario 5: Normal Error Handling Demonstrates: How BatchNode handles errors from individual tasks
compose/batch/main.go:296
↓ 1 callers
Function
runWithInvokeOptions
Scenario 4: With Invoke Options (Callbacks) Demonstrates: Callbacks for batch-level monitoring via context
compose/batch/main.go:256
↓ 1 callers
Function
safeWrapReader
safeWrapReader proxies chunks from sr; on a stream error it emits the error as a final chunk instead of propagating it, so the model sees a complete (
quickstart/chatwitheino/helpers/middleware.go:89
↓ 1 callers
Function
sanitize
(s string)
devops/visualize/mermaid.go:399
↓ 1 callers
Method
save
(msg *schema.Message)
quickstart/eino_assistant/pkg/mem/simple.go:197
↓ 1 callers
Function
scoreOneChunk
scoreOneChunk asks the model to rate the relevance of a single chunk (0–10) and extract the most relevant excerpt. Parse errors are treated as score 0
quickstart/chatwitheino/rag/rag.go:238
↓ 1 callers
Function
seedBuggyProject
seedBuggyProject pre-populates the InMemoryBackend with a URL shortener project that has multiple intentional bugs and missing features. The Ralph Loo
adk/agent/ralph-loop/seed.go:29
↓ 1 callers
Function
selectedProvider
()
adk/agentic/retry_max_output_tokens/main.go:163
↓ 1 callers
Function
sendMessage
(id, message string)
quickstart/eino_assistant/pkg/tool/einotool/templates/http_agent/client/main.go:75
↓ 1 callers
Function
sendMessage
()
quickstart/eino_assistant/cmd/einoagent/agent/web/script.js:314
↓ 1 callers
Function
shouldPrintAgenticMessage
(msg *schema.AgenticMessage)
adk/agentic/retry_max_output_tokens/main.go:192
↓ 1 callers
Function
slowAgent
slowAgent returns a mock that delays before replying, respecting context cancellation.
quickstart/chatwitheino/server/server_test.go:73
↓ 1 callers
Function
splitIntoChunks
splitIntoChunks splits text into chunks of at most chunkSize characters, breaking on paragraph boundaries (\n\n) where possible, then on newlines.
quickstart/chatwitheino/rag/rag.go:303
↓ 1 callers
Function
stream
(ctx context.Context, llm model.ToolCallingChatModel, in []*schema.Message)
quickstart/chat/generate.go:35
↓ 1 callers
Function
synthesize
synthesize builds a prompt from the top-k chunks and generates a cited answer.
quickstart/chatwitheino/rag/rag.go:276
↓ 1 callers
Method
toCallbackHandler
()
flow/agent/multiagent/plan_execute/main.go:158
↓ 1 callers
Function
transcribeLive
transcribeLive simulates a live transcription service that emits tokens over time. It may emit an error mid-stream for demonstration when encountering
compose/graph/async_node/service.go:52
↓ 1 callers
Function
truncate
(s string, maxLen int)
adk/human-in-the-loop/7_deep-agents/main.go:132
↓ 1 callers
Function
truncateString
(s string, maxLen int)
flow/agent/react/dynamic_option_example/main.go:264
↓ 1 callers
Function
tryExtractCodeSnippet
(res string)
adk/multiagent/deep/tools/python_runner.go:96
← previous
next →
601–700 of 1,121, ranked by callers