|
ForestHub SDK 0.1.0
C++14 LLM SDK for PC and embedded platforms
|
| Nforesthub | Top-level namespace for the ForestHub SDK |
| Nagent | Agent framework: multi-turn execution with tool calling and handoffs |
| CAgent | LLM agent with instructions, tools, and optional response format |
| CHandoff | Tool that transfers control from one agent to another |
| CRunner | Manages the agent execution loop: LLM calls, tool dispatch, and handoffs |
| CRunResult | Final outcome of an agent execution workflow |
| CRunResultOrError | Result wrapper that holds either a RunResult or an error message |
| Nconfig | Client and provider configuration types |
| CClientConfig | Top-level client configuration controlling which providers are created |
| CLocalConfig | Configuration for a local LLM execution engine |
| CProviderConfig | Shared configuration for any remote LLM provider |
| CRemoteProviders | Container for all remote provider configurations |
| Ncore | Core abstractions: requests, responses, tools, input types, and provider interface |
| CChatRequest | Chat completion request sent to an LLM provider |
| CChatResponse | Chat completion response from an LLM provider |
| CExternalTool | Tool with description and parameter schema, handled outside the LLM provider |
| CExternalToolBase | Base implementation of ExternalTool with name, description, and parameters |
| CFunctionTool | ExternalTool with a C++ callback for execution |
| CHttpClient | Abstract interface for HTTP operations |
| CHttpResponse | Simple HTTP response container |
| CInput | Abstract base for all input types |
| CInputItem | Abstract base for items inside an InputItems list |
| CInputItems | An ordered list of InputItem elements |
| CInputString | A string that acts as both top-level Input and InputItem |
| CInternalToolCall | Represents a tool call initiated internally by the model |
| CLLMClient | Abstract interface for LLM chat operations |
| CModelInfo | Metadata about an LLM model |
| COptions | Model-specific generation options |
| CProvider | Extended LLM interface with health checks and model discovery |
| CResponseFormat | Structured output format with JSON schema constraints |
| CTool | Base interface for all tools |
| CToolCallRequest | Request from the model to call a tool |
| CToolResult | Output of an executed tool |
| CWebSearch | Built-in web search tool |
| CWebSearchToolCall | Log entry for a web search invocation |
| Nplatform | Hardware abstraction layer: network, console, time, crypto, and GPIO interfaces |
| CConsoleInterface | Abstract interface for console I/O |
| CCryptoInterface | Abstract interface for TLS/crypto operations |
| CGpioInterface | Abstract interface for general-purpose pin I/O |
| CHttpClientConfig | Call-time configuration for HTTP client creation |
| CNetworkConfig | Construction-time configuration for the network subsystem |
| CNetworkInterface | Abstract interface for network connectivity |
| CPlatformConfig | Construction-time configuration passed to CreatePlatform() |
| CPlatformContext | Holds all platform subsystems and provides a factory for HTTP clients |
| CPwmConfig | Configuration for a PWM output channel |
| CTimeConfig | Call-time configuration for time synchronization |
| CTimeInterface | Abstract interface for time operations |
| CTLSClientWrapper | Wrapper around a platform-specific TLS client |
| Nprovider | LLM provider implementations |
| Nremote | Remote provider implementations (ForestHub, OpenAI, Gemini, Anthropic) |
| CAnthropicProvider | Direct Anthropic Claude provider using the native Messages API (POST /v1/messages) |
| CForestHubProvider | Provider implementation that communicates with the ForestHub backend via HTTP |
| CGeminiProvider | Direct Google Gemini provider using the native generateContent API (v1beta) |
| COpenAIProvider | Direct OpenAI provider using the Responses API (POST /v1/responses) |
| Nrag | Retrieval-augmented generation: retriever interface and query types |
| Nremote | HTTP-based RAG retriever implementation |
| CRemoteRetriever | Retriever implementation that queries the ForestHub backend via HTTP |
| CQueryRequest | Request parameters for a RAG similarity query |
| CQueryResponse | Response from a RAG query containing matching document chunks |
| CQueryResult | A single document chunk returned from a RAG query |
| CRetriever | Abstract interface for document retrieval |
| Nutil | Utility types: Optional polyfill, JSON Schema normalization, Ticker |
| CTicker | Unified timing class for periodic, one-shot, and calendar-aligned scheduling |
| CClient | Main entry point for interacting with multiple LLM providers |
| COptional | Minimal Optional<T> polyfill for C++14 compatibility |