MCPcopy Create free account
hub / github.com/ClickHouse/ai-sdk-cpp / createSampleConversation

Method createSampleConversation

tests/utils/test_fixtures.cpp:79–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79Messages OpenAITestFixture::createSampleConversation() {
80 return {createSystemMessage("You are a helpful assistant."),
81 createUserMessage("Hello!"),
82 createAssistantMessage("Hi there! How can I help you?"),
83 createUserMessage("What's the weather like?")};
84}
85
86Message OpenAITestFixture::createUserMessage(const std::string& content) {
87 return Message::user(content);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected