|
ForestHub SDK 0.1.0
C++14 LLM SDK for PC and embedded platforms
|
Abstract interface for LLM chat operations. More...
#include <provider.hpp>
Public Member Functions | |
| virtual std::shared_ptr< ChatResponse > | Chat (const ChatRequest &req)=0 |
| Perform a chat completion request. | |
Abstract interface for LLM chat operations.
|
pure virtual |
Perform a chat completion request.
| req | Chat request containing model, input, and generation options. |
Implemented in foresthub::Client, foresthub::provider::remote::AnthropicProvider, foresthub::provider::remote::ForestHubProvider, foresthub::provider::remote::GeminiProvider, and foresthub::provider::remote::OpenAIProvider.