chore: replace all cn comments to en version by volc api (#313)
This commit is contained in:
@@ -40,7 +40,7 @@ struct SetKvMemoryReq {
|
||||
2: optional i64 user_id
|
||||
3: required list<KVItem> data
|
||||
4: optional i64 connector_id
|
||||
5: optional table.RefInfo ref_info // 引用信息
|
||||
5: optional table.RefInfo ref_info // citation information
|
||||
6: optional string project_id
|
||||
7: optional i64 ProjectVersion
|
||||
|
||||
@@ -79,7 +79,7 @@ struct DelProfileMemoryRequest {
|
||||
2: i64 bot_id(agw.js_conv="str", api.js_conv="true", api.body="bot_id")
|
||||
3: list<string> keywords
|
||||
4: optional i64 connector_id
|
||||
5: optional table.RefInfo ref_info // 引用信息
|
||||
5: optional table.RefInfo ref_info // citation information
|
||||
6: string project_id
|
||||
|
||||
255: optional base.Base Base
|
||||
@@ -91,7 +91,7 @@ struct GetProfileMemoryRequest {
|
||||
3: list<string> keywords
|
||||
4: optional i64 connector_id
|
||||
5: optional string version
|
||||
6: optional table.RefInfo ref_info // 引用信息
|
||||
6: optional table.RefInfo ref_info // citation information
|
||||
7: optional string ext
|
||||
8: optional string project_id
|
||||
9: optional i64 ProjectVersion
|
||||
|
||||
@@ -10,7 +10,7 @@ enum VariableChannel{
|
||||
System = 2
|
||||
Location = 3
|
||||
Feishu = 4
|
||||
APP = 5 // 项目变量
|
||||
APP = 5 // project variable
|
||||
}
|
||||
|
||||
struct Variable{
|
||||
@@ -20,8 +20,8 @@ struct Variable{
|
||||
4: VariableChannel Channel
|
||||
5: string Description
|
||||
6: bool Enable
|
||||
7: optional list<string> EffectiveChannelList //生效渠道
|
||||
8: string Schema //新老数据都会有schema,除项目变量外其他默认为string
|
||||
7: optional list<string> EffectiveChannelList //effective channel
|
||||
8: string Schema //New and old data will have schemas, except for project variables, the default is string.
|
||||
9: bool IsReadOnly
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ struct GetMemoryVariableMetaReq {
|
||||
255: optional base.Base Base
|
||||
}
|
||||
|
||||
//应该是给workflow用的rpc接口,不需要鉴权,VariableChannel
|
||||
//It should be the rpc interface for workflow, no authentication is required, VariableChannel
|
||||
struct GetMemoryVariableMetaResp {
|
||||
1: map<VariableChannel, list<Variable>> VariableMap
|
||||
|
||||
|
||||
Reference in New Issue
Block a user