You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
1.1 KiB

syntax = "proto3";
option go_package = ".;pb";
message DBVoitransAgent {
string agent_id = 1; //@go_tags(`json:"agent_id"`) 智能体id
string name = 2; //@go_tags(`json:"name"`) 智能体名称
string type = 3; //@go_tags(`json:"type"`) 智能体类型
string description = 4; //@go_tags(`json:"description"`) 智能体描述
string avatar_url = 5; //@go_tags(`json:"avatar_url"`) 智能体头像url
repeated string supported_languages = 6;//@go_tags(`json:"supported_languages"`) 支持的语言列表
repeated AgentVariable variables = 7; //@go_tags(`json:"variables"`) 智能体变量列表
}
message AgentVariable {
string name = 1; //@go_tags(`json:"name"`) 变量名
string type = 2; //@go_tags(`json:"type"`) 变量类型
bool required = 3; //@go_tags(`json:"required"`) 是否必填
string default_value = 4; //@go_tags(`json:"default"`) 默认值
string description = 5; //@go_tags(`json:"description"`) 变量描述
}