forgeant docs-test-0
Build LLM-powered agents in C++
Loading...
Searching...
No Matches
role.hpp
Go to the documentation of this file.
1#ifndef FORGEANT_TYPES_ROLE_HPP
2#define FORGEANT_TYPES_ROLE_HPP
3
4#include <cstdint>
6
7namespace forgeant {
8
9enum class Role : std::uint8_t { system, user, assistant, tool };
10
11void to_json(Json& j, Role role);
12void from_json(const Json& j, Role& role);
13
14} // namespace forgeant
15
16#endif // FORGEANT_TYPES_ROLE_HPP
Definition json.hpp:27
Definition agent.hpp:25
void to_json(Json &j, const TextBlock &block)
void from_json(const Json &j, TextBlock &block)
Role
Definition role.hpp:9