ForestHub SDK 0.1.0
C++14 LLM SDK for PC and embedded platforms
Loading...
Searching...
No Matches
foresthub::core::ChatResponse Struct Reference

Chat completion response from an LLM provider. More...

#include <types.hpp>

Public Attributes

std::string text
 Generated text output.
std::vector< std::shared_ptr< InternalToolCall > > tools_called
 Log of internal tools invoked by the model.
std::vector< ToolCallRequesttool_call_requests
 Pending function calls requested by the model.
std::string response_id
 Provider-assigned response identifier.
int tokens_used = 0
 Total tokens consumed.

Detailed Description

Chat completion response from an LLM provider.


The documentation for this struct was generated from the following file: