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
↓ 2 callers
Function
WithCustomHeaders
(m map[string]string)
components/tool/mcp/option.go:29
↓ 2 callers
Function
WithDeploymentEnvironment
WithDeploymentEnvironment configures `deployment.environment` resource attribute
libs/acl/opentelemetry/option.go:83
↓ 2 callers
Function
WithEnableMetrics
WithEnableMetrics enable metrics
libs/acl/opentelemetry/option.go:132
↓ 2 callers
Function
WithEnableThinking
WithEnableThinking is the option to set the enable thinking for the model.
components/model/agenticqwen/option.go:29
↓ 2 callers
Function
WithEnableTracing
WithEnableTracing enable tracing
libs/acl/opentelemetry/option.go:125
↓ 2 callers
Function
WithExtraHeader
WithExtraHeader is used to set extra headers for the request.
libs/acl/openai/option.go:129
↓ 2 callers
Method
WithGraphDegree
WithGraphDegree sets the final graph degree.
components/indexer/milvus2/index_builder.go:350
↓ 2 callers
Function
WithHTTPClient
WithHTTPClient sets the HTTP client for the Wikipedia client.
components/tool/wikipedia/internal/option.go:27
↓ 2 callers
Function
WithID
(id string)
callbacks/langfuse/trace.go:39
↓ 2 callers
Function
WithImageConfig
WithImageConfig sets the image generation configuration. Note: an error will be returned for a model that does not support the configuration options.
components/model/agenticgemini/option.go:63
↓ 2 callers
Method
WithIntermediateGraphDegree
WithIntermediateGraphDegree sets the intermediate graph degree.
components/indexer/milvus2/index_builder.go:344
↓ 2 callers
Function
WithLanguage
WithLanguage sets the language for the Wikipedia client.
components/tool/wikipedia/internal/option.go:34
↓ 2 callers
Method
WithNBits
WithNBits sets the NBits parameter.
components/indexer/milvus2/index_builder.go:159
↓ 2 callers
Function
WithPrefix
(prefix string)
components/embedding/cache/redis/cacher.go:45
↓ 2 callers
Function
WithPreserveThinking
WithPreserveThinking is the option to set the preserve thinking for the model.
components/model/agenticqwen/option.go:36
↓ 2 callers
Method
WithRangeFilter
WithRangeFilter sets the inner boundary for ring searches.
components/retriever/milvus2/search_mode/range.go:61
↓ 2 callers
Function
WithResource
WithResource configures resource
libs/acl/opentelemetry/option.go:111
↓ 2 callers
Function
WithResponseChunkMessageModifier
WithResponseChunkMessageModifier registers a message modifier to transform the output message chunk using the raw response body.
libs/acl/openai/option.go:114
↓ 2 callers
Function
WithResponsesMaxToolCalls
WithResponsesMaxToolCalls sets the maximum number of tool calls allowed in a single turn. Available only for Responses API.
components/model/agenticopenai/option.go:121
↓ 2 callers
Function
WithResponsesParallelToolCalls
WithResponsesParallelToolCalls sets whether to allow multiple tool calls in a single turn. Available only for Responses API.
components/model/agenticopenai/option.go:129
↓ 2 callers
Function
WithResponsesPromptCacheKey
WithResponsesPromptCacheKey sets the prompt cache key for the request. Available only for Responses API.
components/model/agenticopenai/option.go:97
↓ 2 callers
Function
WithResponsesReasoning
WithResponsesReasoning sets the reasoning configuration for the request. Available only for Responses API.
components/model/agenticopenai/option.go:105
↓ 2 callers
Function
WithResponsesStore
WithResponsesStore sets whether to store the response on the server. Available only for Responses API.
components/model/agenticopenai/option.go:89
↓ 2 callers
Function
WithResponsesText
WithResponsesText sets the text generation configuration for the request. Available only for Responses API.
components/model/agenticopenai/option.go:113
↓ 2 callers
Function
WithSdkTracerProvider
WithSdkTracerProvider configures sdkTracerProvider
libs/acl/opentelemetry/option.go:167
↓ 2 callers
Method
WithSearchParams
WithSearchParams sets additional search parameters such as "nprobe" or "ef".
components/retriever/milvus2/search_mode/iterator.go:63
↓ 2 callers
Function
WithServerTools
WithServerTools specifies server-side tools available to the model.
components/model/agenticclaude/option.go:28
↓ 2 callers
Function
WithServerTools
WithServerTools sets Gemini server-side tools for this request.
components/model/agenticgemini/option.go:70
↓ 2 callers
Function
WithSessionID
(sessionID string)
callbacks/apmplus/session.go:43
↓ 2 callers
Function
WithThinking
WithThinking sets the thinking process configuration for the ark.
components/model/ark/option.go:49
↓ 2 callers
Function
WithThinking
Deprecated: Use WithThinkingConfig instead.
components/model/claude/option.go:45
↓ 2 callers
Function
WithThinkingConfig
WithThinkingConfig sets Claude thinking using Anthropic SDK's native union.
components/model/claude/option.go:52
↓ 2 callers
Method
WithTools
(tools []*schema.ToolInfo)
components/model/arkbot/chatmodel.go:655
↓ 2 callers
Function
WithTopK
WithTopK sets the number of search results to return.
components/tool/wikipedia/internal/option.go:55
↓ 2 callers
Function
WithUserAgent
WithUserAgent sets the user agent for the Wikipedia client.
components/tool/wikipedia/internal/option.go:48
↓ 2 callers
Function
WithUserID
(userID string)
callbacks/apmplus/session.go:38
↓ 2 callers
Method
Write
(bytes []byte)
devops/internal/apihandler/server_test.go:62
↓ 2 callers
Method
WriteTextFile
(ctx context.Context, req acpproto.WriteTextFileRequest)
acp/backend.go:82
↓ 2 callers
Method
annotationAddedEventToContentBlock
(ev responses.ResponseOutputTextAnnotationAddedEvent)
components/model/agenticopenai/responses_event_convertor.go:890
↓ 2 callers
Method
annotationAddedEventToContentBlock
(ev *responses.ResponseAnnotationAddedEvent)
components/model/agenticark/event_convertor.go:755
↓ 2 callers
Function
applyChatResponseMetaExtension
(msg *schema.Message)
components/model/agenticopenai/chat_extension.go:65
↓ 2 callers
Function
applyResponseMetaExtension
(msg *schema.Message)
components/model/agenticqwen/extension.go:61
↓ 2 callers
Function
applyResponseMetaExtension
(msg *schema.Message)
components/model/agenticdeepseek/extension.go:61
↓ 2 callers
Function
assistantGenTextToBlockParam
(text *schema.AssistantGenText)
components/model/agenticclaude/convertor.go:220
↓ 2 callers
Function
assistantGenTextToInputItem
(block *schema.ContentBlock)
components/model/agenticark/convertor.go:625
↓ 2 callers
Method
build
NewSearchParams creates a new SearchParams instance.
components/tool/bingsearch/internal/bingcore/types.go:117
↓ 2 callers
Method
buildCallbackGraph
()
devops/internal/service/callback_test.go:57
↓ 2 callers
Function
buildChatCompletionAPIChatModel
(config *ChatModelConfig)
components/model/ark/chatmodel.go:215
↓ 2 callers
Function
buildGenerateResponse
(resp openai.ChatCompletionResponse, config *Config)
libs/acl/openai/chat_model.go:786
↓ 2 callers
Function
buildMessageFromUserInputMultiContent
buildMessageFromUserInputMultiContent builds a ChatCompletionMessage from UserInputMultiContent. It processes various message parts like text, images,
libs/acl/openai/chat_model.go:395
↓ 2 callers
Method
buildOptions
(_ context.Context, isStream bool, opts ...model.Option)
components/model/openrouter/chatmodel.go:391
↓ 2 callers
Method
buildPageURL
buildPageURL builds the URL for the Wikipedia page.
components/tool/wikipedia/internal/client.go:157
↓ 2 callers
Method
buildResponseChunkMessageModifier
()
components/model/openrouter/chatmodel.go:349
↓ 2 callers
Method
buildResponseMessageModifier
()
components/model/openrouter/chatmodel.go:321
↓ 2 callers
Function
byteSlice2int64
(in []byte)
libs/acl/openai/chat_model.go:1157
↓ 2 callers
Method
codeInterpreterCodeDeltaEventToContentBlock
(ev responses.ResponseCodeInterpreterCallCodeDeltaEvent)
components/model/agenticopenai/responses_event_convertor.go:1095
↓ 2 callers
Function
codeInterpreterToolCallToInputItem
(args *CodeInterpreterArguments, block *schema.ContentBlock)
components/model/agenticopenai/responses_convertor.go:1032
↓ 2 callers
Function
collectServerToolBetaHeaders
(serverTools []*ServerToolConfig)
components/model/agenticclaude/model.go:515
↓ 2 callers
Function
concatAssistantGenTextExtensions
(chunks []*AssistantGenTextExtension)
components/model/agenticark/extension.go:343
↓ 2 callers
Function
concatFirstNonZero
(chunks []T)
components/model/agenticopenai/responses_content_block_extra.go:103
↓ 2 callers
Function
concatLast
(chunks []T)
components/model/agenticopenai/responses_content_block_extra.go:113
↓ 2 callers
Function
concatMessageArray
(mas [][]*schema.Message)
callbacks/langsmith/utils.go:117
↓ 2 callers
Function
convCallbackOutput
(message *schema.Message, conf *model.Config)
components/model/gemini/gemini.go:1359
↓ 2 callers
Method
convCompletionRequest
(req *model.CreateChatCompletionRequest, contextID string)
components/model/ark/chat_completion_api.go:825
↓ 2 callers
Function
convContentBlockToEinoMsg
( contentBlock any, dstMsg *schema.Message, streamCtx *streamContext, )
components/model/claude/claude.go:1368
↓ 2 callers
Function
convGroundingMetadata
(gm *genai.GroundingMetadata)
components/model/agenticgemini/conv.go:489
↓ 2 callers
Method
convMedias
(messages []*schema.Message, traceID, observationID string, field fieldType)
libs/acl/langfuse/consumer.go:318
↓ 2 callers
Function
convMessage
(message mcp.PromptMessage)
components/prompt/mcp/mcp.go:98
↓ 2 callers
Function
convModelCallbackInput
(in []callbacks.CallbackInput)
callbacks/apmplus/utils.go:36
↓ 2 callers
Function
convModelCallbackOutput
(out []callbacks.CallbackOutput)
callbacks/langsmith/utils.go:83
↓ 2 callers
Function
convModelCallbackOutput
(out []callbacks.CallbackOutput)
callbacks/apmplus/utils.go:70
↓ 2 callers
Function
convMultiContentToContentItems
(parts []schema.ChatMessagePart)
components/model/ark/responses_api.go:1352
↓ 2 callers
Function
convOrigAPIError
(err error)
components/model/openai/types.go:57
↓ 2 callers
Function
convOutputMessage
(resp *anthropic.Message)
components/model/claude/claude.go:1344
↓ 2 callers
Function
convSchemaMessage
(in []*schema.Message)
callbacks/apmplus/utils.go:157
↓ 2 callers
Function
convUserInputMultiContentToContentItems
(parts []schema.MessageInputPart)
components/model/ark/responses_api.go:1390
↓ 2 callers
Method
convertAgenticToolChoiceOpts
(opts []model.Option)
libs/acl/openai/agentic_client.go:283
↓ 2 callers
Function
convertDocument
(doc *schema.Document)
callbacks/cozeloop/convert.go:409
↓ 2 callers
Method
convertDocuments
(ctx context.Context, docs []*schema.Document, options *indexer.Options)
components/indexer/volc_vikingdb/indexer.go:154
↓ 2 callers
Function
convertSparse
(src map[int]float64)
components/retriever/es8/examples/sparse_vector_query/sparse_vector_query.go:201
↓ 2 callers
Method
copy
()
components/retriever/dify/dify.go:53
↓ 2 callers
Function
copyExtra
(src map[string]any)
components/model/agenticclaude/content_block_extra.go:77
↓ 2 callers
Function
copyExtra
(src map[string]any)
components/model/claude/message_extra.go:101
↓ 2 callers
Method
createContextByContextAPI
(ctx context.Context, prefix []*schema.Message, ttl int, mode model.ContextMode, truncation *model.Truncation
components/model/ark/chatmodel.go:574
↓ 2 callers
Function
createMockResultSet
Helper to create a mock ResultSet using real column implementations
components/retriever/milvus2/retriever_test.go:277
↓ 2 callers
Function
deepCopyMap
(m map[string]string)
components/document/transformer/splitter/markdown/header.go:217
↓ 2 callers
Function
defaultConfig
()
libs/acl/opentelemetry/option.go:67
↓ 2 callers
Function
defaultDocumentConverter
defaultDocumentConverter returns the default result to document converter.
components/retriever/milvus2/retriever.go:216
↓ 2 callers
Function
dereferenceOrZero
(v *T)
components/embedding/ark/utils.go:25
↓ 2 callers
Function
dereferenceOrZero
(v *T)
components/retriever/volc_vikingdb/utils.go:68
↓ 2 callers
Function
detectImageMIME
detectImageMIME detects the MIME type from image file bytes using magic number headers. Returns the MIME type string or empty string if not a recogniz
adk/backend/agentkit/sandbox.go:959
↓ 2 callers
Function
detectImageMIME
detectImageMIME detects the MIME type from image file bytes using magic number headers. Returns the MIME type string or empty string if not a recogniz
adk/backend/local/local.go:712
↓ 2 callers
Function
doubaoAppResultToInputItem
(id string, status string, result *DoubaoAppResult)
components/model/agenticark/convertor.go:805
↓ 2 callers
Function
ensureDataURL
(dataOfBase64, mimeType string)
components/model/arkbot/chatmodel.go:898
↓ 2 callers
Function
ensureImageDataURL
(data, mimeType string)
components/model/ark/image_generation_model.go:451
↓ 2 callers
Function
extractModelOutput
(outs []*model.CallbackOutput)
callbacks/langsmith/utils.go:91
↓ 2 callers
Function
fileSearchToolCallToInputItem
(args *FileSearchArguments, block *schema.ContentBlock)
components/model/agenticopenai/responses_convertor.go:1017
↓ 2 callers
Method
functionCallArgumentsDeltaEventToContentBlock
(ev responses.ResponseFunctionCallArgumentsDeltaEvent)
components/model/agenticopenai/responses_event_convertor.go:966
↓ 2 callers
Method
functionCallArgumentsDeltaEventToContentBlock
(ev *responses.FunctionCallArgumentsEvent)
components/model/agenticark/event_convertor.go:800
↓ 2 callers
Function
functionToolCallToInputItem
(block *schema.ContentBlock)
components/model/agenticark/convertor.go:663
← previous
next →
1,101–1,200 of 4,194, ranked by callers