|
ForestHub SDK 0.1.0
C++14 LLM SDK for PC and embedded platforms
|
A string that acts as both top-level Input and InputItem. More...
#include <input.hpp>
Public Member Functions | |
| InputString (std::string text) | |
| Construct from a text string. | |
| std::string | ToString () const override |
| Returns the stored text directly. | |
| InputItemType | GetItemType () const override |
| Identifies this item as a plain text string. | |
| InputType | GetInputType () const override |
| Identifies this input as a string. | |
| void | ToJson (json &j) const override |
| Serialize as JSON object with "value" key. | |
Public Attributes | |
| std::string | text |
| The raw text content. | |