langchain-chat-with-milvus/rpc/ai.proto
2023-11-14 18:52:55 +08:00

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;
}