summaryrefslogtreecommitdiff
path: root/chat.proto
diff options
context:
space:
mode:
Diffstat (limited to 'chat.proto')
-rw-r--r--chat.proto25
1 files changed, 25 insertions, 0 deletions
diff --git a/chat.proto b/chat.proto
new file mode 100644
index 0000000..addf823
--- /dev/null
+++ b/chat.proto
@@ -0,0 +1,25 @@
+syntax = "proto3";
+
+package chatpb;
+
+message Row {
+ repeated string fields = 1;
+}
+
+message Table {
+ int32 columns = 1;
+ repeated Row rows = 2;
+}
+
+message Chat {
+ bool gemini = 1;
+ bool user = 2;
+ string content = 3;
+ Table table = 4;
+}
+
+message Chats { // `autogenpb:marshal` `autogenpb:mutex`
+ string uuid = 1; // `autogenpb:uuid:9fd31f10-c25d-4d66-bc8d-5f6eb7c79057`
+ string version = 2; // `autogenpb:version:v0.0.1`
+ repeated Chat Chats = 3; // THIS MUST BE Chat and then Chats
+}