forgeant docs-test-0
Build LLM-powered agents in C++
Loading...
Searching...
No Matches
content.hpp File Reference
#include <forgeant/json/json.hpp>
#include <string>
#include <variant>
Include dependency graph for content.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  forgeant::TextBlock
 
struct  forgeant::ToolUseBlock
 
struct  forgeant::ToolResultBlock
 

Namespaces

namespace  forgeant
 

Typedefs

using forgeant::ContentBlock = std::variant< TextBlock, ToolUseBlock, ToolResultBlock >
 

Functions

void forgeant::to_json (Json &j, const TextBlock &block)
 
void forgeant::from_json (const Json &j, TextBlock &block)
 
void forgeant::to_json (Json &j, const ToolUseBlock &block)
 
void forgeant::from_json (const Json &j, ToolUseBlock &block)
 
void forgeant::to_json (Json &j, const ToolResultBlock &block)
 
void forgeant::from_json (const Json &j, ToolResultBlock &block)
 
void forgeant::to_json (Json &j, const ContentBlock &block)
 
void forgeant::from_json (const Json &j, ContentBlock &block)