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
↓ 1 callers
Function
NewPDFParser
NewPDFParser creates a new PDF parser.
components/document/parser/pdf/pdf_parser.go:43
↓ 1 callers
Function
NewPromptTemplate
(_ context.Context, conf *Config)
components/prompt/mcp/mcp.go:40
↓ 1 callers
Function
NewPyExecutor
(_ context.Context, cfg *PyExecutorConfig)
components/tool/commandline/pyexecutor.go:40
↓ 1 callers
Function
NewReranker
NewReranker creates a score-based document reranker optimized for LLM context processing. The reranker reorganizes documents based on their scores in
components/document/transformer/reranker/score/score.go:45
↓ 1 callers
Function
NewRetriever
(ctx context.Context, conf *Config)
components/retriever/volc_knowledge/knowledge.go:143
↓ 1 callers
Function
NewSparseInvertedIndexBuilder
NewSparseInvertedIndexBuilder creates a new SparseInvertedIndexBuilder.
components/indexer/milvus2/index_builder.go:392
↓ 1 callers
Function
NewSplitter
(ctx context.Context, config *Config)
components/document/transformer/splitter/semantic/semantic.go:57
↓ 1 callers
Function
NewSplitter
NewSplitter create a recursive splitter.
components/document/transformer/splitter/recursive/recursive.go:65
↓ 1 callers
Function
NewTool
NewTool creates a new Bing search tool instance.
components/tool/bingsearch/bing_search.go:123
↓ 1 callers
Function
NewTool
Deprecated: use NewTextSearchTool in V2 instead.
components/tool/duckduckgo/search.go:43
↓ 1 callers
Function
NewTool
(ctx context.Context, conf *Config)
components/tool/googlesearch/google_search.go:44
↓ 1 callers
Method
News
News performs a DuckDuckGo news search with the given parameters.
components/tool/duckduckgo/ddgsearch/search_news.go:30
↓ 1 callers
Method
Next
(ctx context.Context)
components/retriever/milvus2/search_mode/iterator_test.go:240
↓ 1 callers
Method
OnEnd
OnEnd handles successful call completion event
callbacks/langsmith/langsmith.go:152
↓ 1 callers
Method
OnEnd
(ctx context.Context, info *callbacks.RunInfo, output callbacks.CallbackOutput)
callbacks/apmplus/apmplus.go:319
↓ 1 callers
Method
OnEndWithStreamOutput
OnEndWithStreamOutput handles streaming output completion
callbacks/langsmith/langsmith.go:309
↓ 1 callers
Method
OnEndWithStreamOutput
(ctx context.Context, info *callbacks.RunInfo, output *schema.StreamReader[callbacks.CallbackOutput])
callbacks/apmplus/apmplus.go:563
↓ 1 callers
Method
OnEndWithStreamOutput
(ctx context.Context, info *callbacks.RunInfo, output *schema.StreamReader[callbacks.CallbackOutput])
devops/internal/service/call_option.go:206
↓ 1 callers
Method
OnError
OnError handles call failure event
callbacks/langsmith/langsmith.go:181
↓ 1 callers
Method
OnError
(ctx context.Context, info *callbacks.RunInfo, err error)
devops/internal/service/call_option.go:151
↓ 1 callers
Method
OnStart
OnStart handles call start event
callbacks/langsmith/langsmith.go:75
↓ 1 callers
Method
OnStart
(ctx context.Context, info *callbacks.RunInfo, input callbacks.CallbackInput)
callbacks/apmplus/apmplus.go:234
↓ 1 callers
Method
OnStartWithStreamInput
OnStartWithStreamInput handles streaming input initialization
callbacks/langsmith/langsmith.go:206
↓ 1 callers
Method
OnStartWithStreamInput
(ctx context.Context, info *callbacks.RunInfo, input *schema.StreamReader[callbacks.CallbackInput])
callbacks/apmplus/apmplus.go:457
↓ 1 callers
Method
OnStartWithStreamInput
(ctx context.Context, info *callbacks.RunInfo, input *schema.StreamReader[callbacks.CallbackInput])
callbacks/cozeloop/callback.go:92
↓ 1 callers
Method
Parse
Parse parses the PDF content from io.Reader.
components/document/parser/pdf/pdf_parser.go:51
↓ 1 callers
Method
ParseDefaultStreamInput
(ctx context.Context, input *schema.StreamReader[callbacks.CallbackInput])
callbacks/cozeloop/data_parser.go:587
↓ 1 callers
Method
ParseDefaultStreamOutput
(ctx context.Context, output *schema.StreamReader[callbacks.CallbackOutput])
callbacks/cozeloop/data_parser.go:604
↓ 1 callers
Method
ParseInput
(ctx context.Context, info *callbacks.RunInfo, input callbacks.CallbackInput)
callbacks/cozeloop/data_parser.go:45
↓ 1 callers
Method
ParseStreamInput
(ctx context.Context, info *callbacks.RunInfo, input *schema.StreamReader[callbacks.CallbackInput])
callbacks/cozeloop/data_parser.go:47
↓ 1 callers
Method
ParseStreamOutput
(ctx context.Context, info *callbacks.RunInfo, output *schema.StreamReader[callbacks.CallbackOutput])
callbacks/cozeloop/data_parser.go:48
↓ 1 callers
Method
PromptFormat
(ctx context.Context, prompt *entity.Prompt, variables map[string]any, options ...cozeloop.PromptFormatOption)
components/prompt/cozeloop/prompthub_test.go:788
↓ 1 callers
Function
RawStringRequest
RawStringRequest uses the query string as the request body directly. The query string must be a valid JSON string representing the search request body
components/retriever/es7/search_mode/raw_string.go:30
↓ 1 callers
Function
RawStringRequest
RawStringRequest uses the query string as the request body directly. The query string must be a valid JSON string representing the search request body
components/retriever/opensearch2/search_mode/raw_string.go:30
↓ 1 callers
Function
RawStringRequest
RawStringRequest uses the query string as the request body directly. The query string must be a valid JSON string representing the search request body
components/retriever/opensearch3/search_mode/raw_string.go:30
↓ 1 callers
Method
Read
(p []byte)
components/tool/httprequest/get/get_test.go:41
↓ 1 callers
Method
Read
(ctx context.Context, req *filesystem.ReadRequest)
adk/backend/local/local.go:309
↓ 1 callers
Method
ReadFile
ReadFile reads a file from the container
components/tool/commandline/sandbox/sandbox.go:224
↓ 1 callers
Function
Recovery
Recovery .
devops/internal/utils/safego/safego.go:35
↓ 1 callers
Method
ReleaseTerminal
(ctx context.Context, req acpproto.ReleaseTerminalRequest)
acp/backend.go:86
↓ 1 callers
Method
Retrieve
Retrieve performs the search operation using the provided client and configuration.
components/retriever/milvus2/search_mode.go:31
↓ 1 callers
Method
Search
Search searches the web for information.
components/tool/bingsearch/bing_search.go:213
↓ 1 callers
Method
Search
Search sends a search request to Bing API and returns the search results.
components/tool/bingsearch/internal/bingcore/client.go:179
↓ 1 callers
Function
SearchModeDenseVectorSimilarity
SearchModeDenseVectorSimilarity calculates the embedding similarity between a dense_vector field and the query. See: https://www.elastic.co/guide/en/e
components/retriever/es9/search_mode/dense_vector_similarity.go:32
↓ 1 callers
Function
SearchModeExactMatch
SearchModeExactMatch creates an exact match query for the specified field.
components/retriever/es8/search_mode/exact_match.go:29
↓ 1 callers
Function
SearchModeExactMatch
SearchModeExactMatch creates an exact match query for the specified field.
components/retriever/es9/search_mode/exact_match.go:29
↓ 1 callers
Function
SearchModeRawStringRequest
SearchModeRawStringRequest uses the query string as the JSON request body directly.
components/retriever/es8/search_mode/raw_string.go:28
↓ 1 callers
Function
SearchModeRawStringRequest
SearchModeRawStringRequest uses the query string as the JSON request body directly.
components/retriever/es9/search_mode/raw_string.go:28
↓ 1 callers
Function
SearchModeSparseVectorTextExpansion
SearchModeSparseVectorTextExpansion converts the query text into a list of token-weight pairs, which are then used in a query against a sparse vector.
components/retriever/es8/search_mode/sparse_vector_text_expansion.go:32
↓ 1 callers
Function
SearchModeSparseVectorTextExpansion
SearchModeSparseVectorTextExpansion converts the query text into a list of token-weight pairs, which are then used in a query against a sparse vector.
components/retriever/es9/search_mode/sparse_vector_text_expansion.go:32
↓ 1 callers
Method
SetClientConnection
SetClientConnection is called by the ACP server framework to inject the connection.
acp/examples/agent.go:67
↓ 1 callers
Function
SetVideoMetaData
Deprecated: use SetInputVideoMetaData instead.
components/model/gemini/message_extra.go:113
↓ 1 callers
Method
SetupCommandOutputs
Helper function to set up command outputs
components/tool/commandline/editor_test.go:85
↓ 1 callers
Method
SetupExpectations
Helper function to set up mock expectations
components/tool/commandline/editor_test.go:90
↓ 1 callers
Method
SetupFiles
Helper function to set up mock file system
components/tool/commandline/editor_test.go:79
↓ 1 callers
Method
Shutdown
(ctx context.Context)
libs/acl/opentelemetry/provider.go:38
↓ 1 callers
Function
SliceContains
SliceContains returns whether the element occur in slice. 🚀 EXAMPLE: SliceContains([]int{0, 1, 2, 3, 4}, 1) ⏩ true SliceContains([]int{0, 1, 2, 3,
devops/internal/utils/generic/generic.go:41
↓ 1 callers
Function
StreamDebugRun
StreamDebugRun run using mock input data.
devops/internal/apihandler/debug.go:108
↓ 1 callers
Function
StreamLog
(res http.ResponseWriter, req *http.Request)
devops/internal/apihandler/common.go:56
↓ 1 callers
Method
TerminalOutput
(ctx context.Context, req acpproto.TerminalOutputRequest)
acp/backend.go:85
↓ 1 callers
Method
TextSearch
(ctx context.Context, req *TextSearchRequest)
components/tool/duckduckgo/v2/model.go:34
↓ 1 callers
Method
TextSearch
reference - https://github.com/deedy5/duckduckgo_search/blob/main/duckduckgo_search/duckduckgo_search.py - https://github.com/searxng/searxng/blob/mas
components/tool/duckduckgo/v2/text_search.go:36
↓ 1 callers
Method
Transform
(ctx context.Context, docs []*schema.Document, opts ...document.TransformerOption)
components/document/transformer/splitter/semantic/semantic.go:98
↓ 1 callers
Method
Transform
(ctx context.Context, docs []*schema.Document, opts ...document.TransformerOption)
components/document/transformer/splitter/html/header.go:91
↓ 1 callers
Method
Transform
(ctx context.Context, src []*schema.Document, opts ...document.TransformerOption)
components/document/transformer/reranker/score/score.go:75
↓ 1 callers
Method
Unmarshal
(data []byte, v any)
components/embedding/cache/redis/codec.go:34
↓ 1 callers
Function
UnsupportedInputKind
(kind reflect.Kind)
devops/internal/utils/generic/type_utils.go:88
↓ 1 callers
Method
WaitForTerminalExit
(ctx context.Context, req acpproto.WaitForTerminalExitRequest)
acp/backend.go:84
↓ 1 callers
Function
Warnf
(format string, v ...any)
devops/internal/utils/log/log.go:65
↓ 1 callers
Function
WithAggrMessageOutput
(enable bool)
callbacks/cozeloop/option.go:72
↓ 1 callers
Function
WithAutoCacheControl
WithAutoCacheControl sets the CacheControl for automatically placed cache breakpoints. The caching strategy sets separate breakpoints for tool and sys
components/model/claude/option.go:83
↓ 1 callers
Function
WithCachedContentName
WithCachedContentName the name of the content cached to use as context to serve the prediction. Format: cachedContents/{cachedContent}
components/model/gemini/option.go:63
↓ 1 callers
Function
WithCachedContentName
WithCachedContentName the name of the content cached to use as context to serve the prediction. Format: cachedContents/{cachedContent}
components/model/agenticgemini/option.go:78
↓ 1 callers
Function
WithCallbackDataParser
(parser CallbackDataParser)
callbacks/cozeloop/option.go:44
↓ 1 callers
Function
WithCustomHeader
WithCustomHeader sets custom headers for a single request the headers will override all the headers given in Config.CustomHeader
components/model/arkbot/option.go:29
↓ 1 callers
Function
WithCustomHeaders
(headers map[string]string)
components/model/agenticark/option.go:96
↓ 1 callers
Function
WithEinoVersionFn
(fn EinoVersionFn)
callbacks/cozeloop/option.go:56
↓ 1 callers
Function
WithEnableTracing
(enable bool)
callbacks/cozeloop/option.go:38
↓ 1 callers
Function
WithEnvironment
(environment string)
callbacks/langfuse/trace.go:84
↓ 1 callers
Function
WithExpireAtSec
WithExpireAtSec sets the expiration Unix timestamp (in seconds) for auto caching or prefix cache. This option overrides the ExpireAtSec field in Confi
components/model/agenticark/option.go:110
↓ 1 callers
Function
WithExportEndpoint
WithExportEndpoint configures export endpoint
libs/acl/opentelemetry/option.go:118
↓ 1 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/agenticclaude/option.go:59
↓ 1 callers
Function
WithFilter
WithFilter returns an option that sets a boolean filter expression for search results. See https://milvus.io/docs/boolean.md for filter syntax.
components/retriever/milvus2/options.go:33
↓ 1 callers
Function
WithFilter
(filter string)
components/retriever/milvus/options.go:36
↓ 1 callers
Function
WithFilters
WithFilters sets filters for the retrieve query. This may take effect in search modes. filters should be a list of items that can be marshaled into O
components/retriever/opensearch2/option.go:45
↓ 1 callers
Function
WithFilters
WithFilters sets filters for the retrieve query. This may take effect in search modes. filters should be a list of items that can be marshaled into O
components/retriever/opensearch3/option.go:45
↓ 1 callers
Function
WithGrouping
WithGrouping returns an option that enables grouping search by a specified field. It configures the group field, number of items per group, and whethe
components/retriever/milvus2/options.go:51
↓ 1 callers
Function
WithHeadPreviousResponseID
WithHeadPreviousResponseID sets a response ID from a previous ResponsesAPI call. This ID links the current request to a previous conversation context,
components/model/agenticark/option.go:48
↓ 1 callers
Function
WithInsecure
WithInsecure disables client transport security for the exporter's gRPC
libs/acl/opentelemetry/option.go:153
↓ 1 callers
Function
WithLogger
(logger cozeloop.Logger)
callbacks/cozeloop/option.go:50
↓ 1 callers
Function
WithLogprobs
WithLogprobs sets the number of top candidate tokens to return the log probabilities for at each generation step. Only takes effect when ResponseLogpr
components/model/gemini/option.go:89
↓ 1 callers
Function
WithMCPTools
(tools []*responses.ToolMcp)
components/model/agenticark/option.go:90
↓ 1 callers
Function
WithMaxCompletionTokens
(maxCompletionTokens int)
libs/acl/openai/option.go:135
↓ 1 callers
Function
WithMaxToolCalls
(maxToolCalls int64)
components/model/agenticark/option.go:72
↓ 1 callers
Function
WithMetadata
(metadata map[string]string)
callbacks/langfuse/trace.go:79
↓ 1 callers
Function
WithMeterProvider
WithMeterProvider configures MeterProvider
libs/acl/opentelemetry/option.go:174
↓ 1 callers
Function
WithName
(name string)
callbacks/langfuse/trace.go:44
↓ 1 callers
Function
WithParallelToolCalls
(parallelToolCalls bool)
components/model/agenticark/option.go:78
↓ 1 callers
Function
WithPublic
(public bool)
callbacks/langfuse/trace.go:74
↓ 1 callers
Method
WithRawDataEnabled
WithRawDataEnabled sets whether to include raw data for reranking.
components/indexer/milvus2/index_builder.go:233
← previous
next →
1,601–1,700 of 4,194, ranked by callers