26 lines
737 B
Protocol Buffer
26 lines
737 B
Protocol Buffer
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
|
|
}
|