MCPcopy Create free account

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

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

FunctionTest_convertModelMessage
(t *testing.T)
callbacks/cozeloop/convert_test.go:513
FunctionTest_convertModelOutput
(t *testing.T)
callbacks/cozeloop/convert_test.go:329
FunctionTest_convertPromptArguments
(t *testing.T)
callbacks/cozeloop/convert_test.go:154
FunctionTest_convertPromptInput
(t *testing.T)
callbacks/cozeloop/convert_test.go:43
FunctionTest_convertPromptOutput
(t *testing.T)
callbacks/cozeloop/convert_test.go:76
FunctionTest_convertRetrieverCallOption
(t *testing.T)
callbacks/cozeloop/convert_test.go:209
FunctionTest_convertRetrieverOutput
(t *testing.T)
callbacks/cozeloop/convert_test.go:179
FunctionTest_convertTemplate
(t *testing.T)
callbacks/cozeloop/convert_test.go:105
FunctionTest_debugServiceImpl_getInvokeOptions
(t *testing.T)
devops/internal/service/debug_run_test.go:35
FunctionTest_debug_run
(t *testing.T)
devops/internal/apihandler/debug_test.go:47
FunctionTest_defaultConfig
(t *testing.T)
libs/acl/opentelemetry/option_test.go:31
FunctionTest_defaultDataParser_ParseAgenticModelStreamOutput_MessageMetaTokenUsage
(t *testing.T)
callbacks/cozeloop/data_parser_test.go:475
FunctionTest_defaultDataParser_ParseChatModelStreamOutput_MessageMetaTokenUsage
(t *testing.T)
callbacks/cozeloop/data_parser_test.go:395
FunctionTest_defaultDataParser_ParseInput
(t *testing.T)
callbacks/cozeloop/data_parser_test.go:40
FunctionTest_defaultDataParser_ParseOutput
Test_defaultDataParser_ParseOutput 测试 defaultDataParser 的 ParseOutput 方法
callbacks/cozeloop/data_parser_test.go:111
FunctionTest_defaultDataParser_getConcatFunc
Test_defaultDataParser_getConcatFunc 测试 defaultDataParser 的 getConcatFunc 方法
callbacks/cozeloop/data_parser_test.go:569
FunctionTest_defaultDataParser_tryConcatChunks
Test_defaultDataParser_tryConcatChunks 为 defaultDataParser 的 tryConcatChunks 方法编写单元测试
callbacks/cozeloop/data_parser_test.go:528
FunctionTest_doResp
(t *testing.T)
devops/internal/apihandler/server_test.go:32
FunctionTest_doSSEResp
(t *testing.T)
devops/internal/apihandler/server_test.go:71
FunctionTest_einoTracer_OnEnd
(t *testing.T)
callbacks/cozeloop/trace_handler_test.go:72
FunctionTest_einoTracer_OnError
(t *testing.T)
callbacks/cozeloop/trace_handler_test.go:106
FunctionTest_einoTracer_OnStart
定义空实现结构体 type ClientImpl struct{ Client } type CallbackDataParserImpl struct{ CallbackDataParser } type SpanImpl struct{ Span }
callbacks/cozeloop/trace_handler_test.go:38
FunctionTest_enginePtr
(t *testing.T)
components/tool/searxng/searxng_test.go:1105
FunctionTest_expandAgenticModelMessage
(t *testing.T)
callbacks/cozeloop/convert_test.go:1107
FunctionTest_extractModelInput
(t *testing.T)
callbacks/apmplus/utils_test.go:59
FunctionTest_extractModelOutput
(t *testing.T)
callbacks/apmplus/utils_test.go:150
FunctionTest_flatExpandAgenticMessages
(t *testing.T)
callbacks/cozeloop/convert_test.go:1298
FunctionTest_genAgentRunID
(t *testing.T)
callbacks/cozeloop/utils_test.go:34
FunctionTest_genRequest
(t *testing.T)
libs/acl/openai/chat_model_test.go:707
FunctionTest_getErrorTags
(t *testing.T)
callbacks/cozeloop/utils_test.go:165
FunctionTest_getName
(t *testing.T)
callbacks/apmplus/utils_test.go:31
FunctionTest_injectToolIDNameMapToCtx
(t *testing.T)
callbacks/cozeloop/utils_test.go:191
FunctionTest_intPtr
(t *testing.T)
components/tool/searxng/searxng_test.go:1097
FunctionTest_iterSliceWithCtx
(t *testing.T)
callbacks/cozeloop/convert_test.go:316
FunctionTest_messageToAgenticMessage
(t *testing.T)
libs/acl/openai/agentic_convert_test.go:328
FunctionTest_messageToAgenticMessageAlwaysAssistant
(t *testing.T)
libs/acl/openai/agentic_convert_test.go:404
FunctionTest_messageToAgenticMessage_MultiContentPriority
(t *testing.T)
libs/acl/openai/agentic_convert_test.go:414
FunctionTest_newResource
(t *testing.T)
libs/acl/opentelemetry/provider_test.go:28
FunctionTest_newStreamMessageBuilder
(t *testing.T)
libs/acl/openai/chat_model_test.go:649
FunctionTest_parseAny
Test_parseAny 测试 parseAny 函数
callbacks/cozeloop/data_parser_test.go:606
FunctionTest_parseReflectTypeToTypeSchema
(t *testing.T)
devops/internal/model/container_test.go:1808
FunctionTest_parseSearchResponse
(t *testing.T)
components/tool/bingsearch/internal/bingcore/utils_test.go:77
FunctionTest_parseSearchResponse
(t *testing.T)
components/tool/searxng/searxng_test.go:1023
FunctionTest_parseSearchResponse_WithEmptyResults
(t *testing.T)
components/tool/searxng/searxng_test.go:1277
FunctionTest_parseSearchResponse_WithNilResults
(t *testing.T)
components/tool/searxng/searxng_test.go:1288
FunctionTest_parseSpanTypeFromComponent
Test_parseSpanTypeFromComponent 测试 parseSpanTypeFromComponent 函数
callbacks/cozeloop/data_parser_test.go:872
FunctionTest_populateCompletionAPIToolChoice
(t *testing.T)
components/model/ark/chat_completion_api_test.go:644
FunctionTest_readVersionByGoMod
(t *testing.T)
callbacks/cozeloop/builtin_test.go:27
FunctionTest_responsesAPIChatModel_handleCompletedStreamEvent
(t *testing.T)
components/model/ark/responses_api_test.go:1023
FunctionTest_spanContext_Getters
覆盖 spanContext 的 Getter 方法
callbacks/cozeloop/span_context_test.go:28
FunctionTest_spanTags_set
(t *testing.T)
callbacks/cozeloop/utils_test.go:91
FunctionTest_spanTags_setTags
Test_spanTags_setTags 为 spanTags 的 setTags 方法编写单元测试
callbacks/cozeloop/utils_test.go:53
FunctionTest_strPtr
(t *testing.T)
components/tool/searxng/searxng_test.go:1089
FunctionTest_streamMessageBuilder_build
(t *testing.T)
libs/acl/openai/chat_model_test.go:680
FunctionTest_streamMessageBuilder_setOutputMessageAudio
(t *testing.T)
libs/acl/openai/chat_model_test.go:655
FunctionTest_toAnySlice
Test_toAnySlice 为 toAnySlice 函数编写的单元测试
callbacks/cozeloop/data_parser_test.go:845
FunctionTest_toArkContent
(t *testing.T)
components/model/arkbot/chatmodel_test.go:374
FunctionTest_toMultiOutPart
(t *testing.T)
components/model/gemini/gemini_test.go:287
FunctionTest_toOllamaMessage
(t *testing.T)
components/model/ollama/chatmodel_test.go:324
MethodTest_validateCreateDebugThreadRequest
()
devops/internal/apihandler/debug_test.go:133
MethodTest_validateDebugRunRequest
()
devops/internal/apihandler/debug_test.go:197
FunctionTest_validateEngines_WithInvalid
(t *testing.T)
components/tool/searxng/searxng_test.go:1265
FunctionTest_validateEngines_WithValid
(t *testing.T)
components/tool/searxng/searxng_test.go:1257
FunctionTest_validateInSlice
(t *testing.T)
components/tool/searxng/searxng_test.go:922
FunctionTest_validateInSlice_Comparable
(t *testing.T)
components/tool/searxng/searxng_test.go:1251
MethodUnmarshal
(data []byte, v any)
components/embedding/cache/redis/cacher_test.go:49
MethodUnsubscribe
(ctx context.Context, request mcp.UnsubscribeRequest)
components/prompt/mcp/mcp_test.go:213
MethodUnsubscribe
(ctx context.Context, request mcp.UnsubscribeRequest)
components/tool/mcp/mcp_test.go:105
MethodUnwrap
()
components/model/openai/types.go:53
MethodUnwrap
()
components/tool/duckduckgo/ddgsearch/errors.go:38
MethodUpdateRun
(ctx context.Context, runID string, patch *RunPatch)
callbacks/langsmith/langsmith_test.go:41
MethodUpdateRun
UpdateRun update run when it is finished or failed, patch output or error msg.
callbacks/langsmith/client.go:134
MethodUpdateTraceOutput
UpdateTraceOutput pushes final trace output to Langfuse (via ACL EndTrace). ctx is reserved for future cancellation / deadline propagation; callers ma
callbacks/langfuse/langfuse.go:595
FunctionVersion
Version return devops current version
devops/internal/apihandler/common.go:34
MethodWaitForTerminalExit
(ctx context.Context, req acpproto.WaitForTerminalExitRequest)
acp/backend_test.go:580
FunctionWithCacheControl
WithCacheControl sets the top-level cache_control for the request. This enables automatic prompt caching for supported providers (e.g. Anthropic Claud
components/model/openrouter/option.go:61
FunctionWithConcatFunction
(fn func([]T) (T, error))
callbacks/cozeloop/option.go:62
FunctionWithContextManagement
(cm *contextmanagement.ContextManagement)
components/model/agenticark/option.go:102
FunctionWithDevServerIP
WithDevServerIP sets dev server listen ip, default to 127.0.0.1
devops/option.go:26
FunctionWithDevServerPort
WithDevServerPort sets dev server port, default to 52538
devops/option.go:33
FunctionWithDisableParallelToolUse
()
components/model/claude/option.go:58
MethodWithDropRatioBuild
WithDropRatioBuild sets the drop ratio for building the index.
components/indexer/milvus2/index_builder.go:399
MethodWithDropRatioBuild
WithDropRatioBuild sets the drop ratio for building the index.
components/indexer/milvus2/index_builder.go:422
FunctionWithEnableAutoCache
Deprecated: Use WithAutoCacheControl instead. WithEnableAutoCache enables automatic caching in a multi-turn conversation. The caching strategy sets se
components/model/claude/option.go:69
FunctionWithEnableReasoningContentPassback
WithEnableReasoningContentPassback controls whether reasoning content is passed back to the model in multi-turn conversations. This option is only sup
components/model/ark/option.go:151
FunctionWithEnableThinking
WithEnableThinking is the option to set the enable thinking for the model.
components/model/qwen/option.go:33
FunctionWithEnableToolWebSearch
WithEnableToolWebSearch enables the web search tool. This option is only supported for the ResponsesAPIChatModel. Web Search is a basic internet searc
components/model/ark/option.go:126
FunctionWithExtraFields
WithExtraFields is used to set extra body fields for the request. These fields will be merged into the top-level JSON request body, overriding any exi
components/model/openai/option.go:54
FunctionWithExtraFields
WithExtraFields is used to set extra body fields for the request. These fields will be merged into the top-level JSON request body, overriding any exi
components/model/qwen/option.go:62
FunctionWithExtraHeader
WithExtraHeader is used to set extra headers for the request.
components/model/openai/option.go:59
FunctionWithExtraHeader
WithExtraHeader is used to set extra headers for the request.
components/model/qwen/option.go:40
FunctionWithFilter
WithFilter sets a Qdrant filter for the search query. Reference: https://qdrant.tech/documentation/concepts/filtering/
components/retriever/qdrant/options.go:30
FunctionWithFilterQuery
WithFilterQuery redis filter query. see: https://redis.io/docs/latest/develop/interact/search-and-query/advanced-concepts/vectors/#filters
components/retriever/redis/options.go:29
FunctionWithFilters
WithFilters sets filters for the retrieve query. This may take effect in search modes.
components/retriever/es7/option.go:31
FunctionWithFilters
WithFilters sets filters for the retrieve query. This may take effect in search modes.
components/retriever/es8/option.go:33
FunctionWithFilters
WithFilters sets filters for the retrieve query. This may take effect in search modes.
components/retriever/es9/option.go:33
FunctionWithFlushAt
(flushAt int)
libs/acl/langfuse/option.go:53
FunctionWithFlushInterval
(flushInterval time.Duration)
libs/acl/langfuse/option.go:59
FunctionWithHeadPreviousResponseID
WithHeadPreviousResponseID sets a response ID from a previous Responses API call. This ID links the current request to a previous conversation context
components/model/agenticopenai/option.go:81
FunctionWithImageConfig
WithImageConfig sets the image generation configuration. Note: an error will be returned for a model that does not support the configuration options.
components/model/gemini/option.go:72
← previousnext →3,801–3,900 of 4,194, ranked by callers