MCPcopy Create free account

hub / github.com/cloudwego/eino-examples / functions

Functions1,121 in github.com/cloudwego/eino-examples

↓ 1 callersFunctionnewCheckPointStore
(ctx context.Context)
compose/graph/react_with_interrupt/main.go:163
↓ 1 callersFunctionnewCodeAgent
(ctx context.Context, operator commandline.Operator)
adk/multiagent/integration-excel-agent/agents/executor/code_agent.go:35
↓ 1 callersFunctionnewCommandLineTools
(ctx context.Context, sb commandline.Operator)
flow/agent/manus/manus.go:418
↓ 1 callersFunctionnewDocumentTransformer
newDocumentTransformer component initialization function of node 'MarkdownSplitter' in graph 'KnowledgeIndexing'
quickstart/eino_assistant/eino/knowledgeindexing/transformer.go:27
↓ 1 callersFunctionnewEmbedding
(ctx context.Context)
quickstart/eino_assistant/eino/knowledgeindexing/embedding.go:27
↓ 1 callersFunctionnewEmbedding
(ctx context.Context)
quickstart/eino_assistant/eino/einoagent/embedding.go:27
↓ 1 callersFunctionnewExcelAgent
(ctx context.Context)
adk/multiagent/deep/main.go:153
↓ 1 callersFunctionnewExcelAgent
(ctx context.Context)
adk/multiagent/integration-excel-agent/main.go:153
↓ 1 callersFunctionnewHost
(ctx context.Context, baseURL, apiKey, modelName string)
flow/agent/multiagent/host/journal/host.go:26
↓ 1 callersFunctionnewInMemoryStore
()
flow/agent/manus/manus.go:452
↓ 1 callersFunctionnewInMemoryStore
()
adk/multiagent/integration-project-manager/agent.go:148
↓ 1 callersFunctionnewIndexer
newIndexer component initialization function of node 'RedisIndexer' in graph 'KnowledgeIndexing'
quickstart/eino_assistant/eino/knowledgeindexing/indexer.go:43
↓ 1 callersFunctionnewIntermediateOutputPrinter
()
flow/agent/multiagent/plan_execute/main.go:139
↓ 1 callersFunctionnewLambda1
newLambda1 component initialization function of node 'ReactAgent' in graph 'EinoAgent'
quickstart/eino_assistant/eino/einoagent/flow.go:27
↓ 1 callersFunctionnewLangfuseHandler
()
flow/agent/manus/manus.go:374
↓ 1 callersFunctionnewLoader
newLoader component initialization function of node 'FileLoader' in graph 'KnowledgeIndexing'
quickstart/eino_assistant/eino/knowledgeindexing/loader.go:27
↓ 1 callersFunctionnewLogHandler
()
flow/agent/manus/log.go:31
↓ 1 callersFunctionnewLoggingReadCloser
(rc io.ReadCloser, ctx context.Context, c *CurlRT)
components/model/httptransport/curlrt.go:247
↓ 1 callersFunctionnewMaxOutputTokenRetryConfig
(retryMaxTokens []int, inspect responseInspector)
adk/agentic/retry_max_output_tokens/retry.go:33
↓ 1 callersFunctionnewMemoryCheckpointStore
()
compose/batch/main.go:475
↓ 1 callersFunctionnewOpenAIAgenticModel
(ctx context.Context)
adk/agentic/research_assistant/model.go:71
↓ 1 callersFunctionnewPlannerChatModel
(ctx context.Context)
adk/multiagent/integration-excel-agent/agents/planner/planner.go:102
↓ 1 callersFunctionnewPlannerInputGen
(plannerPrompt prompt.ChatTemplate)
adk/multiagent/integration-excel-agent/agents/planner/planner.go:122
↓ 1 callersFunctionnewRateLimitedModel
()
adk/human-in-the-loop/7_deep-agents/agent.go:72
↓ 1 callersFunctionnewReadJournalSpecialist
(ctx context.Context)
flow/agent/multiagent/host/journal/read_journal_specialist.go:49
↓ 1 callersFunctionnewResearchAssistant
(ctx context.Context, reportPath string)
adk/agentic/research_assistant/agent.go:30
↓ 1 callersFunctionnewRetriever
newRetriever component initialization function of node 'RedisRetriever' in graph 'EinoAgent'
quickstart/eino_assistant/eino/einoagent/retriever.go:34
↓ 1 callersFunctionnewReviewNode
()
compose/graph/state/state_graph.go:73
↓ 1 callersFunctionnewSandbox
(ctx context.Context)
flow/agent/manus/manus.go:398
↓ 1 callersFunctionnewScoreWorkflow
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 callersFunctionnewToolsNode
(ctx context.Context)
compose/graph/react_with_interrupt/main.go:153
↓ 1 callersFunctionnewTranslateNode
演示【方式2】ProcessState:在 Lambda 内部主动获取 State
compose/graph/state/state_graph.go:54
↓ 1 callersFunctionnewTravelAgent
( ctx context.Context, model einoModel.AgenticModel, inspect responseInspector, )
adk/agentic/retry_max_output_tokens/agent.go:30
↓ 1 callersFunctionnewVikingDBRetriever
(ctx context.Context, host, region, ak, sk string)
components/retriever/multiquery/main.go:128
↓ 1 callersFunctionnewVikingDBRetriever
(ctx context.Context, host, region, ak, sk string)
components/retriever/router/main.go:80
↓ 1 callersFunctionnewWebSearchAgent
(ctx context.Context)
adk/multiagent/integration-excel-agent/agents/executor/web_search.go:30
↓ 1 callersFunctionnewWriteJournalSpecialist
(ctx context.Context, baseURL, model string)
flow/agent/multiagent/host/journal/write_journal_specialist.go:78
↓ 1 callersFunctionnormalizeAgenticBlockExtra
(blockType schema.ContentBlockType, extra map[string]any)
quickstart/chatwitheino/msgops/normalize.go:92
↓ 1 callersFunctionnormalizeAgenticMessage
(msg *schema.AgenticMessage)
quickstart/chatwitheino/msgops/normalize.go:60
↓ 1 callersFunctionopenAIRunOptions
()
adk/agentic/research_assistant/model.go:131
↓ 1 callersFunctionopenEditDialog
(task)
quickstart/eino_assistant/cmd/einoagent/task/web/script.js:210
↓ 1 callersFunctionopenURI
(uri string)
quickstart/eino_assistant/pkg/tool/open/open.go:95
↓ 1 callersFunctionparseSheet
(f *excelize.File, sheetName string)
adk/multiagent/deep/generic/file_preview.go:140
↓ 1 callersFunctionparseSheet
(f *excelize.File, sheetName string)
adk/multiagent/integration-excel-agent/generic/file_preview.go:140
↓ 1 callersFunctionpickEntryFile
(dir string)
quickstart/chatwitheino/scripts/sync_eino_ext_skills.go:156
↓ 1 callersFunctionprepareWorkspace
()
adk/agentic/research_assistant/main.go:100
↓ 1 callersFunctionpreviewExcelDocument
(filePath string)
adk/multiagent/deep/generic/file_preview.go:116
↓ 1 callersFunctionpreviewExcelDocument
(filePath string)
adk/multiagent/integration-excel-agent/generic/file_preview.go:116
↓ 1 callersMethodprintLine
(line []byte)
quickstart/chatwitheino/smoketest/main.go:133
↓ 1 callersFunctionprintMessage
(idx int, m *schema.Message)
flow/agent/react/memory_example/main.go:155
↓ 1 callersFunctionprintMessage
(m *schema.Message)
flow/agent/manus/log.go:72
↓ 1 callersFunctionprintRetryEvent
(err error)
adk/agentic/retry_max_output_tokens/main.go:111
↓ 1 callersFunctionprintRunHeader
(provider, modelID string, initialMaxTokens int)
adk/agentic/retry_max_output_tokens/main.go:179
↓ 1 callersMethodprintStream
()
flow/agent/multiagent/plan_execute/main.go:150
↓ 1 callersFunctionprocessAgentEvent
(ctx context.Context, s *sse.Stream, event *adk.AgentEvent)
adk/intro/http-sse-service/main.go:119
↓ 1 callersFunctionprocessEvents
(iter *adk.AsyncIterator[*adk.AgentEvent])
adk/human-in-the-loop/7_deep-agents/main.go:108
↓ 1 callersFunctionprocessEvents
(iter *adk.AsyncIterator[*adk.AgentEvent])
adk/human-in-the-loop/8_supervisor-plan-execute/main.go:113
↓ 1 callersFunctionprocessEvents
(iter *adk.AsyncIterator[*adk.AgentEvent])
adk/human-in-the-loop/5_supervisor/main.go:110
↓ 1 callersFunctionprocessEvents
(iter *adk.AsyncIterator[*adk.AgentEvent])
adk/human-in-the-loop/6_plan-execute-replan/main.go:125
↓ 1 callersFunctionprocessMessageContent
(content)
quickstart/eino_assistant/cmd/einoagent/agent/web/script.js:52
↓ 1 callersFunctionprocessMessageFuture
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 callersFunctionreadJournal
(dateStr string)
flow/agent/multiagent/host/journal/read_journal_specialist.go:32
↓ 1 callersFunctionregister
register registers all routers.
flow/agent/deer-go/router_gen.go:26
↓ 1 callersFunctionrenderContent
()
quickstart/eino_assistant/cmd/einoagent/agent/web/script.js:424
↓ 1 callersMethodrenderGraph
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 callersMethodrenderImage
(input, output string)
devops/visualize/mermaid.go:385
↓ 1 callersFunctionrenderTasks
(tasks)
quickstart/eino_assistant/cmd/einoagent/task/web/script.js:129
↓ 1 callersFunctionrenderWithChromedp
(mermaidCode, output string)
devops/visualize/mermaid.go:407
↓ 1 callersFunctionreportStream
(sr *schema.StreamReader[*schema.Message])
quickstart/chat/stream.go:26
↓ 1 callersFunctionresolveSkillsDir
()
quickstart/chatwitheino/agent.go:92
↓ 1 callersFunctionresolveSkillsDir
()
quickstart/chatwitheino/cmd/ch09/main.go:272
↓ 1 callersFunctionresolveSourceBase
(src string)
quickstart/chatwitheino/scripts/sync_eino_ext_skills.go:108
↓ 1 callersFunctionrunBasicSequential
Scenario 1: Basic Sequential Processing Demonstrates: MaxConcurrency=0 for sequential execution
compose/batch/main.go:175
↓ 1 callersFunctionrunConcurrent
Scenario 2: Concurrent Processing Demonstrates: MaxConcurrency>0 for parallel execution with limit
compose/batch/main.go:202
↓ 1 callersFunctionrunConsole
()
flow/agent/deer-go/main.go:85
↓ 1 callersFunctionrunInterruptAndResume
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 callersMethodrunOneTurn
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 callersFunctionrunParentGraphWithReduce
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 callersFunctionrunServer
()
flow/agent/deer-go/main.go:60
↓ 1 callersFunctionrunWithCompileOptions
Scenario 3: With Compile Options Demonstrates: InnerCompileOptions for configuring inner workflow at compile time
compose/batch/main.go:229
↓ 1 callersFunctionrunWithError
Scenario 5: Normal Error Handling Demonstrates: How BatchNode handles errors from individual tasks
compose/batch/main.go:296
↓ 1 callersFunctionrunWithInvokeOptions
Scenario 4: With Invoke Options (Callbacks) Demonstrates: Callbacks for batch-level monitoring via context
compose/batch/main.go:256
↓ 1 callersFunctionsafeWrapReader
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 callersFunctionsanitize
(s string)
devops/visualize/mermaid.go:399
↓ 1 callersMethodsave
(msg *schema.Message)
quickstart/eino_assistant/pkg/mem/simple.go:197
↓ 1 callersFunctionscoreOneChunk
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 callersFunctionseedBuggyProject
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 callersFunctionselectedProvider
()
adk/agentic/retry_max_output_tokens/main.go:163
↓ 1 callersFunctionsendMessage
(id, message string)
quickstart/eino_assistant/pkg/tool/einotool/templates/http_agent/client/main.go:75
↓ 1 callersFunctionsendMessage
()
quickstart/eino_assistant/cmd/einoagent/agent/web/script.js:314
↓ 1 callersFunctionshouldPrintAgenticMessage
(msg *schema.AgenticMessage)
adk/agentic/retry_max_output_tokens/main.go:192
↓ 1 callersFunctionslowAgent
slowAgent returns a mock that delays before replying, respecting context cancellation.
quickstart/chatwitheino/server/server_test.go:73
↓ 1 callersFunctionsplitIntoChunks
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 callersFunctionstream
(ctx context.Context, llm model.ToolCallingChatModel, in []*schema.Message)
quickstart/chat/generate.go:35
↓ 1 callersFunctionsynthesize
synthesize builds a prompt from the top-k chunks and generates a cited answer.
quickstart/chatwitheino/rag/rag.go:276
↓ 1 callersMethodtoCallbackHandler
()
flow/agent/multiagent/plan_execute/main.go:158
↓ 1 callersFunctiontranscribeLive
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 callersFunctiontruncate
(s string, maxLen int)
adk/human-in-the-loop/7_deep-agents/main.go:132
↓ 1 callersFunctiontruncateString
(s string, maxLen int)
flow/agent/react/dynamic_option_example/main.go:264
↓ 1 callersFunctiontryExtractCodeSnippet
(res string)
adk/multiagent/deep/tools/python_runner.go:96
← previousnext →601–700 of 1,121, ranked by callers