17 lines
278 B
Protocol Buffer
17 lines
278 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
service LLMQuery {
|
|
rpc AddDocument (AddDocumentRequest) returns (AddDocumentReply) {}
|
|
}
|
|
|
|
|
|
message AddDocumentRequest {
|
|
string text = 1;
|
|
uint64 user_id = 2;
|
|
string database = 3;
|
|
string collection = 4;
|
|
}
|
|
|
|
message AddDocumentReply {
|
|
string id = 1;
|
|
} |