MCPcopy Create free account

hub / github.com/cloudwego/eino-ext / functions

Functions4,194 in github.com/cloudwego/eino-ext

↓ 1 callersFunctionNewPDFParser
NewPDFParser creates a new PDF parser.
components/document/parser/pdf/pdf_parser.go:43
↓ 1 callersFunctionNewPromptTemplate
(_ context.Context, conf *Config)
components/prompt/mcp/mcp.go:40
↓ 1 callersFunctionNewPyExecutor
(_ context.Context, cfg *PyExecutorConfig)
components/tool/commandline/pyexecutor.go:40
↓ 1 callersFunctionNewReranker
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 callersFunctionNewRetriever
(ctx context.Context, conf *Config)
components/retriever/volc_knowledge/knowledge.go:143
↓ 1 callersFunctionNewSparseInvertedIndexBuilder
NewSparseInvertedIndexBuilder creates a new SparseInvertedIndexBuilder.
components/indexer/milvus2/index_builder.go:392
↓ 1 callersFunctionNewSplitter
(ctx context.Context, config *Config)
components/document/transformer/splitter/semantic/semantic.go:57
↓ 1 callersFunctionNewSplitter
NewSplitter create a recursive splitter.
components/document/transformer/splitter/recursive/recursive.go:65
↓ 1 callersFunctionNewTool
NewTool creates a new Bing search tool instance.
components/tool/bingsearch/bing_search.go:123
↓ 1 callersFunctionNewTool
Deprecated: use NewTextSearchTool in V2 instead.
components/tool/duckduckgo/search.go:43
↓ 1 callersFunctionNewTool
(ctx context.Context, conf *Config)
components/tool/googlesearch/google_search.go:44
↓ 1 callersMethodNews
News performs a DuckDuckGo news search with the given parameters.
components/tool/duckduckgo/ddgsearch/search_news.go:30
↓ 1 callersMethodNext
(ctx context.Context)
components/retriever/milvus2/search_mode/iterator_test.go:240
↓ 1 callersMethodOnEnd
OnEnd handles successful call completion event
callbacks/langsmith/langsmith.go:152
↓ 1 callersMethodOnEnd
(ctx context.Context, info *callbacks.RunInfo, output callbacks.CallbackOutput)
callbacks/apmplus/apmplus.go:319
↓ 1 callersMethodOnEndWithStreamOutput
OnEndWithStreamOutput handles streaming output completion
callbacks/langsmith/langsmith.go:309
↓ 1 callersMethodOnEndWithStreamOutput
(ctx context.Context, info *callbacks.RunInfo, output *schema.StreamReader[callbacks.CallbackOutput])
callbacks/apmplus/apmplus.go:563
↓ 1 callersMethodOnEndWithStreamOutput
(ctx context.Context, info *callbacks.RunInfo, output *schema.StreamReader[callbacks.CallbackOutput])
devops/internal/service/call_option.go:206
↓ 1 callersMethodOnError
OnError handles call failure event
callbacks/langsmith/langsmith.go:181
↓ 1 callersMethodOnError
(ctx context.Context, info *callbacks.RunInfo, err error)
devops/internal/service/call_option.go:151
↓ 1 callersMethodOnStart
OnStart handles call start event
callbacks/langsmith/langsmith.go:75
↓ 1 callersMethodOnStart
(ctx context.Context, info *callbacks.RunInfo, input callbacks.CallbackInput)
callbacks/apmplus/apmplus.go:234
↓ 1 callersMethodOnStartWithStreamInput
OnStartWithStreamInput handles streaming input initialization
callbacks/langsmith/langsmith.go:206
↓ 1 callersMethodOnStartWithStreamInput
(ctx context.Context, info *callbacks.RunInfo, input *schema.StreamReader[callbacks.CallbackInput])
callbacks/apmplus/apmplus.go:457
↓ 1 callersMethodOnStartWithStreamInput
(ctx context.Context, info *callbacks.RunInfo, input *schema.StreamReader[callbacks.CallbackInput])
callbacks/cozeloop/callback.go:92
↓ 1 callersMethodParse
Parse parses the PDF content from io.Reader.
components/document/parser/pdf/pdf_parser.go:51
↓ 1 callersMethodParseDefaultStreamInput
(ctx context.Context, input *schema.StreamReader[callbacks.CallbackInput])
callbacks/cozeloop/data_parser.go:587
↓ 1 callersMethodParseDefaultStreamOutput
(ctx context.Context, output *schema.StreamReader[callbacks.CallbackOutput])
callbacks/cozeloop/data_parser.go:604
↓ 1 callersMethodParseInput
(ctx context.Context, info *callbacks.RunInfo, input callbacks.CallbackInput)
callbacks/cozeloop/data_parser.go:45
↓ 1 callersMethodParseStreamInput
(ctx context.Context, info *callbacks.RunInfo, input *schema.StreamReader[callbacks.CallbackInput])
callbacks/cozeloop/data_parser.go:47
↓ 1 callersMethodParseStreamOutput
(ctx context.Context, info *callbacks.RunInfo, output *schema.StreamReader[callbacks.CallbackOutput])
callbacks/cozeloop/data_parser.go:48
↓ 1 callersMethodPromptFormat
(ctx context.Context, prompt *entity.Prompt, variables map[string]any, options ...cozeloop.PromptFormatOption)
components/prompt/cozeloop/prompthub_test.go:788
↓ 1 callersFunctionRawStringRequest
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 callersFunctionRawStringRequest
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 callersFunctionRawStringRequest
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 callersMethodRead
(p []byte)
components/tool/httprequest/get/get_test.go:41
↓ 1 callersMethodRead
(ctx context.Context, req *filesystem.ReadRequest)
adk/backend/local/local.go:309
↓ 1 callersMethodReadFile
ReadFile reads a file from the container
components/tool/commandline/sandbox/sandbox.go:224
↓ 1 callersFunctionRecovery
Recovery .
devops/internal/utils/safego/safego.go:35
↓ 1 callersMethodReleaseTerminal
(ctx context.Context, req acpproto.ReleaseTerminalRequest)
acp/backend.go:86
↓ 1 callersMethodRetrieve
Retrieve performs the search operation using the provided client and configuration.
components/retriever/milvus2/search_mode.go:31
↓ 1 callersMethodSearch
Search searches the web for information.
components/tool/bingsearch/bing_search.go:213
↓ 1 callersMethodSearch
Search sends a search request to Bing API and returns the search results.
components/tool/bingsearch/internal/bingcore/client.go:179
↓ 1 callersFunctionSearchModeDenseVectorSimilarity
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 callersFunctionSearchModeExactMatch
SearchModeExactMatch creates an exact match query for the specified field.
components/retriever/es8/search_mode/exact_match.go:29
↓ 1 callersFunctionSearchModeExactMatch
SearchModeExactMatch creates an exact match query for the specified field.
components/retriever/es9/search_mode/exact_match.go:29
↓ 1 callersFunctionSearchModeRawStringRequest
SearchModeRawStringRequest uses the query string as the JSON request body directly.
components/retriever/es8/search_mode/raw_string.go:28
↓ 1 callersFunctionSearchModeRawStringRequest
SearchModeRawStringRequest uses the query string as the JSON request body directly.
components/retriever/es9/search_mode/raw_string.go:28
↓ 1 callersFunctionSearchModeSparseVectorTextExpansion
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 callersFunctionSearchModeSparseVectorTextExpansion
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 callersMethodSetClientConnection
SetClientConnection is called by the ACP server framework to inject the connection.
acp/examples/agent.go:67
↓ 1 callersFunctionSetVideoMetaData
Deprecated: use SetInputVideoMetaData instead.
components/model/gemini/message_extra.go:113
↓ 1 callersMethodSetupCommandOutputs
Helper function to set up command outputs
components/tool/commandline/editor_test.go:85
↓ 1 callersMethodSetupExpectations
Helper function to set up mock expectations
components/tool/commandline/editor_test.go:90
↓ 1 callersMethodSetupFiles
Helper function to set up mock file system
components/tool/commandline/editor_test.go:79
↓ 1 callersMethodShutdown
(ctx context.Context)
libs/acl/opentelemetry/provider.go:38
↓ 1 callersFunctionSliceContains
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 callersFunctionStreamDebugRun
StreamDebugRun run using mock input data.
devops/internal/apihandler/debug.go:108
↓ 1 callersFunctionStreamLog
(res http.ResponseWriter, req *http.Request)
devops/internal/apihandler/common.go:56
↓ 1 callersMethodTerminalOutput
(ctx context.Context, req acpproto.TerminalOutputRequest)
acp/backend.go:85
↓ 1 callersMethodTextSearch
(ctx context.Context, req *TextSearchRequest)
components/tool/duckduckgo/v2/model.go:34
↓ 1 callersMethodTextSearch
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 callersMethodTransform
(ctx context.Context, docs []*schema.Document, opts ...document.TransformerOption)
components/document/transformer/splitter/semantic/semantic.go:98
↓ 1 callersMethodTransform
(ctx context.Context, docs []*schema.Document, opts ...document.TransformerOption)
components/document/transformer/splitter/html/header.go:91
↓ 1 callersMethodTransform
(ctx context.Context, src []*schema.Document, opts ...document.TransformerOption)
components/document/transformer/reranker/score/score.go:75
↓ 1 callersMethodUnmarshal
(data []byte, v any)
components/embedding/cache/redis/codec.go:34
↓ 1 callersFunctionUnsupportedInputKind
(kind reflect.Kind)
devops/internal/utils/generic/type_utils.go:88
↓ 1 callersMethodWaitForTerminalExit
(ctx context.Context, req acpproto.WaitForTerminalExitRequest)
acp/backend.go:84
↓ 1 callersFunctionWarnf
(format string, v ...any)
devops/internal/utils/log/log.go:65
↓ 1 callersFunctionWithAggrMessageOutput
(enable bool)
callbacks/cozeloop/option.go:72
↓ 1 callersFunctionWithAutoCacheControl
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 callersFunctionWithCachedContentName
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 callersFunctionWithCachedContentName
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 callersFunctionWithCallbackDataParser
(parser CallbackDataParser)
callbacks/cozeloop/option.go:44
↓ 1 callersFunctionWithCustomHeader
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 callersFunctionWithCustomHeaders
(headers map[string]string)
components/model/agenticark/option.go:96
↓ 1 callersFunctionWithEinoVersionFn
(fn EinoVersionFn)
callbacks/cozeloop/option.go:56
↓ 1 callersFunctionWithEnableTracing
(enable bool)
callbacks/cozeloop/option.go:38
↓ 1 callersFunctionWithEnvironment
(environment string)
callbacks/langfuse/trace.go:84
↓ 1 callersFunctionWithExpireAtSec
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 callersFunctionWithExportEndpoint
WithExportEndpoint configures export endpoint
libs/acl/opentelemetry/option.go:118
↓ 1 callersFunctionWithExtraFields
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 callersFunctionWithFilter
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 callersFunctionWithFilter
(filter string)
components/retriever/milvus/options.go:36
↓ 1 callersFunctionWithFilters
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 callersFunctionWithFilters
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 callersFunctionWithGrouping
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 callersFunctionWithHeadPreviousResponseID
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 callersFunctionWithInsecure
WithInsecure disables client transport security for the exporter's gRPC
libs/acl/opentelemetry/option.go:153
↓ 1 callersFunctionWithLogger
(logger cozeloop.Logger)
callbacks/cozeloop/option.go:50
↓ 1 callersFunctionWithLogprobs
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 callersFunctionWithMCPTools
(tools []*responses.ToolMcp)
components/model/agenticark/option.go:90
↓ 1 callersFunctionWithMaxCompletionTokens
(maxCompletionTokens int)
libs/acl/openai/option.go:135
↓ 1 callersFunctionWithMaxToolCalls
(maxToolCalls int64)
components/model/agenticark/option.go:72
↓ 1 callersFunctionWithMetadata
(metadata map[string]string)
callbacks/langfuse/trace.go:79
↓ 1 callersFunctionWithMeterProvider
WithMeterProvider configures MeterProvider
libs/acl/opentelemetry/option.go:174
↓ 1 callersFunctionWithName
(name string)
callbacks/langfuse/trace.go:44
↓ 1 callersFunctionWithParallelToolCalls
(parallelToolCalls bool)
components/model/agenticark/option.go:78
↓ 1 callersFunctionWithPublic
(public bool)
callbacks/langfuse/trace.go:74
↓ 1 callersMethodWithRawDataEnabled
WithRawDataEnabled sets whether to include raw data for reranking.
components/indexer/milvus2/index_builder.go:233
← previousnext →1,601–1,700 of 4,194, ranked by callers