3#include <tt/io/Message.h>
34 std::string
toString()
const override;
36 std::string
type()
const override {
41 void from_json(
const nlohmann::json& j, Choice& msg);
42 void to_json(nlohmann::json& j,
const Choice& msg);
int index
The index of a turn from the most recent status update sent to the agent, starting at 0.
Definition Choice.h:22
std::string type() const override
Type used for JSON deserialization.
Definition Choice.h:36
Choice(int index)
Constructs a choice message for a given choice index.
Definition Choice.cpp:6
std::string toString() const override
Returns a string representation of this object.
Definition Choice.cpp:11
Message()
Constructs a message.
Definition Message.h:32
Tandem Tales is a platform that enables short, paired storytelling exercises between two agents over ...
Definition Client.h:22