3#include <tt/io/Message.h>
41 std::string
toString()
const override;
43 std::string
type()
const override {
48 void from_json(
const nlohmann::json& j, Report& msg);
49 void to_json(nlohmann::json& j,
const Report& msg);
Message()
Constructs a message.
Definition Message.h:32
std::string comment
A comment provided by the agent explaining their answer, or empty if the question does not allow comm...
Definition Report.h:28
std::string item
The name or ID of the survey question.
Definition Report.h:19
Report(const std::string &item, const std::string &value, const std::string &comment)
Constructs a new report message.
Definition Report.cpp:5
std::string type() const override
Type used for JSON deserialization.
Definition Report.h:43
std::string toString() const override
Returns a string representation of this object.
Definition Report.cpp:10
std::string value
The answer the agent gives to the survey question.
Definition Report.h:22
Tandem Tales is a platform that enables short, paired storytelling exercises between two agents over ...
Definition Client.h:22