MCPcopy Create free account

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

Functions4,194 in github.com/cloudwego/eino-ext

↓ 2 callersFunctionfunctionToolResultToInputItem
(block *schema.FunctionToolResult)
components/model/agenticopenai/responses_convertor.go:694
↓ 2 callersFunctionfunctionToolResultToInputItem
(block *schema.FunctionToolResult)
components/model/agenticark/convertor.go:591
↓ 2 callersMethodgenRequest
(in []*schema.Message, options *einoModel.Options)
components/model/ark/image_generation_model.go:371
↓ 2 callersMethodgenRequest
(input []*schema.Message, isStream bool, opts ...model.Option)
components/model/qianfan/chatmodel.go:325
↓ 2 callersMethodgenRequest
(in []*schema.Message, options *fmodel.Options)
components/model/arkbot/chatmodel.go:435
↓ 2 callersMethodgenRequest
(_ context.Context, stream bool, in []*schema.Message, opts ...model.Option)
components/model/ollama/chatmodel.go:242
↓ 2 callersMethodgenRequestAndOptions
(in []*schema.AgenticMessage, options *model.Options, specOptions *options)
components/model/agenticopenai/responses_model.go:539
↓ 2 callersMethodgenerateRequest
(_ context.Context, in []*schema.Message, opts ...model.Option)
components/model/deepseek/deepseek.go:541
↓ 2 callersFunctiongetBase64AgenticThoughtSignatureFromExtra
(extra map[string]any)
callbacks/cozeloop/signature.go:82
↓ 2 callersFunctiongetBase64SignatureByKey
(extra map[string]any, key string)
callbacks/cozeloop/signature.go:86
↓ 2 callersMethodgetCacheKey
getCacheKey generates a cache key for the search parameters. The cache key is a combination of the search query and the hash of the search parameters.
components/tool/bingsearch/internal/bingcore/types.go:142
↓ 2 callersMethodgetCallbackInput
(input []*schema.Message, opts ...model.Option)
components/model/claude/claude.go:933
↓ 2 callersMethodgetConfig
()
components/model/claude/claude.go:966
↓ 2 callersFunctiongetEnvWithFallbacks
(keys ...string)
components/model/agenticclaude/utils.go:26
↓ 2 callersMethodgetInvokeOptions
(gi *model.GraphInfo, threadID string, stateCh chan *model.NodeDebugState)
devops/internal/service/debug_run.go:144
↓ 2 callersFunctiongetKeys
getKeys extracts all keys from a map and returns them as a slice of strings. Parameters: - branches: A map with string keys and []*ThoughtRequest valu
components/tool/sequentialthinking/util.go:37
↓ 2 callersFunctiongetMessageOutputAudioID
(audio *schema.MessageOutputAudio)
libs/acl/openai/message_extra.go:80
↓ 2 callersFunctiongetMsgExtraValue
(msg *schema.Message, key string)
components/model/claude/message_extra.go:109
↓ 2 callersMethodgetOptions
(opts []model.Option)
components/model/agenticopenai/responses_model.go:501
↓ 2 callersMethodgetOrInitState
(ctx context.Context, curName string)
callbacks/langfuse/langfuse.go:608
↓ 2 callersFunctiongetPdfiumPool
getPdfiumPool returns the process-global pdfium pool, initializing it on first call. Subsequent calls with diverging sizing emit a WARN log and reuse
adk/backend/agentkit/sandbox.go:162
↓ 2 callersFunctiongetPdfiumPool
getPdfiumPool returns the process-global pdfium pool, initializing it on first call. Subsequent calls with diverging sizing emit a WARN log and reuse
adk/backend/local/local.go:148
↓ 2 callersFunctiongetSectionTitle
getSectionTitle returns the appropriate display title for a given section key. It checks for a custom title in the sectionTitles map first. If not fou
components/document/parser/docx/docx_parser.go:66
↓ 2 callersFunctiongetThinkingSignature
(msg *schema.Message)
components/model/claude/message_extra.go:157
↓ 2 callersFunctiongetThoughtSignatureByKey
(extra map[string]any, key string)
callbacks/cozeloop/signature.go:42
↓ 2 callersFunctiongetToolIDNameMapFromCtx
(ctx context.Context)
callbacks/cozeloop/utils.go:198
↓ 2 callersFunctiongetToolInfoCacheControl
(toolInfo *schema.ToolInfo)
components/model/agenticclaude/content_block_extra.go:111
↓ 2 callersFunctiongetToolSearchEvents
(msg *schema.Message)
components/model/claude/message_extra.go:226
↓ 2 callersFunctiongetToolSearchResultActionParam
(ts *ToolSearchResult)
components/model/agenticopenai/responses_convertor.go:1366
↓ 2 callersMethodgetVQD
getVQD retrieves the VQD token required for search requests
components/tool/duckduckgo/ddgsearch/client.go:189
↓ 2 callersFunctiongetVideoMetaData
(extra map[string]any)
components/model/gemini/message_extra.go:152
↓ 2 callersMethodhandleCompletedStreamEvent
(RespObject *responses.ResponseObject)
components/model/ark/responses_api.go:1294
↓ 2 callersFunctionhashSHA256
(data []byte)
adk/backend/agentkit/sandbox.go:1204
↓ 2 callersMethodimageGenerationPartialImageEventToContentBlock
(ev responses.ResponseImageGenCallPartialImageEvent)
components/model/agenticopenai/responses_event_convertor.go:1132
↓ 2 callersFunctionimageGenerationToolCallToInputItem
(args *ImageGenerationArguments, block *schema.ContentBlock)
components/model/agenticopenai/responses_convertor.go:1046
↓ 2 callersFunctionimageGenerationToolResultToInputItem
(result *ImageGenerationResult, block *schema.ContentBlock)
components/model/agenticopenai/responses_convertor.go:1300
↓ 2 callersFunctionimageProcessArgumentsToInputItem
(id string, status string, ip *ImageProcessArguments)
components/model/agenticark/convertor.go:926
↓ 2 callersFunctionimageProcessResultToInputItem
(id string, status string, result *ImageProcessResult)
components/model/agenticark/convertor.go:770
↓ 2 callersFunctioninitState
(_ context.Context, cli langfuse.Langfuse, options *traceOptions)
callbacks/langfuse/trace.go:109
↓ 2 callersFunctioninjectToolIDNameMapToCtx
(ctx context.Context, info *callbacks.RunInfo, input callbacks.CallbackInput)
callbacks/cozeloop/utils.go:171
↓ 2 callersFunctioninputPartsConv
(parts []*entity.ContentPart)
components/prompt/cozeloop/prompthub.go:182
↓ 2 callersFunctionint64ToStr
(i int64)
components/model/agenticark/utils.go:54
↓ 2 callersFunctionintSlice2int64
(in []int)
components/model/deepseek/deepseek.go:200
↓ 2 callersFunctionisImageExt
isImageExt checks if the file extension represents an image.
adk/backend/local/local.go:695
↓ 2 callersFunctionisPDFBytes
isPDFBytes checks if the data starts with the PDF magic number (%PDF-).
adk/backend/agentkit/sandbox.go:994
↓ 2 callersFunctionisToolResponseContent
isToolResponseContent checks if a content contains tool response parts.
components/model/gemini/gemini.go:770
↓ 2 callersFunctionisToolResponseContent
isToolResponseContent reports whether a content consists solely of tool response parts.
components/model/agenticgemini/conv.go:71
↓ 2 callersFunctionisToolResultMessage
isToolResultMessage reports whether a message consists solely of tool_result content blocks.
components/model/agenticclaude/convertor.go:95
↓ 2 callersFunctionisToolResultMessage
isToolResultMessage reports whether a message consists solely of tool_result content blocks.
components/model/claude/claude.go:742
↓ 2 callersMethoditemDoneEventFunctionMCPApprovalRequestToContentBlock
(outputIdx int64, item *responses.OutputItem_FunctionMcpApprovalRequest)
components/model/agenticark/event_convertor.go:681
↓ 2 callersMethoditemDoneEventFunctionMCPCallToContentBlocks
(outputIdx int64, item *responses.OutputItem_FunctionMcpCall)
components/model/agenticark/event_convertor.go:644
↓ 2 callersMethoditemDoneEventFunctionMCPListToolsToContentBlock
(outputIdx int64, item *responses.OutputItem_FunctionMcpListTools)
components/model/agenticark/event_convertor.go:668
↓ 2 callersMethoditemDoneEventFunctionToolCallToContentBlock
(outputIdx int64, item *responses.OutputItem_FunctionToolCall)
components/model/agenticark/event_convertor.go:563
↓ 2 callersMethoditemDoneEventFunctionWebSearchToContentBlock
(outputIdx int64, item *responses.OutputItem_FunctionWebSearch)
components/model/agenticark/event_convertor.go:587
↓ 2 callersMethoditemDoneEventReasoningToContentBlock
(outputIdx int64, item *responses.OutputItem_Reasoning)
components/model/agenticark/event_convertor.go:544
↓ 2 callersMethoditemDoneEventToolSearchCallToContentBlocks
(outputIdx int64, item responses.ResponseToolSearchCall, options *model.Options)
components/model/agenticopenai/responses_event_convertor.go:637
↓ 2 callersMethoditemDoneEventToolSearchOutputItemToContentBlocks
(outputIdx int64, item responses.ResponseToolSearchOutputItem)
components/model/agenticopenai/responses_event_convertor.go:650
↓ 2 callersFunctioniterWithErr
(src []T, fn func(T) (D, error))
components/indexer/volc_vikingdb/utils.go:54
↓ 2 callersFunctionjoinDocs
(docs []string, separator string, t KeepType)
components/document/transformer/splitter/recursive/recursive.go:240
↓ 2 callersFunctionmakeEmbeddingCtx
(ctx context.Context, emb embedding.Embedder)
components/retriever/opensearch2/search_mode/utils.go:27
↓ 2 callersFunctionmakeEmbeddingCtx
(ctx context.Context, emb embedding.Embedder)
components/retriever/es8/search_mode/utils.go:27
↓ 2 callersFunctionmakeEmbeddingCtx
(ctx context.Context, emb embedding.Embedder)
components/retriever/es9/search_mode/utils.go:27
↓ 2 callersFunctionmakeEmbeddingCtx
(ctx context.Context, emb embedding.Embedder)
components/retriever/opensearch3/search_mode/utils.go:27
↓ 2 callersFunctionmakeMCPListToolsItemAddedEventCacheKey
(itemID string, outputIndex int64)
components/model/agenticark/event_convertor.go:1172
↓ 2 callersFunctionmakeMCPToolApprovalRequestIndexKey
(outputIndex int64)
components/model/agenticopenai/responses_event_convertor.go:1177
↓ 2 callersFunctionmakeMCPToolCallItemAddedEventCacheKey
(itemID string, outputIndex int64)
components/model/agenticark/event_convertor.go:1168
↓ 2 callersFunctionmakeMCPToolResultIndexKey
(outputIndex int64)
components/model/agenticopenai/responses_event_convertor.go:1185
↓ 2 callersFunctionmakeMCPToolResultIndexKey
(outputIndex int64)
components/model/agenticark/event_convertor.go:1164
↓ 2 callersMethodmakeRequest
makeRequest makes a request to the Wikipedia API.
components/tool/wikipedia/internal/client.go:164
↓ 2 callersFunctionmapUsageDetail
(usage *schema.TokenUsage)
callbacks/langfuse/utils.go:94
↓ 2 callersFunctionmarkSelfGenerated
(msg *schema.AgenticMessage)
components/model/agenticark/message_extra.go:63
↓ 2 callersFunctionmarshalInterruptInfo
(info *adk.InterruptInfo)
acp/conv.go:302
↓ 2 callersMethodmcpCallArgumentsDeltaEventToContentBlock
(ev responses.ResponseMcpCallArgumentsDeltaEvent)
components/model/agenticopenai/responses_event_convertor.go:1006
↓ 2 callersMethodmcpCallArgumentsDeltaEventToContentBlock
(ev *responses.ResponseMcpCallArgumentsDeltaEvent)
components/model/agenticark/event_convertor.go:856
↓ 2 callersFunctionmcpListToolsResultToInputItem
(block *schema.ContentBlock)
components/model/agenticopenai/responses_convertor.go:1409
↓ 2 callersFunctionmcpListToolsResultToInputItem
(block *schema.ContentBlock)
components/model/agenticark/convertor.go:1082
↓ 2 callersFunctionmcpToolApprovalRequestToInputItem
(block *schema.ContentBlock)
components/model/agenticopenai/responses_convertor.go:1377
↓ 2 callersFunctionmcpToolApprovalRequestToInputItem
(block *schema.ContentBlock)
components/model/agenticark/convertor.go:1041
↓ 2 callersFunctionmcpToolApprovalResponseToInputItem
(block *schema.MCPToolApprovalResponse)
components/model/agenticark/convertor.go:1062
↓ 2 callersFunctionmcpToolCallToInputItem
(block *schema.ContentBlock)
components/model/agenticopenai/responses_convertor.go:1440
↓ 2 callersFunctionmcpToolCallToInputItem
(block *schema.ContentBlock)
components/model/agenticark/convertor.go:1126
↓ 2 callersFunctionmcpToolResultToInputItem
(block *schema.ContentBlock)
components/model/agenticopenai/responses_convertor.go:1463
↓ 2 callersFunctionmcpToolResultToInputItem
(block *schema.ContentBlock)
components/model/agenticark/convertor.go:1150
↓ 2 callersMethodmergeSplits
mergeSplits merges smaller splits into splits that are closer to the chunkSize.
components/document/transformer/splitter/recursive/recursive.go:184
↓ 2 callersFunctionmessageConv
(orig *entity.Message)
components/prompt/cozeloop/prompthub.go:134
↓ 2 callersFunctionnewAgent
()
acp/examples/agent.go:60
↓ 2 callersFunctionnewAssistantStreamingChunk
(contentBlock *schema.ContentBlock)
components/model/agenticclaude/event_convertor.go:66
↓ 2 callersFunctionnewBingSearch
newBingSearch creates a new Bing search client.
components/tool/bingsearch/bing_search.go:169
↓ 2 callersFunctionnewCallbackOption
(nodeKey, threadID string, node compose.GraphNodeInfo, stateCh chan *model.NodeDebugState)
devops/internal/service/call_option.go:40
↓ 2 callersFunctionnewCallbackSender
(sw *schema.StreamWriter[*model.AgenticCallbackOutput], config *model.AgenticConfig)
components/model/agenticark/event_convertor.go:254
↓ 2 callersFunctionnewClient
(ctx context.Context, cfg *Config)
components/model/agenticclaude/model.go:233
↓ 2 callersFunctionnewImageContentPart
newImageContentPart builds a FileContentPart with image type and the given MIME type and payload.
adk/backend/local/local.go:686
↓ 2 callersFunctionnewPanicErr
(info any, stack []byte)
components/model/qianfan/chatmodel.go:777
↓ 2 callersFunctionnewPanicErr
(info any, stack []byte)
components/model/gemini/gemini.go:1454
↓ 2 callersFunctionnewPanicErr
(info any, stack []byte)
components/model/agenticopenai/utils.go:65
↓ 2 callersFunctionnewPanicErr
(info any, stack []byte)
components/model/deepseek/deepseek.go:954
↓ 2 callersFunctionnewPanicErr
(info any, stack []byte)
components/model/arkbot/chatmodel.go:929
↓ 2 callersFunctionnewPanicErr
(info any, stack []byte)
components/model/ollama/chatmodel.go:568
↓ 2 callersFunctionnewPanicErr
(info any, stack []byte)
components/model/agenticclaude/utils.go:58
↓ 2 callersFunctionnewPanicErr
(info any, stack []byte)
components/model/agenticgemini/model.go:354
← previousnext →1,201–1,300 of 4,194, ranked by callers