feat: vertexai init

This commit is contained in:
Zheng Kai
2023-08-31 18:32:59 +08:00
parent 6f4413ccc2
commit e620651059
5 changed files with 338 additions and 2 deletions

17
proto/vertexai.proto Normal file
View File

@@ -0,0 +1,17 @@
syntax = "proto3";
option go_package = "/pb";
package pb;
message VaChatReq {
string system = 1;
repeated string user = 2;
bool noCache = 3;
VaParam param = 4;
}
message VaParam {
float temperature = 1;
uint32 maxOutputTokens = 2;
float topP = 3;
uint32 topK = 4;
}