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
↓ 3 callers
Method
CreatePrefixCache
CreatePrefixCache establishes a server-side cache for a prefix context, which is ideal for storing initial information like system prompts, user roles
components/model/ark/responses_api.go:1708
↓ 3 callers
Method
CreateRun
(ctx context.Context, run *Run)
callbacks/langsmith/client.go:33
↓ 3 callers
Method
Edit
Edit replaces string occurrences in a file.
adk/backend/agentkit/sandbox.go:579
↓ 3 callers
Method
EmbedStrings
(ctx context.Context, texts []string, opts ...embedding.Option)
components/embedding/tencentcloud/embedding.go:64
↓ 3 callers
Method
Exists
(ctx context.Context, path string)
components/tool/commandline/operator.go:48
↓ 3 callers
Method
FinishSpan
(ctx context.Context, runID string)
callbacks/langsmith/flow_trace.go:93
↓ 3 callers
Method
Flush
()
libs/acl/langfuse/langfuse.go:41
↓ 3 callers
Method
Format
(ctx context.Context, vs map[string]any, formatType schema.FormatType)
callbacks/cozeloop/convert_test.go:150
↓ 3 callers
Method
Generate
(_ context.Context, text string, opt GeneratorOption)
components/embedding/cache/generator.go:47
↓ 3 callers
Function
GetBase64ThoughtSignatureFromExtra
(extra map[string]any)
callbacks/cozeloop/signature.go:78
↓ 3 callers
Method
GetDevGraph
(graphID, fromNode string)
devops/internal/service/container.go:189
↓ 3 callers
Function
GetFPS
(part *schema.ChatMessageVideoURL)
components/model/ark/message_extra.go:248
↓ 3 callers
Function
GetImageSize
(part *schema.ChatMessageImageURL)
components/model/ark/message_extra.go:329
↓ 3 callers
Function
GetInputImageSize
(part *schema.MessageInputImage)
components/model/ark/message_extra.go:363
↓ 3 callers
Function
GetInputVideoMetaData
(part *schema.MessageInputVideo)
components/model/gemini/message_extra.go:141
↓ 3 callers
Function
GetOutputImageSize
(part *schema.MessageOutputImage)
components/model/ark/message_extra.go:346
↓ 3 callers
Function
GetOutputVideoFPS
(part *schema.MessageOutputVideo)
components/model/ark/message_extra.go:282
↓ 3 callers
Method
GetPage
GetPage retrieves the Wikipedia page by title.
components/tool/wikipedia/internal/client.go:105
↓ 3 callers
Method
GetSpanID
()
callbacks/cozeloop/span_context.go:32
↓ 3 callers
Function
GetState
(ctx context.Context)
callbacks/langsmith/utils.go:180
↓ 3 callers
Function
GetThinking
(msg *schema.Message)
components/model/claude/message_extra.go:52
↓ 3 callers
Method
GetTraceID
()
callbacks/cozeloop/span_context.go:36
↓ 3 callers
Method
GetType
()
components/model/openrouter/chatmodel.go:441
↓ 3 callers
Method
GetType
()
components/model/agenticgemini/model.go:342
↓ 3 callers
Method
GetType
GetType returns the type of the indexer.
components/indexer/es7/indexer.go:334
↓ 3 callers
Method
GetType
GetType returns the type of the indexer.
components/indexer/milvus2/indexer.go:335
↓ 3 callers
Method
GetType
GetType returns the type of the indexer.
components/indexer/opensearch2/indexer.go:337
↓ 3 callers
Method
GetType
GetType returns the type of the indexer.
components/indexer/es8/indexer.go:337
↓ 3 callers
Method
GetType
GetType returns the type of the indexer.
components/indexer/es9/indexer.go:338
↓ 3 callers
Method
GetType
GetType returns the type of the indexer.
components/indexer/opensearch3/indexer.go:345
↓ 3 callers
Method
GetType
GetType returns the type of the retriever.
components/retriever/es7/retriever.go:200
↓ 3 callers
Method
GetType
GetType returns the type of the retriever.
components/retriever/milvus2/retriever.go:176
↓ 3 callers
Method
GetType
()
components/retriever/qdrant/retriever.go:186
↓ 3 callers
Method
GetType
GetType returns the type of the retriever.
components/retriever/opensearch2/retriever.go:203
↓ 3 callers
Method
GetType
GetType returns the type of the retriever.
components/retriever/opensearch3/retriever.go:203
↓ 3 callers
Method
GrepRaw
GrepRaw searches for content matching the specified pattern in files.
adk/backend/agentkit/sandbox.go:470
↓ 3 callers
Function
HasPrefix
(message *schema.Message)
components/model/deepseek/extra.go:56
↓ 3 callers
Method
Info
(ctx context.Context)
components/tool/mcp/mcp.go:115
↓ 3 callers
Method
Info
(ctx context.Context)
components/tool/mcp/officialmcp/mcp.go:107
↓ 3 callers
Function
InitLogger
()
devops/internal/utils/log/log.go:49
↓ 3 callers
Method
InvokableRun
(ctx context.Context, argumentsInJSON string, opts ...tool.Option)
components/tool/mcp/mcp.go:119
↓ 3 callers
Method
InvokableRun
(ctx context.Context, argumentsInJSON string, opts ...tool.Option)
components/tool/mcp/officialmcp/mcp.go:111
↓ 3 callers
Method
Load
(ctx context.Context, src document.Source, opts ...document.LoaderOption)
components/document/loader/file/file_loader.go:71
↓ 3 callers
Function
NewBinFlatIndexBuilder
NewBinFlatIndexBuilder creates a new BinFlatIndexBuilder.
components/indexer/milvus2/index_builder.go:247
↓ 3 callers
Function
NewBinIVFFlatIndexBuilder
NewBinIVFFlatIndexBuilder creates a new BinIVFFlatIndexBuilder with default parameters. Default: NList=128
components/indexer/milvus2/index_builder.go:264
↓ 3 callers
Function
NewChatModel
(ctx context.Context, config *ChatModelConfig)
components/model/qianfan/chatmodel.go:134
↓ 3 callers
Function
NewChatModel
NewChatModel initializes a new instance of ChatModel with provided configuration.
components/model/ollama/chatmodel.go:77
↓ 3 callers
Function
NewFlatIndexBuilder
NewFlatIndexBuilder creates a new FlatIndexBuilder instance.
components/indexer/milvus2/index_builder.go:55
↓ 3 callers
Function
NewIVFFlatIndexBuilder
NewIVFFlatIndexBuilder creates a new IVFFlatIndexBuilder with default parameters. Default: NList=128
components/indexer/milvus2/index_builder.go:108
↓ 3 callers
Function
NewIVFRabitQIndexBuilder
NewIVFRabitQIndexBuilder creates a new IVFRabitQIndexBuilder with default parameters. Default: NList=128
components/indexer/milvus2/index_builder.go:369
↓ 3 callers
Function
NewIVFSQ8IndexBuilder
NewIVFSQ8IndexBuilder creates a new IVFSQ8IndexBuilder with default parameters. Default: NList=128
components/indexer/milvus2/index_builder.go:178
↓ 3 callers
Function
NewLangfuseHandler
(cfg *Config)
callbacks/langfuse/langfuse.go:123
↓ 3 callers
Function
NewLoader
NewLoader creates a new loader for url.
components/document/loader/url/url.go:53
↓ 3 callers
Function
NewRetriever
NewRetriever creates a new ES8 retriever with the provided configuration.
components/retriever/es8/retriever.go:78
↓ 3 callers
Function
NewRetriever
NewRetriever creates a new ES9 retriever with the provided configuration.
components/retriever/es9/retriever.go:78
↓ 3 callers
Function
NewSearchError
NewSearchError creates a new SearchError with the given message and error.
components/tool/duckduckgo/ddgsearch/errors.go:43
↓ 3 callers
Function
NewTool
(ctx context.Context, config *Config)
components/tool/httprequest/get/tool.go:72
↓ 3 callers
Method
OnEnd
(ctx context.Context, info *callbacks.RunInfo, output callbacks.CallbackOutput)
callbacks/cozeloop/trace_handler.go:122
↓ 3 callers
Method
OnStart
(ctx context.Context, info *callbacks.RunInfo, input callbacks.CallbackInput)
devops/internal/service/call_option.go:58
↓ 3 callers
Method
OnStartWithStreamInput
(ctx context.Context, info *callbacks.RunInfo, input *schema.StreamReader[callbacks.CallbackInput])
callbacks/cozeloop/trace_handler.go:192
↓ 3 callers
Method
Parse
Parse parses the Docx document content from io.Reader.
components/document/parser/docx/docx_parser.go:88
↓ 3 callers
Method
ParseChatModelStreamOutput
(ctx context.Context, output *schema.StreamReader[callbacks.CallbackOutput])
callbacks/cozeloop/data_parser.go:420
↓ 3 callers
Method
Retrieve
(ctx context.Context, query string, opts ...retriever.Option)
components/retriever/volc_vikingdb/retriever.go:142
↓ 3 callers
Method
Retrieve
Retrieve performs the range search operation.
components/retriever/milvus2/search_mode/range.go:67
↓ 3 callers
Method
Retrieve
Retrieve performs the hybrid search operation.
components/retriever/milvus2/search_mode/hybrid.go:84
↓ 3 callers
Method
Retrieve
Retrieve performs the search iterator operation, fetching all results.
components/retriever/milvus2/search_mode/iterator.go:74
↓ 3 callers
Method
Retrieve
(ctx context.Context, query string, opts ...retriever.Option)
components/retriever/qdrant/retriever.go:81
↓ 3 callers
Function
SearchModeApproximate
SearchModeApproximate retrieves documents using multiple approximate strategies (filter + KNN + RRF). See: KNN: https://www.elastic.co/guide/en/elas
components/retriever/es9/search_mode/approximate.go:35
↓ 3 callers
Function
SearchModeSparseVectorQuery
SearchModeSparseVectorQuery executes a query consisting of sparse vectors. Note: Text expansion query has been replaced since Elasticsearch 8.15. See:
components/retriever/es8/search_mode/sparse_vector_query.go:33
↓ 3 callers
Function
SearchModeSparseVectorQuery
SearchModeSparseVectorQuery executes a query consisting of sparse vectors. Note: Text expansion query has been replaced since Elasticsearch 8.15. See:
components/retriever/es9/search_mode/sparse_vector_query.go:33
↓ 3 callers
Method
Set
(ctx context.Context, key string, value []float64, expire time.Duration)
components/embedding/cache/redis/cacher.go:65
↓ 3 callers
Function
SetImageSize
(part *schema.ChatMessageImageURL, size string)
components/model/ark/message_extra.go:319
↓ 3 callers
Function
SetInputVideoMetaData
(part *schema.MessageInputVideo, metaData *genai.VideoMetadata)
components/model/gemini/message_extra.go:131
↓ 3 callers
Function
SetPrefix
(message *schema.Message)
components/model/deepseek/extra.go:46
↓ 3 callers
Function
SetSession
(ctx context.Context, opts ...SessionOption)
callbacks/apmplus/session.go:28
↓ 3 callers
Method
SpanToString
SpanToString parse ctx's LangsmithState to string
callbacks/langsmith/flow_trace.go:106
↓ 3 callers
Method
Store
Store adds the provided documents to the OpenSearch index. It returns the list of IDs for the stored documents or an error.
components/indexer/opensearch2/indexer.go:152
↓ 3 callers
Method
Store
Store adds the provided documents to the Elasticsearch index. It returns the list of IDs for the stored documents or an error.
components/indexer/es8/indexer.go:152
↓ 3 callers
Method
Store
Store adds the provided documents to the OpenSearch index. It returns the list of IDs for the stored documents or an error.
components/indexer/opensearch3/indexer.go:158
↓ 3 callers
Method
Stream
(ctx context.Context, in []*schema.Message, opts ...einoModel.Option)
components/model/ark/image_generation_model.go:278
↓ 3 callers
Method
Stream
(ctx context.Context, in []*schema.Message, opts ...fmodel.Option)
components/model/arkbot/chatmodel.go:318
↓ 3 callers
Method
Stream
(ctx context.Context, input []*schema.Message, opts ...model.Option)
components/model/ollama/chatmodel.go:150
↓ 3 callers
Method
Stream
(ctx context.Context, in []*schema.Message, opts ...model.Option)
components/model/openai/chatmodel.go:260
↓ 3 callers
Method
Stream
(ctx context.Context, in []*schema.Message, opts ...model.Option)
components/model/qwen/chatmodel.go:232
↓ 3 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
libs/acl/openai/option.go:79
↓ 3 callers
Function
WithResponseMessageModifier
WithResponseMessageModifier registers a message modifier to transform the output message using the raw response body.
libs/acl/openai/option.go:106
↓ 3 callers
Function
WithResponsesMCPTools
WithResponsesMCPTools sets Model Context Protocol tools available to the model. Available only for Responses API.
components/model/agenticopenai/option.go:145
↓ 3 callers
Function
WithResponsesServerTools
WithResponsesServerTools sets server-side tools available to the model. Available only for Responses API.
components/model/agenticopenai/option.go:137
↓ 3 callers
Method
WithTools
(tools []*schema.ToolInfo)
components/model/deepseek/deepseek.go:386
↓ 3 callers
Function
WithTraceID
WithTraceID 强制指定一个 trace ID
callbacks/langsmith/trace.go:76
↓ 3 callers
Method
addBaseHeaders
(req *http.Request)
libs/acl/langfuse/client.go:93
↓ 3 callers
Function
addToolName
(ctx context.Context, message *tracespec.ModelMessage)
callbacks/cozeloop/convert.go:256
↓ 3 callers
Method
advanceContent
(blockType schema.ContentBlockType, sourceIndex int)
libs/acl/openai/agentic_convert.go:103
↓ 3 callers
Function
assistantGenTextToInputItem
(block *schema.ContentBlock)
components/model/agenticopenai/responses_convertor.go:764
↓ 3 callers
Method
build
(resp openai.ChatCompletionStreamResponse)
libs/acl/openai/chat_model.go:1225
↓ 3 callers
Function
buildMessageFromMultiContent
Deprecated: This function is deprecated as the MultiContent field is deprecated. buildMessageFromMultiContent builds a ChatCompletionMessage from a ge
libs/acl/openai/chat_model.go:550
↓ 3 callers
Function
buildResponsesAPIChatModel
(config *ChatModelConfig)
components/model/ark/chatmodel.go:287
↓ 3 callers
Function
codeInterpreterToolResultToInputItem
(result *CodeInterpreterResult, block *schema.ContentBlock)
components/model/agenticopenai/responses_convertor.go:1259
↓ 3 callers
Function
concatCodeExecutionResult
(chunks []*CodeExecutionResult)
components/model/agenticgemini/extension.go:139
↓ 3 callers
Function
concatExecutableCode
(chunks []*ExecutableCode)
components/model/agenticgemini/extension.go:116
← previous
next →
701–800 of 4,194, ranked by callers