|
ForestHub SDK 0.1.0
C++14 LLM SDK for PC and embedded platforms
|
Extended LLM interface with health checks and model discovery. More...
#include <provider.hpp>
Public Member Functions | |
| virtual ProviderID | ProviderId () const =0 |
| Returns the unique identifier of this provider. | |
| virtual std::string | Health () const =0 |
| Verify the LLM service is available. | |
| virtual bool | SupportsModel (const ModelID &model) const =0 |
| Check if this provider supports the given model. | |
| Public Member Functions inherited from foresthub::core::LLMClient | |
| virtual std::shared_ptr< ChatResponse > | Chat (const ChatRequest &req)=0 |
| Perform a chat completion request. | |
Extended LLM interface with health checks and model discovery.
|
pure virtual |
Verify the LLM service is available.
Implemented in foresthub::provider::remote::AnthropicProvider, foresthub::provider::remote::ForestHubProvider, foresthub::provider::remote::GeminiProvider, and foresthub::provider::remote::OpenAIProvider.
|
pure virtual |
Check if this provider supports the given model.
| model | Model identifier to check. |
Implemented in foresthub::provider::remote::AnthropicProvider, foresthub::provider::remote::ForestHubProvider, foresthub::provider::remote::GeminiProvider, and foresthub::provider::remote::OpenAIProvider.