MCPcopy Create free account

hub / github.com/ClickHouse/ai-sdk-cpp / functions

Functions454 in github.com/ClickHouse/ai-sdk-cpp

MethodTearDown
tests/integration/anthropic_integration_test.cpp:35
MethodTearDown
tests/integration/anthropic_integration_test.cpp:400
MethodTearDown
tests/integration/openai_integration_test.cpp:35
MethodTearDown
tests/integration/openai_integration_test.cpp:398
MethodTearDown
tests/integration/clickhouse_integration_test.cpp:241
MethodTearDown
tests/integration/openai_embeddings_integration_test.cpp:34
MethodTearDown
tests/utils/test_fixtures.cpp:15
MethodTearDown
tests/unit/openai_client_test.cpp:25
MethodTearDown
tests/unit/anthropic_client_test.cpp:25
MethodTearDown
tests/unit/openai_embeddings_test.cpp:24
MethodTextContentPart
include/ai/types/message.h:19
MethodTool
include/ai/types/tool.h:44
MethodToolCall
include/ai/types/tool.h:116
MethodToolCallContentPart
include/ai/types/message.h:27
MethodToolError
include/ai/types/tool.h:189
MethodToolExecutionError
include/ai/types/tool.h:218
MethodToolResult
include/ai/types/tool.h:138
MethodToolResultContentPart
include/ai/types/message.h:36
MethodTrace
src/langfuse/tracer.cpp:238
MethodTracer
src/langfuse/tracer.cpp:163
MethodUsage
include/ai/types/usage.h:10
Methodadvance
src/types/stream_result.cpp:13
MethodassertError
tests/utils/test_fixtures.cpp:333
MethodassertHasRequiredFields
tests/utils/test_fixtures.cpp:363
MethodassertSuccess
TestAssertions implementation
tests/utils/test_fixtures.cpp:324
MethodassertUsage
tests/utils/test_fixtures.cpp:344
MethodassertValidRequestJson
tests/utils/test_fixtures.cpp:355
Methodassistant
include/ai/types/message.h:62
Methodassistant_with_tools
include/ai/types/message.h:66
Methodauto_choice
include/ai/types/tool.h:82
MethodbuildAuthErrorResponse
tests/utils/mock_openai_client.cpp:247
MethodbuildAuthErrorResponse
tests/utils/mock_anthropic_client.cpp:262
MethodbuildErrorResponse
tests/utils/mock_openai_client.cpp:190
MethodbuildErrorResponse
tests/utils/mock_anthropic_client.cpp:207
MethodbuildMaxTokensRequiredResponse
tests/utils/mock_anthropic_client.cpp:270
MethodbuildModelNotFoundResponse
tests/utils/mock_openai_client.cpp:252
MethodbuildModelNotFoundResponse
tests/utils/mock_anthropic_client.cpp:266
MethodbuildPartialResponse
tests/utils/mock_openai_client.cpp:202
MethodbuildPartialResponse
tests/utils/mock_anthropic_client.cpp:217
MethodbuildRateLimitResponse
tests/utils/mock_openai_client.cpp:241
MethodbuildRateLimitResponse
tests/utils/mock_anthropic_client.cpp:258
MethodbuildStreamingResponse
tests/utils/mock_openai_client.cpp:206
MethodbuildStreamingResponse
tests/utils/mock_anthropic_client.cpp:222
MethodbuildSuccessResponse
ResponseBuilder implementation
tests/utils/mock_openai_client.cpp:166
MethodbuildSuccessResponse
AnthropicResponseBuilder implementation
tests/utils/mock_anthropic_client.cpp:188
Methodbuild_trace_event
src/langfuse/tracer.cpp:478
Functioncalculate_stats
Sync tool for comparison: Quick calculation
examples/tool_calling_async.cpp:95
Methodconfig_info
src/providers/anthropic/anthropic_client.cpp:81
Methodconfig_info
src/providers/openai/openai_client.cpp:97
Methodconfig_info
tests/utils/mock_anthropic_client.cpp:145
Methodconfig_info
include/ai/types/client.h:71
Methodcosine_similarity
Helper to calculate cosine similarity between two embeddings
tests/integration/openai_embeddings_integration_test.cpp:37
MethodcreateAdvancedAnthropicOptions
tests/utils/test_fixtures.cpp:109
MethodcreateAdvancedOptions
tests/utils/test_fixtures.cpp:28
MethodcreateAnthropicAssistantMessage
tests/utils/test_fixtures.cpp:158
MethodcreateAnthropicErrorResponse
tests/utils/test_fixtures.cpp:132
MethodcreateAnthropicStreamResponse
tests/utils/test_fixtures.cpp:140
MethodcreateAnthropicStreamingEvents
tests/utils/test_fixtures.cpp:269
MethodcreateAnthropicSystemMessage
tests/utils/test_fixtures.cpp:163
MethodcreateAnthropicUserMessage
tests/utils/test_fixtures.cpp:153
MethodcreateAssistantMessage
tests/utils/test_fixtures.cpp:90
MethodcreateAsyncTimeTool
Create an async tool
tests/integration/tool_calling_integration_test.cpp:78
MethodcreateBasicAnthropicOptions
tests/utils/test_fixtures.cpp:103
MethodcreateBasicOptions
tests/utils/test_fixtures.cpp:24
MethodcreateCalculatorCall
tests/integration/tool_calling_integration_test.cpp:118
MethodcreateCalculatorTool
Create a calculator tool (using manual schema for complex validation)
tests/integration/tool_calling_integration_test.cpp:40
MethodcreateEdgeCaseOptions
tests/utils/test_fixtures.cpp:294
MethodcreateErrorResponse
tests/utils/test_fixtures.cpp:58
MethodcreateErrorTool
Create a tool that throws an error
tests/integration/tool_calling_integration_test.cpp:94
MethodcreateFullValidResponse
tests/utils/test_fixtures.cpp:203
MethodcreateInvalidCall
tests/integration/tool_calling_integration_test.cpp:123
MethodcreateLargePrompt
tests/utils/test_fixtures.cpp:304
MethodcreateMalformedResponse
tests/utils/test_fixtures.cpp:313
MethodcreateMinimalValidResponse
tests/utils/test_fixtures.cpp:195
MethodcreateNetworkErrorResult
tests/utils/mock_openai_client.cpp:160
MethodcreateNetworkErrorResult
tests/utils/mock_anthropic_client.cpp:182
MethodcreateResponseWithMetadata
tests/utils/test_fixtures.cpp:234
MethodcreateResponseWithUsage
tests/utils/test_fixtures.cpp:224
MethodcreateSampleAnthropicConversation
tests/utils/test_fixtures.cpp:146
MethodcreateSampleConversation
tests/utils/test_fixtures.cpp:79
MethodcreateStreamResponse
tests/utils/test_fixtures.cpp:68
MethodcreateStreamingEvents
tests/utils/test_fixtures.cpp:252
MethodcreateSystemMessage
tests/utils/test_fixtures.cpp:94
MethodcreateTestToolSet
Create common tool set
tests/integration/tool_calling_integration_test.cpp:105
MethodcreateUserMessage
tests/utils/test_fixtures.cpp:86
MethodcreateValidAnthropicResponse
tests/utils/test_fixtures.cpp:118
MethodcreateValidChatCompletionResponse
tests/utils/test_fixtures.cpp:39
MethodcreateWeatherCall
Create tool calls for testing
tests/integration/tool_calling_integration_test.cpp:113
MethodcreateWeatherTool
Create a simple weather tool
tests/integration/tool_calling_integration_test.cpp:26
Functioncreate_client
src/providers/anthropic/anthropic_factory.cpp:35
Methodcreate_error_event
src/providers/anthropic/anthropic_stream.cpp:228
Methodcreate_error_event
src/providers/openai/openai_stream.cpp:275
Functioncreate_tool_call
src/tools/tool_executor.cpp:257
Functioncreate_tool_schema
Helper function to create a tool without execution (for forwarding to client)
include/ai/types/tool.h:245
Functioncreate_tool_set
src/tools/tool_executor.cpp:248
Methoddefault_model
src/providers/anthropic/anthropic_client.cpp:85
Methoddefault_model
src/providers/openai/openai_client.cpp:101
Methodembeddings
src/providers/base_provider_client.cpp:149
MethoderrorScenarios
tests/utils/test_fixtures.cpp:241
Methoderror_message
include/ai/types/generate_options.h:131
← previousnext →201–300 of 454, ranked by callers