Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudwego/eino-ext
/ functions
Functions
4,194 in github.com/cloudwego/eino-ext
⨍
Functions
4,194
◇
Types & classes
1,041
↓ 4 callers
Function
convertPromptArguments
(variables map[string]any)
callbacks/cozeloop/convert.go:362
↓ 4 callers
Function
convertRetrieverCallOption
(input *retriever.CallbackInput)
callbacks/cozeloop/convert.go:392
↓ 4 callers
Method
copy
()
components/retriever/dify/dify.go:70
↓ 4 callers
Method
customEmbedding
(ctx context.Context, queries []string, options *indexer.Options)
components/indexer/volc_vikingdb/indexer.go:249
↓ 4 callers
Method
customEmbedding
(ctx context.Context, query string, options *retriever.Options)
components/retriever/volc_vikingdb/retriever.go:246
↓ 4 callers
Function
defaultDocumentConverter
defaultDocumentConverter returns the default document to column converter.
components/indexer/milvus2/indexer.go:583
↓ 4 callers
Function
doSSEResp
(ctx context.Context, res http.ResponseWriter, sseStreamRespChan <-chan SSEResponse)
devops/internal/apihandler/server.go:184
↓ 4 callers
Function
ensureDataURL
(base64Data, mimeType string)
components/model/agenticopenai/responses_convertor.go:2329
↓ 4 callers
Function
ensureDataURL
(base64Data, mimeType string)
components/model/agenticark/convertor.go:1881
↓ 4 callers
Method
formatThought
formatThought creates a formatted string representation of a thought. Parameters: - td: The ThoughtRequest to format Returns: A string with the forma
components/tool/sequentialthinking/sequentialthinking.go:167
↓ 4 callers
Function
functionToolCallToContentBlock
(item *responses.OutputItem_FunctionToolCall)
components/model/agenticark/convertor.go:1371
↓ 4 callers
Function
getAllowedToolNames
(toolChoice *schema.AgenticToolChoice)
components/model/agenticclaude/model.go:710
↓ 4 callers
Function
getContentBlockCacheControl
(block *schema.ContentBlock)
components/model/agenticclaude/content_block_extra.go:149
↓ 4 callers
Function
getMessageInputPartCacheControl
(part *schema.MessageInputPart)
components/model/openrouter/message_extra.go:250
↓ 4 callers
Function
getMessageOutputPartCacheControl
(part *schema.MessageOutputPart)
components/model/openrouter/message_extra.go:261
↓ 4 callers
Method
getOptions
(opts []model.Option)
components/model/ark/responses_api.go:926
↓ 4 callers
Function
getServerToolCallArguments
(call *schema.ServerToolCall)
components/model/agenticclaude/extension.go:228
↓ 4 callers
Function
getServerToolResult
(res *schema.ServerToolResult)
components/model/agenticclaude/extension.go:245
↓ 4 callers
Function
getTraceVariablesValue
(ctx context.Context)
callbacks/cozeloop/utils.go:114
↓ 4 callers
Function
hasDirectAnthropicConfigAuth
(config *Config)
components/model/claude/claude.go:316
↓ 4 callers
Method
imageGenerationPhaseToContentBlock
(itemID string, outputIdx int64, status string)
components/model/agenticopenai/responses_event_convertor.go:1116
↓ 4 callers
Function
imageGenerationToContentBlocks
(item responses.ResponseOutputItemImageGenerationCall)
components/model/agenticopenai/responses_convertor.go:1993
↓ 4 callers
Function
isImageExt
isImageExt checks if the file extension represents an image.
adk/backend/agentkit/sandbox.go:942
↓ 4 callers
Function
isPDFBytes
isPDFBytes checks if the data starts with the PDF magic number (%PDF-).
adk/backend/local/local.go:741
↓ 4 callers
Method
itemAddedEventToContentBlock
(ev *responses.ItemEvent)
components/model/agenticark/event_convertor.go:383
↓ 4 callers
Method
itemDoneEventToContentBlocks
(ev *responses.ItemDoneEvent)
components/model/agenticark/event_convertor.go:443
↓ 4 callers
Function
joinShellArgs
(args []string)
acp/backend.go:740
↓ 4 callers
Function
knowledgeSearchCallToContentBlocks
(item *responses.OutputItem_FunctionKnowledgeSearch)
components/model/agenticark/convertor.go:1576
↓ 4 callers
Method
knowledgeSearchPhaseToContentBlock
(itemID string, outputIdx int64, status responses.ItemStatus_Enum)
components/model/agenticark/event_convertor.go:967
↓ 4 callers
Function
makeFunctionToolCallIndexKey
(outputIndex int64)
components/model/agenticopenai/responses_event_convertor.go:1161
↓ 4 callers
Function
makeFunctionToolCallIndexKey
(outputIndex int64)
components/model/agenticark/event_convertor.go:1140
↓ 4 callers
Function
makeMCPListToolsItemAddedEventCacheKey
(itemID string, outputIndex int64)
components/model/agenticopenai/responses_event_convertor.go:1193
↓ 4 callers
Function
makeMCPToolCallIndexKey
(outputIndex int64)
components/model/agenticopenai/responses_event_convertor.go:1181
↓ 4 callers
Function
makeMCPToolCallIndexKey
(outputIndex int64)
components/model/agenticark/event_convertor.go:1160
↓ 4 callers
Function
makeMCPToolCallItemAddedEventCacheKey
(itemID string, outputIndex int64)
components/model/agenticopenai/responses_event_convertor.go:1189
↓ 4 callers
Method
makeOutput
Format file content to display line numbers
components/tool/commandline/editor.go:480
↓ 4 callers
Function
makeReasoningIndexKey
(outputIndex int64)
components/model/agenticark/event_convertor.go:1136
↓ 4 callers
Function
mcpApprovalRequestToContentBlock
(item *responses.OutputItem_FunctionMcpApprovalRequest)
components/model/agenticark/convertor.go:1758
↓ 4 callers
Method
mcpCallPhaseToContentBlock
(itemID string, outputIdx int64, status responses.ItemStatus_Enum)
components/model/agenticark/event_convertor.go:869
↓ 4 callers
Function
mcpCallToContentBlocks
(item *responses.OutputItem_FunctionMcpCall)
components/model/agenticark/convertor.go:1661
↓ 4 callers
Function
mcpListToolsToContentBlock
(item *responses.OutputItem_FunctionMcpListTools)
components/model/agenticark/convertor.go:1703
↓ 4 callers
Function
multiContentContainsType
(parts []schema.MessageOutputPart, typ schema.ChatMessagePartType)
libs/acl/openai/agentic_convert.go:200
↓ 4 callers
Function
newBaseResp
(code int, msg string)
devops/internal/apihandler/server.go:121
↓ 4 callers
Function
newPanicErr
(info any, stack []byte)
components/model/ark/utils.go:59
↓ 4 callers
Function
of
(t T)
components/model/qianfan/examples/generate/generate.go:60
↓ 4 callers
Function
of
(t T)
components/model/qwen/examples/generate_with_image/generate_with_image.go:83
↓ 4 callers
Function
outputTextAnnotationToTextAnnotation
(anno *responses.Annotation)
components/model/agenticark/convertor.go:1320
↓ 4 callers
Function
parseTextHTMLSearchResponse
(respBody string)
components/tool/duckduckgo/v2/text_search.go:159
↓ 4 callers
Method
populateInput
(in []*schema.AgenticMessage, responseReq *responses.ResponsesRequest)
components/model/agenticark/model.go:765
↓ 4 callers
Method
populateTools
(responseReq *responses.ResponseNewParams, options *model.Options, specOptions *options)
components/model/agenticopenai/responses_model.go:819
↓ 4 callers
Function
printLog
(level int, depth int, format string, v ...any)
devops/internal/utils/log/log.go:75
↓ 4 callers
Method
processThought
processThought processes a thought input, validates it, adds it to the history, and returns a formatted result. Parameters: - ctx: The context for the
components/tool/sequentialthinking/sequentialthinking.go:200
↓ 4 callers
Method
readAllBytes
readAllBytes reads the entire file at path from the local filesystem, rejecting it up-front when its size exceeds maxBytes. maxBytes is int64 so call
adk/backend/local/local.go:529
↓ 4 callers
Function
readBuildVersion
()
callbacks/cozeloop/builtin.go:25
↓ 4 callers
Function
reasoningToContentBlocks
(item responses.ResponseReasoningItem)
components/model/agenticopenai/responses_convertor.go:2128
↓ 4 callers
Function
reasoningToContentBlocks
(item *responses.OutputItem_Reasoning)
components/model/agenticark/convertor.go:1635
↓ 4 callers
Function
renderPDFPagesToImages
renderPDFPagesToImages converts the specified page range [start, end] (1-based) to PNG images at the given DPI using a pdfium worker instance and retu
adk/backend/agentkit/sandbox.go:852
↓ 4 callers
Function
renderPDFPagesToImages
renderPDFPagesToImages converts the specified page range [start, end] (1-based) to PNG images at the given DPI using a pdfium worker instance and retu
adk/backend/local/local.go:650
↓ 4 callers
Method
runShell
(ctx context.Context, cmd string)
acp/backend.go:699
↓ 4 callers
Function
serializeInterruptCtx
(ctx *adk.InterruptCtx)
callbacks/cozeloop/data_parser.go:956
↓ 4 callers
Function
setArkRequestID
(msg *schema.Message, reqID string)
components/model/ark/message_extra.go:111
↓ 4 callers
Function
setContextID
(msg *schema.Message, contextID string)
components/model/ark/message_extra.go:152
↓ 4 callers
Function
setMessageOutputPartThoughtSignature
(part *schema.MessageOutputPart, signature []byte)
components/model/gemini/message_extra.go:190
↓ 4 callers
Function
setModelName
(msg *schema.Message, name string)
components/model/ark/message_extra.go:131
↓ 4 callers
Function
setMsgExtra
(msg *schema.Message, key string, value any)
components/model/arkbot/message_extra.go:132
↓ 4 callers
Function
setNodeDebugStateCtx
setNodeDebugStateCtx set temporary storage node debug state to context.
devops/internal/service/call_option.go:329
↓ 4 callers
Function
setResponseID
(msg *schema.Message, responseID string)
components/model/ark/message_extra.go:187
↓ 4 callers
Method
setStreamChunkDefaultExtra
(msg *schema.Message, object *responses.ResponseObject, cacheConfig *cacheConfig)
components/model/ark/responses_api.go:1250
↓ 4 callers
Function
setTokenUsageTags
(tags spanTags, usage *model.TokenUsage)
callbacks/cozeloop/data_parser.go:576
↓ 4 callers
Function
shellToolCallToInputItem
(args *ShellArguments, block *schema.ContentBlock)
components/model/agenticopenai/responses_convertor.go:1060
↓ 4 callers
Function
shellToolResultToInputItem
(result *ShellResult, block *schema.ContentBlock)
components/model/agenticopenai/responses_convertor.go:1315
↓ 4 callers
Function
toAnySlice
(src []T)
callbacks/cozeloop/data_parser.go:730
↓ 4 callers
Function
toBase64DataURL
toBase64DataURL formats a raw base64 string and MIME type into an RFC 2397 data URL. The caller is expected to have validated both inputs (e.g., via v
components/model/ark/chat_completion_api.go:474
↓ 4 callers
Method
toDoc
()
components/retriever/dify/dify.go:199
↓ 4 callers
Function
toEinoTokenUsage
(usage *deepseek.Usage)
components/model/deepseek/deepseek.go:896
↓ 4 callers
Function
toFloat64
(in []float32)
components/embedding/ark/embedding.go:293
↓ 4 callers
Function
toFunctionResponsePart
(b64 *string, url *string, mimeType string, partType schema.ChatMessagePartType, displayName string)
components/model/gemini/gemini.go:1024
↓ 4 callers
Method
toGeminiTools
(tools []*schema.ToolInfo)
components/model/gemini/gemini.go:623
↓ 4 callers
Function
toQianfanTools
(tools []*schema.ToolInfo)
components/model/qianfan/chatmodel.go:739
↓ 4 callers
Function
toServerTools
(serverTools []*ServerToolConfig)
components/model/agenticgemini/model.go:151
↓ 4 callers
Method
toStreamingDeltaBlock
(index int64, delta any)
components/model/agenticclaude/event_convertor.go:101
↓ 4 callers
Function
toTools
(tis []*schema.ToolInfo)
components/model/deepseek/deepseek.go:437
↓ 4 callers
Function
toUserRoleInputItems
(msg *schema.AgenticMessage)
components/model/agenticopenai/responses_convertor.go:528
↓ 4 callers
Function
truncate
Possibly need to truncate content
components/tool/commandline/editor.go:182
↓ 4 callers
Function
userInputImageToInputItem
(role responses.EasyInputMessageRole, block *schema.UserInputImage)
components/model/agenticopenai/responses_convertor.go:594
↓ 4 callers
Function
userInputImageToInputItem
(role responses.MessageRole_Enum, block *schema.UserInputImage)
components/model/agenticark/convertor.go:449
↓ 4 callers
Method
validate
validate checks the configuration and sets default values.
components/retriever/milvus2/retriever.go:186
↓ 4 callers
Function
validateBase64Data
(data string)
components/model/qianfan/chatmodel.go:501
↓ 4 callers
Method
webSearchPhaseToContentBlock
(itemID string, outputIdx int64, status responses.ItemStatus_Enum)
components/model/agenticark/event_convertor.go:895
↓ 4 callers
Function
webSearchToContentBlock
(item *responses.OutputItem_FunctionWebSearch)
components/model/agenticark/convertor.go:1600
↓ 3 callers
Method
AddGraphInfo
(rootGN string, rootGI *compose.GraphInfo)
devops/internal/service/container.go:60
↓ 3 callers
Method
BindForcedTools
(tools []*schema.ToolInfo)
components/model/openai/chatmodel.go:281
↓ 3 callers
Method
BindTools
(tools []*schema.ToolInfo)
components/model/qianfan/chatmodel.go:295
↓ 3 callers
Method
BindTools
(tools []*schema.ToolInfo)
components/model/deepseek/deepseek.go:403
↓ 3 callers
Method
BindTools
(tools []*schema.ToolInfo)
components/model/ollama/chatmodel.go:226
↓ 3 callers
Method
Build
Build creates an AUTOINDEX using the specified metric type.
components/indexer/milvus2/index_builder.go:46
↓ 3 callers
Method
BuildRequest
(ctx context.Context, conf *es8.RetrieverConfig, query string, opts ...retriever.Option)
components/retriever/es8/search_mode/approximate.go:78
↓ 3 callers
Method
Cleanup
Cleanup cleans up sandbox resources
components/tool/commandline/sandbox/sandbox.go:357
↓ 3 callers
Method
Close
(ctx context.Context)
components/indexer/es9/indexer_test.go:465
↓ 3 callers
Method
Close
()
components/tool/commandline/sandbox/sandbox_test.go:337
← previous
next →
601–700 of 4,194, ranked by callers