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
↓ 5 callers
Function
newStreamMessageBuilder
(audio *Audio)
libs/acl/openai/chat_model.go:1170
↓ 5 callers
Function
newThinkingServer
newThinkingServer creates a new instance of thinkingServer with initialized fields. Returns: A pointer to the newly created thinkingServer
components/tool/sequentialthinking/sequentialthinking.go:124
↓ 5 callers
Function
of
(t T)
components/model/qianfan/examples/generate_with_image/generate_with_image.go:82
↓ 5 callers
Function
padEnd
padEnd pads the end of a string with spaces until it reaches the specified length. If the string is already longer than or equal to the specified leng
components/tool/sequentialthinking/util.go:28
↓ 5 callers
Method
parseCustomOptions
(opts ...model.Option)
components/model/agenticopenai/chat_model.go:222
↓ 5 callers
Method
parseSearchResult
(ctx context.Context, resp *opensearchapi.SearchResp)
components/retriever/opensearch3/retriever.go:164
↓ 5 callers
Method
populateCache
(in []*schema.AgenticMessage, responseReq *responses.ResponsesRequest, arkOpts *arkOptions)
components/model/agenticark/model.go:689
↓ 5 callers
Method
populateTools
(responseReq *responses.ResponsesRequest, options *model.Options, specOptions *arkOptions)
components/model/agenticark/model.go:832
↓ 5 callers
Function
resolveMultiModalReadConfig
resolveMultiModalReadConfig fills any zero/negative field of cfg with the corresponding package default, then clamps each field to its hard-cap. The r
adk/backend/agentkit/sandbox.go:227
↓ 5 callers
Function
resolveMultiModalReadConfig
resolveMultiModalReadConfig fills any zero/negative field of cfg with the corresponding package default, then clamps each field to its hard-cap. The r
adk/backend/local/local.go:213
↓ 5 callers
Function
serializeAgentEvent
(_ context.Context, event *adk.AgentEvent)
callbacks/cozeloop/data_parser.go:840
↓ 5 callers
Function
serializeInterruptInfo
(info *adk.InterruptInfo)
callbacks/cozeloop/data_parser.go:927
↓ 5 callers
Function
serverToolUseToContentBlock
(block anthropic.ServerToolUseBlock)
components/model/agenticclaude/convertor.go:617
↓ 5 callers
Function
setMsgExtra
(msg *schema.Message, key string, value any)
components/model/claude/message_extra.go:118
↓ 5 callers
Function
setReasoningContent
(msg *schema.Message, reasoningContent string)
components/model/ark/message_extra.go:119
↓ 5 callers
Function
setReasoningDetails
(msg *schema.Message, reasoningDetails []*reasoningDetails)
components/model/openrouter/message_extra.go:103
↓ 5 callers
Function
shellCallToContentBlock
(item responses.ResponseFunctionShellToolCall)
components/model/agenticopenai/responses_convertor.go:2027
↓ 5 callers
Function
shellOutputToContentBlock
(item responses.ResponseFunctionShellToolCallOutput)
components/model/agenticopenai/responses_convertor.go:2077
↓ 5 callers
Function
shellQuote
shellQuote wraps s in single quotes for safe inclusion in a sh/bash/zsh command. It rejects strings containing null bytes, which shells cannot represe
acp/backend.go:733
↓ 5 callers
Function
streamToEinoTokenUsage
(usage *deepseek.StreamUsage)
components/model/deepseek/deepseek.go:879
↓ 5 callers
Function
toAnthropicTextCitations
(citations []*claude.TextCitation)
components/model/agenticclaude/convertor.go:1301
↓ 5 callers
Method
toArkAssistantRoleItemInputMessage
(msg *schema.Message)
components/model/ark/responses_api.go:824
↓ 5 callers
Function
toAssistantTextExtension
(citations []anthropic.TextCitationUnion)
components/model/agenticclaude/convertor.go:1279
↓ 5 callers
Function
toFunctionTools
(functionTools []*schema.ToolInfo)
components/model/agenticclaude/convertor.go:474
↓ 5 callers
Function
toMessageToolCalls
(toolCalls []deepseek.ToolCall)
components/model/deepseek/deepseek.go:483
↓ 5 callers
Function
toModelCallbackUsage
(respMeta *schema.ResponseMeta)
components/model/deepseek/deepseek.go:819
↓ 5 callers
Function
toMultiOutPart
(part *genai.Part)
components/model/gemini/gemini.go:1309
↓ 5 callers
Function
toOpenAIRole
(role schema.RoleType)
libs/acl/openai/chat_model.go:261
↓ 5 callers
Function
toTools
(tis []*schema.ToolInfo)
libs/acl/openai/chat_model.go:1275
↓ 5 callers
Method
tryConcatChunks
(chunks []any)
callbacks/cozeloop/data_parser.go:621
↓ 5 callers
Method
validate
validate checks the ThoughtRequest for validity and consistency. Parameters: - input: The thought request to validate Returns: - td: The unmarshalled
components/tool/sequentialthinking/sequentialthinking.go:138
↓ 5 callers
Method
validate
()
components/tool/searxng/searxng.go:114
↓ 5 callers
Function
validateEngines
validateEngines validates engines parameter, supports multiple engines
components/tool/searxng/searxng.go:207
↓ 5 callers
Function
validateMessagePartCommon
validateMessagePartCommon validates the URL / Base64Data branching rules shared by audio, image and video parts. partName is interpolated into error m
components/model/ark/chat_completion_api.go:455
↓ 5 callers
Function
vector2Bytes
(vector []float64)
components/retriever/redis/utils.go:39
↓ 5 callers
Function
webFetchToolResultToContentBlock
(block anthropic.WebFetchToolResultBlock)
components/model/agenticclaude/convertor.go:847
↓ 5 callers
Method
webSearchPhaseToContentBlock
(itemID string, outputIdx int64, status string)
components/model/agenticopenai/responses_event_convertor.go:1047
↓ 5 callers
Function
webSearchToolResultToContentBlock
(block anthropic.WebSearchToolResultBlock)
components/model/agenticclaude/convertor.go:805
↓ 4 callers
Method
BuildGraphSchema
(graphName, graphID string)
devops/internal/model/container.go:159
↓ 4 callers
Method
BuildSparseSearchOption
BuildSparseSearchOption creates a SearchOption configured for sparse vector search using text query.
components/retriever/milvus2/search_mode/sparse.go:69
↓ 4 callers
Method
CreateCanvas
(graphID string)
devops/internal/service/container.go:38
↓ 4 callers
Method
CreateDevGraph
(graphID, fromNode string)
devops/internal/service/container.go:166
↓ 4 callers
Method
CreatePrefixCache
CreatePrefixCache assembles inputs the same as Generate/Stream and writes the final system instruction, tools, and messages into a reusable prefix cac
components/model/gemini/gemini.go:369
↓ 4 callers
Function
EnableMessageInputPartCacheControl
EnableMessageInputPartCacheControl enables cache control for a specific part of a user's message input. This allows for fine-grained control over how
components/model/openrouter/message_extra.go:199
↓ 4 callers
Function
EnableMessageOutputPartCacheControl
EnableMessageOutputPartCacheControl enables cache control for a specific part of an assistant's message output. This allows for fine-grained control o
components/model/openrouter/message_extra.go:218
↓ 4 callers
Method
Error
()
components/model/openai/types.go:45
↓ 4 callers
Method
Execute
(ctx context.Context, input *filesystem.ExecuteRequest)
adk/backend/agentkit/sandbox.go:1156
↓ 4 callers
Method
Generate
(ctx context.Context, in []*schema.Message, opts ...fmodel.Option)
components/model/arkbot/chatmodel.go:253
↓ 4 callers
Method
Generate
(ctx context.Context, in []*schema.Message, opts ...model.Option)
components/model/qwen/chatmodel.go:221
↓ 4 callers
Method
Get
(ctx context.Context, key string)
components/embedding/cache/redis/cacher.go:73
↓ 4 callers
Method
GetCanvas
(graphID string)
devops/internal/service/container.go:39
↓ 4 callers
Function
GetReasoningContent
(msg *schema.Message)
libs/acl/openai/message_extra.go:62
↓ 4 callers
Function
GetResponseID
GetResponseID returns the response ID from the message. Available only for ResponsesAPI responses.
components/model/ark/message_extra.go:173
↓ 4 callers
Method
GetType
()
components/model/agenticopenai/responses_model.go:378
↓ 4 callers
Method
GetType
()
components/model/agenticark/model.go:401
↓ 4 callers
Function
New
(_ context.Context, config *Config)
components/model/agenticark/model.go:160
↓ 4 callers
Function
New
(ctx context.Context, cfg *Config)
components/model/agenticclaude/model.go:210
↓ 4 callers
Function
New
New creates a new DDGS client with the given configuration
components/tool/duckduckgo/ddgsearch/client.go:78
↓ 4 callers
Function
NewAutoIndexBuilder
NewAutoIndexBuilder creates a new AutoIndexBuilder instance.
components/indexer/milvus2/index_builder.go:41
↓ 4 callers
Function
NewChatModel
(_ context.Context, config *ChatModelConfig)
components/model/ark/chatmodel.go:194
↓ 4 callers
Function
NewChatModel
NewChatModel creates a new Claude chat model instance Parameters: - ctx: The context for the operation - conf: Configuration for the Claude model Re
components/model/claude/claude.go:63
↓ 4 callers
Function
NewIndexer
(ctx context.Context, config *IndexerConfig)
components/indexer/volc_vikingdb/indexer.go:78
↓ 4 callers
Function
NewRetriever
(ctx context.Context, config *RetrieverConfig)
components/retriever/volc_vikingdb/retriever.go:91
↓ 4 callers
Function
NewRetriever
NewRetriever creates a new OpenSearch retriever with the provided configuration.
components/retriever/opensearch2/retriever.go:70
↓ 4 callers
Function
NewRetriever
NewRetriever creates a new OpenSearch retriever with the provided configuration.
components/retriever/opensearch3/retriever.go:69
↓ 4 callers
Function
NewSCANNIndexBuilder
NewSCANNIndexBuilder creates a new SCANNIndexBuilder with default parameters. Default: NList=128, WithRawData=true
components/indexer/milvus2/index_builder.go:219
↓ 4 callers
Function
NewXlsxParser
NewXlsxParser Create a new xlsxParser
components/document/parser/xlsx/xlsx_parser.go:54
↓ 4 callers
Method
Parse
Parse parses the XLSX content from io.Reader.
components/document/parser/xlsx/xlsx_parser.go:86
↓ 4 callers
Method
Read
Read reads file content with support for line-based offset and limit.
adk/backend/agentkit/sandbox.go:435
↓ 4 callers
Method
Retrieve
Retrieve performs the approximate vector search.
components/retriever/milvus2/search_mode/approximate.go:51
↓ 4 callers
Method
RunCommand
RunCommand executes a command with explicit arguments (no shell involved)
components/tool/commandline/sandbox/sandbox.go:168
↓ 4 callers
Function
SafeDeepCopyMetadata
(original map[string]interface{})
callbacks/langsmith/utils.go:188
↓ 4 callers
Method
Search
Search performs a search with the given parameters
components/tool/duckduckgo/ddgsearch/search_text.go:29
↓ 4 callers
Function
SetToolInfoCacheControl
SetToolInfoCacheControl sets a cache control on a tool info. When a manual control is set, the top-level auto-cache will not override it.
components/model/agenticclaude/content_block_extra.go:90
↓ 4 callers
Method
Stream
(ctx context.Context, in []*schema.Message, opts ...model.Option)
components/model/deepseek/deepseek.go:273
↓ 4 callers
Method
Stream
(ctx context.Context, in []*schema.AgenticMessage, opts ...model.Option)
components/model/agenticqwen/model.go:206
↓ 4 callers
Method
Stream
(ctx context.Context, in []*schema.AgenticMessage, opts ...model.Option)
components/model/agenticdeepseek/model.go:164
↓ 4 callers
Method
Stream
(ctx context.Context, in []*schema.Message, opts ...model.Option)
components/model/openrouter/chatmodel.go:217
↓ 4 callers
Method
StringToSpan
StringToSpan parse string to LangsmithState
callbacks/langsmith/flow_trace.go:127
↓ 4 callers
Method
UpdateRun
(ctx context.Context, runID string, patch *RunPatch)
callbacks/langsmith/client.go:34
↓ 4 callers
Function
WithExtraFields
WithExtraFields sets extra fields to include in the request body. These fields will be merged into the top-level JSON request body, overriding any exi
components/model/agenticopenai/option.go:68
↓ 4 callers
Function
WithExtraFields
WithExtraFields returns a request-level option that merges the provided key/value pairs into the top-level JSON payload sent to the DeepSeek API. Key
components/model/deepseek/option.go:51
↓ 4 callers
Function
WithHeaders
WithHeaders configures gRPC requests headers for exported telemetry data
libs/acl/opentelemetry/option.go:146
↓ 4 callers
Function
WithReferenceExampleID
WithReferenceExampleID 关联到一个 example
callbacks/langsmith/trace.go:69
↓ 4 callers
Method
WithTools
(tools []*schema.ToolInfo)
components/model/qwen/chatmodel.go:269
↓ 4 callers
Method
WithTools
(tools []*schema.ToolInfo)
components/model/openrouter/chatmodel.go:449
↓ 4 callers
Function
bashCodeExecutionToolResultToBlockParam
(result *BashCodeExecutionResult, callID string)
components/model/agenticclaude/convertor.go:1058
↓ 4 callers
Function
bashCodeExecutionToolResultToContentBlock
(block anthropic.BashCodeExecutionToolResultBlock)
components/model/agenticclaude/convertor.go:927
↓ 4 callers
Function
buildClient
(_ context.Context, config *Config)
components/tool/duckduckgo/v2/search.go:150
↓ 4 callers
Function
clearAnthropicAuthEnv
(t *testing.T)
components/model/agenticclaude/model_test.go:646
↓ 4 callers
Function
concatDoubaoAppResults
(chunks []*DoubaoAppResult)
components/model/agenticark/extension.go:542
↓ 4 callers
Function
concatFirst
(chunks []T)
components/model/agenticark/content_block_extra.go:103
↓ 4 callers
Function
concatLast
(chunks []T)
components/model/agenticark/content_block_extra.go:111
↓ 4 callers
Function
concatMessageArray
(mas [][]*schema.Message)
callbacks/apmplus/utils.go:116
↓ 4 callers
Function
convInputMedia
(contents []schema.MessageInputPart)
components/model/gemini/gemini.go:895
↓ 4 callers
Function
convMedia
(contents []schema.ChatMessagePart)
components/model/gemini/gemini.go:1063
↓ 4 callers
Function
convMessagePartCommonToURL
(common schema.MessagePartCommon)
components/model/ark/responses_api.go:1550
↓ 4 callers
Function
convResponse
(resp *genai.GenerateContentResponse)
components/model/gemini/gemini.go:1160
↓ 4 callers
Function
convSchemaMessages
(messages []*schema.Message)
components/model/gemini/gemini.go:726
↓ 4 callers
Function
convertAgenticModelOutput
(output *model.AgenticCallbackOutput)
callbacks/cozeloop/convert.go:441
← previous
next →
501–600 of 4,194, ranked by callers