tencentcloud-sdk-nodejs 4.1.242 → 4.1.244
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/common/sdk_version.js +1 -1
- package/es/services/adp/index.js +4 -0
- package/es/services/adp/v20260520/adp_client.js +126 -0
- package/es/services/adp/v20260520/adp_models.js +1 -0
- package/es/services/adp/v20260520/index.js +6 -0
- package/es/services/bi/v20220105/bi_client.js +6 -0
- package/es/services/cfw/v20190904/cfw_client.js +26 -5
- package/es/services/ckafka/v20190819/ckafka_client.js +9 -0
- package/es/services/ess/v20201111/ess_client.js +6 -0
- package/es/services/index.js +1 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/adp/index.d.ts +6 -0
- package/tencentcloud/services/adp/index.js +7 -0
- package/tencentcloud/services/adp/v20260520/adp_client.d.ts +170 -0
- package/tencentcloud/services/adp/v20260520/adp_client.js +271 -0
- package/tencentcloud/services/adp/v20260520/adp_models.d.ts +4219 -0
- package/tencentcloud/services/adp/v20260520/adp_models.js +18 -0
- package/tencentcloud/services/adp/v20260520/index.d.ts +6 -0
- package/tencentcloud/services/adp/v20260520/index.js +10 -0
- package/tencentcloud/services/bi/v20220105/bi_client.d.ts +9 -1
- package/tencentcloud/services/bi/v20220105/bi_client.js +12 -0
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +824 -59
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +35 -7
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +51 -9
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +501 -121
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +13 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +18 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +272 -118
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +31 -15
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +42 -41
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +52 -80
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +24 -22
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +21 -2
- package/tencentcloud/services/ess/v20201111/ess_client.js +24 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +216 -49
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
- package/tencentcloud/services/iai/v20180301/iai_models.d.ts +1 -1
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +8 -6
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +10 -107
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +80 -1
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +14 -14
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +79 -117
- package/tencentcloud/services/tag/v20180813/tag_client.d.ts +11 -6
- package/tencentcloud/services/tag/v20180813/tag_client.js +11 -6
- package/tencentcloud/services/tag/v20180813/tag_models.d.ts +65 -73
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +7 -6
- package/tencentcloud/services/tokenhub/v20260322/tokenhub_client.d.ts +1 -1
- package/tencentcloud/services/tokenhub/v20260322/tokenhub_models.d.ts +123 -1
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_client.js +1 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +59 -5
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +6 -22
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +9 -5
|
@@ -0,0 +1,4219 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MCPToolConfig
|
|
3
|
+
*/
|
|
4
|
+
export interface MCPToolConfig {
|
|
5
|
+
/**
|
|
6
|
+
* 输入参数
|
|
7
|
+
*/
|
|
8
|
+
Inputs?: Array<RequestParam>;
|
|
9
|
+
/**
|
|
10
|
+
* 输出参数
|
|
11
|
+
*/
|
|
12
|
+
Outputs?: Array<ResponseParam>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Content 消息内容信息
|
|
16
|
+
*/
|
|
17
|
+
export interface ConversationContent {
|
|
18
|
+
/**
|
|
19
|
+
* <p>文本内容</p>
|
|
20
|
+
*/
|
|
21
|
+
Text: string;
|
|
22
|
+
/**
|
|
23
|
+
* <p>内容类型, text:文本,image:图片,file:文件,custom_variables:自定义输入参数信息,widget_action:widget动作信息</p>
|
|
24
|
+
*/
|
|
25
|
+
Type: string;
|
|
26
|
+
/**
|
|
27
|
+
* <p>自定义参数数据</p>
|
|
28
|
+
*/
|
|
29
|
+
CustomParamList?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* <p>自定义参数数据</p>
|
|
32
|
+
*/
|
|
33
|
+
CustomParams?: Array<string>;
|
|
34
|
+
/**
|
|
35
|
+
* <p>自定义变量数据</p>
|
|
36
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37
|
+
*/
|
|
38
|
+
CustomVariablesData?: string;
|
|
39
|
+
/**
|
|
40
|
+
* <p>企业表单</p>
|
|
41
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42
|
+
*/
|
|
43
|
+
EnterpriseCharts?: string;
|
|
44
|
+
/**
|
|
45
|
+
* <p>选项卡列表</p>
|
|
46
|
+
*/
|
|
47
|
+
OptionCardList?: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
* <p>选项卡列表</p>
|
|
50
|
+
*/
|
|
51
|
+
OptionCards?: Array<string>;
|
|
52
|
+
/**
|
|
53
|
+
* <p>选项卡模式 枚举值: 0-OPTION_MODE_SINGLE(单选), 1-OPTION_MODE_MULTI(多选)</p>
|
|
54
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
55
|
+
*/
|
|
56
|
+
OptionMode?: number;
|
|
57
|
+
/**
|
|
58
|
+
* <p>引用角标信息列表</p>
|
|
59
|
+
*/
|
|
60
|
+
QuoteInfoList?: Array<ConversationQuoteInfo>;
|
|
61
|
+
/**
|
|
62
|
+
* <p>引用角标信息列表</p>
|
|
63
|
+
*/
|
|
64
|
+
QuoteInfos?: Array<ConversationQuoteInfo>;
|
|
65
|
+
/**
|
|
66
|
+
* <p>参考来源列表</p>
|
|
67
|
+
*/
|
|
68
|
+
ReferenceList?: Array<ConversationReference>;
|
|
69
|
+
/**
|
|
70
|
+
* <p>参考来源列表</p>
|
|
71
|
+
*/
|
|
72
|
+
References?: Array<ConversationReference>;
|
|
73
|
+
/**
|
|
74
|
+
* <p>关联记录 ID</p>
|
|
75
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
76
|
+
*/
|
|
77
|
+
RelatedRecordId?: string;
|
|
78
|
+
/**
|
|
79
|
+
* <p>智能体任务列表</p>
|
|
80
|
+
*/
|
|
81
|
+
TaskList?: Array<ConversationAgentTask>;
|
|
82
|
+
/**
|
|
83
|
+
* <p>智能体任务列表</p>
|
|
84
|
+
*/
|
|
85
|
+
Tasks?: Array<ConversationAgentTask>;
|
|
86
|
+
/**
|
|
87
|
+
* <p>工作流输入参数</p>
|
|
88
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
89
|
+
*/
|
|
90
|
+
WorkflowInput?: string;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* 模型超参
|
|
94
|
+
*/
|
|
95
|
+
export interface ModelParameter {
|
|
96
|
+
/**
|
|
97
|
+
* 默认值
|
|
98
|
+
*/
|
|
99
|
+
DefaultValue?: string;
|
|
100
|
+
/**
|
|
101
|
+
* 枚举值列表(仅枚举类型有效)
|
|
102
|
+
*/
|
|
103
|
+
EnumValueList?: Array<string>;
|
|
104
|
+
/**
|
|
105
|
+
* 最大值(仅数值类型有效)
|
|
106
|
+
*/
|
|
107
|
+
MaxValue?: number;
|
|
108
|
+
/**
|
|
109
|
+
* 最小值(仅数值类型有效)
|
|
110
|
+
*/
|
|
111
|
+
MinValue?: number;
|
|
112
|
+
/**
|
|
113
|
+
* 超参名称
|
|
114
|
+
*/
|
|
115
|
+
Name?: string;
|
|
116
|
+
/**
|
|
117
|
+
* 超参类型。1-浮点数, 2-整数, 3-字符串, 4-枚举
|
|
118
|
+
*/
|
|
119
|
+
Type?: number;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* 定义工具的请求参数
|
|
123
|
+
*/
|
|
124
|
+
export interface RequestParam {
|
|
125
|
+
/**
|
|
126
|
+
* 默认值
|
|
127
|
+
*/
|
|
128
|
+
DefaultValue: string;
|
|
129
|
+
/**
|
|
130
|
+
* 参数描述
|
|
131
|
+
*/
|
|
132
|
+
Description: string;
|
|
133
|
+
/**
|
|
134
|
+
* 全局隐藏不可见(区别于Agent场景的agent_hidden),true-全局隐藏不可见,false-可见
|
|
135
|
+
*/
|
|
136
|
+
IsGlobalHidden: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* 是否必选
|
|
139
|
+
*/
|
|
140
|
+
IsRequired: boolean;
|
|
141
|
+
/**
|
|
142
|
+
* 参数名称
|
|
143
|
+
*/
|
|
144
|
+
Name: string;
|
|
145
|
+
/**
|
|
146
|
+
* 参数类型
|
|
147
|
+
|
|
148
|
+
枚举值:
|
|
149
|
+
| uint | 描述 |
|
|
150
|
+
| --- | --- |
|
|
151
|
+
| 0 | 默认值是string,如果不填就按string处理 |
|
|
152
|
+
| 1 | |
|
|
153
|
+
| 2 | |
|
|
154
|
+
| 3 | |
|
|
155
|
+
| 4 | |
|
|
156
|
+
| 5 | |
|
|
157
|
+
| 6 | |
|
|
158
|
+
| 7 | |
|
|
159
|
+
| 8 | |
|
|
160
|
+
| 9 | |
|
|
161
|
+
| 20 | |
|
|
162
|
+
| 99 | 空值 |
|
|
163
|
+
| 100 | 未指定类型,用于类型为OneOf和AnyOf的场景 |
|
|
164
|
+
*/
|
|
165
|
+
Type: number;
|
|
166
|
+
/**
|
|
167
|
+
* AnyOf类型的参数
|
|
168
|
+
*/
|
|
169
|
+
AnyOf?: Array<RequestParam>;
|
|
170
|
+
/**
|
|
171
|
+
* OneOf类型的参数
|
|
172
|
+
*/
|
|
173
|
+
OneOf?: Array<RequestParam>;
|
|
174
|
+
/**
|
|
175
|
+
* 子参数,ParamType 是OBJECT 或 ARRAY<>类型有用
|
|
176
|
+
*/
|
|
177
|
+
SubParams?: Array<RequestParam>;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Agent发布项目详情
|
|
181
|
+
*/
|
|
182
|
+
export interface AgentRelease {
|
|
183
|
+
/**
|
|
184
|
+
* <p>名称</p>
|
|
185
|
+
*/
|
|
186
|
+
ItemName?: string;
|
|
187
|
+
/**
|
|
188
|
+
* <p>更新时间, unix 秒时间戳 (s)</p>
|
|
189
|
+
*/
|
|
190
|
+
UpdateTime?: string;
|
|
191
|
+
/**
|
|
192
|
+
* <p>动作描述</p>
|
|
193
|
+
*/
|
|
194
|
+
ActionDescription?: string;
|
|
195
|
+
/**
|
|
196
|
+
* <p>变更为 测试</p>
|
|
197
|
+
*/
|
|
198
|
+
ReleaseMessage?: string;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Agent 工具输入参数定义
|
|
202
|
+
*/
|
|
203
|
+
export interface AgentToolInputParameter {
|
|
204
|
+
/**
|
|
205
|
+
* <p>工具名称</p>
|
|
206
|
+
*/
|
|
207
|
+
Name?: string;
|
|
208
|
+
/**
|
|
209
|
+
* <p>工具描述</p>
|
|
210
|
+
*/
|
|
211
|
+
Description?: string;
|
|
212
|
+
/**
|
|
213
|
+
* <p>工具参数类型</p><p>枚举值:</p><ul><li>0: STRING</li><li>1: INT</li><li>2: FLOAT</li><li>3: BOOL</li><li>4: OBJECT</li><li>5: ARRAY_STRING</li><li>6: ARRAY_INT</li><li>7: ARRAY_FLOAT</li><li>8: ARRAY_BOOL</li><li>9: ARRAY_OBJECT</li><li>20: ARRAY_ARRAY</li><li>99: NULL</li></ul>
|
|
214
|
+
*/
|
|
215
|
+
Type?: number;
|
|
216
|
+
/**
|
|
217
|
+
* <p>是否必填</p>
|
|
218
|
+
*/
|
|
219
|
+
IsRequired?: boolean;
|
|
220
|
+
/**
|
|
221
|
+
* <p>子参数,仅 OBJECT 或 ARRAY<> 类型时使用</p>
|
|
222
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
223
|
+
*/
|
|
224
|
+
SubParameterList?: Array<AgentToolInputParameter>;
|
|
225
|
+
/**
|
|
226
|
+
* <p>模式下是否对模型隐藏</p>
|
|
227
|
+
*/
|
|
228
|
+
IsHidden?: boolean;
|
|
229
|
+
/**
|
|
230
|
+
* <p>OneOf类型的参数</p>
|
|
231
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
232
|
+
*/
|
|
233
|
+
OneOfList?: Array<AgentToolInputParameter>;
|
|
234
|
+
/**
|
|
235
|
+
* <p>AnyOf类型的参数</p>
|
|
236
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
237
|
+
*/
|
|
238
|
+
AnyOfList?: Array<AgentToolInputParameter>;
|
|
239
|
+
/**
|
|
240
|
+
* <p>参数取值来源</p>
|
|
241
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
242
|
+
*/
|
|
243
|
+
Input?: AgentInput;
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* DescribeVariableList返回参数结构体
|
|
247
|
+
*/
|
|
248
|
+
export interface DescribeVariableListResponse {
|
|
249
|
+
/**
|
|
250
|
+
* total_count
|
|
251
|
+
*/
|
|
252
|
+
TotalCount?: number;
|
|
253
|
+
/**
|
|
254
|
+
* variable_list
|
|
255
|
+
*/
|
|
256
|
+
VariableList?: Array<Variable>;
|
|
257
|
+
/**
|
|
258
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
259
|
+
*/
|
|
260
|
+
RequestId?: string;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* SkillClassification Skill 分类与来源信息。
|
|
264
|
+
*/
|
|
265
|
+
export interface SkillClassification {
|
|
266
|
+
/**
|
|
267
|
+
* Skill 计费类型
|
|
268
|
+
|
|
269
|
+
枚举值:
|
|
270
|
+
| uint | 描述 |
|
|
271
|
+
| --- | --- |
|
|
272
|
+
| 0 | 免费 |
|
|
273
|
+
| 1 | 付费 |
|
|
274
|
+
*/
|
|
275
|
+
BillingType: number;
|
|
276
|
+
/**
|
|
277
|
+
* Skill 内置来源,仅在 create_type 为 SKILL_CREATE_TYPE_BUILTIN 时生效
|
|
278
|
+
|
|
279
|
+
枚举值:
|
|
280
|
+
| uint | 描述 |
|
|
281
|
+
| --- | --- |
|
|
282
|
+
| 0 | 占位 |
|
|
283
|
+
| 1 | ADP 专有 |
|
|
284
|
+
| 2 | 腾讯专有 |
|
|
285
|
+
| 3 | SkillHub |
|
|
286
|
+
| 99 | 其他 |
|
|
287
|
+
*/
|
|
288
|
+
BuiltinSource: number;
|
|
289
|
+
/**
|
|
290
|
+
* Skill 分类
|
|
291
|
+
*/
|
|
292
|
+
CategoryKey: string;
|
|
293
|
+
/**
|
|
294
|
+
* Skill 创建方式
|
|
295
|
+
|
|
296
|
+
枚举值:
|
|
297
|
+
| uint | 描述 |
|
|
298
|
+
| --- | --- |
|
|
299
|
+
| 0 | 占位 |
|
|
300
|
+
| 1 | 文件上传 |
|
|
301
|
+
| 2 | 由企业级共享流程生成 |
|
|
302
|
+
| 3 | AIGC 生成 |
|
|
303
|
+
| 99 | 内置 Skill |
|
|
304
|
+
*/
|
|
305
|
+
CreateType: number;
|
|
306
|
+
/**
|
|
307
|
+
* Skill 提供方类型
|
|
308
|
+
|
|
309
|
+
枚举值:
|
|
310
|
+
| uint | 描述 |
|
|
311
|
+
| --- | --- |
|
|
312
|
+
| 0 | 占位 |
|
|
313
|
+
| 1 | 官方 |
|
|
314
|
+
| 2 | 第三方 |
|
|
315
|
+
| 3 | 自定义 |
|
|
316
|
+
| 4 | 自定义企业级共享 |
|
|
317
|
+
*/
|
|
318
|
+
ProviderType: number;
|
|
319
|
+
/**
|
|
320
|
+
* Skill 来源链接
|
|
321
|
+
*/
|
|
322
|
+
SourceLink: string;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* ModifySpace请求参数结构体
|
|
326
|
+
*/
|
|
327
|
+
export interface ModifySpaceRequest {
|
|
328
|
+
/**
|
|
329
|
+
* 工作空间名称,长度最大30个字符
|
|
330
|
+
*/
|
|
331
|
+
Name?: string;
|
|
332
|
+
/**
|
|
333
|
+
* 空间描述,长度最大150个字符
|
|
334
|
+
*/
|
|
335
|
+
Description?: string;
|
|
336
|
+
/**
|
|
337
|
+
* 空间id
|
|
338
|
+
*/
|
|
339
|
+
SpaceId?: string;
|
|
340
|
+
/**
|
|
341
|
+
* 指定需要更新的字段,支持name和description
|
|
342
|
+
*/
|
|
343
|
+
FieldMask?: FieldMask;
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* DescribeReleaseList请求参数结构体
|
|
347
|
+
*/
|
|
348
|
+
export interface DescribeReleaseListRequest {
|
|
349
|
+
/**
|
|
350
|
+
* 应用ID
|
|
351
|
+
*/
|
|
352
|
+
AppId: string;
|
|
353
|
+
/**
|
|
354
|
+
* 页码(从0开始)
|
|
355
|
+
*/
|
|
356
|
+
PageNumber?: number;
|
|
357
|
+
/**
|
|
358
|
+
* 每页数量(最大值:100)
|
|
359
|
+
*/
|
|
360
|
+
PageSize?: number;
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* 生成模型配置
|
|
364
|
+
*/
|
|
365
|
+
export interface GenerateModel {
|
|
366
|
+
/**
|
|
367
|
+
* 生成模型
|
|
368
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
369
|
+
*/
|
|
370
|
+
Model: ModelDetailInfo;
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* Agent高级设置
|
|
374
|
+
*/
|
|
375
|
+
export interface AgentAdvancedConfig {
|
|
376
|
+
/**
|
|
377
|
+
* <p>最大推理轮数</p>
|
|
378
|
+
*/
|
|
379
|
+
MaxReasoningRound?: number;
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* 应用分享白名单项
|
|
383
|
+
*/
|
|
384
|
+
export interface AppShareWhitelistItem {
|
|
385
|
+
/**
|
|
386
|
+
* 白名单类型。枚举值: 1:UIN账号, 2:手机号码, 3:邮箱地址, 4:IP地址
|
|
387
|
+
*/
|
|
388
|
+
Type: number;
|
|
389
|
+
/**
|
|
390
|
+
* 白名单值列表(UIN/手机号/邮箱/IP等)
|
|
391
|
+
*/
|
|
392
|
+
Values?: Array<string>;
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* 发布摘要信息
|
|
396
|
+
*/
|
|
397
|
+
export interface ReleaseSummary {
|
|
398
|
+
/**
|
|
399
|
+
* 创建时间 (Unix时间戳,秒级)
|
|
400
|
+
*/
|
|
401
|
+
CreateTime: string;
|
|
402
|
+
/**
|
|
403
|
+
* 发布描述
|
|
404
|
+
*/
|
|
405
|
+
Description: string;
|
|
406
|
+
/**
|
|
407
|
+
* 发布ID
|
|
408
|
+
*/
|
|
409
|
+
ReleaseId: string;
|
|
410
|
+
/**
|
|
411
|
+
* 发布状态。枚举值: 1:待发布, 2:发布中, 3:发布成功, 4:发布失败, 5:审核中, 6:审核成功, 7:审核失败, 8:发布成功回调处理中, 9:发布暂停, 10:申诉审核中, 11:申诉审核通过, 12:申诉审核不通过
|
|
412
|
+
*/
|
|
413
|
+
Status: number;
|
|
414
|
+
/**
|
|
415
|
+
* 状态描述
|
|
416
|
+
*/
|
|
417
|
+
StatusDescription: string;
|
|
418
|
+
/**
|
|
419
|
+
* 发布渠道ID列表
|
|
420
|
+
*/
|
|
421
|
+
ChannelIdList?: Array<string>;
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* CreateWebSocketToken请求参数结构体
|
|
425
|
+
*/
|
|
426
|
+
export interface CreateWebSocketTokenRequest {
|
|
427
|
+
/**
|
|
428
|
+
* <p>会话类型 枚举值: 0-CONVERSATION_TYPE_UNSPECIFIED(未指定;列表查询时表示全部), 1-CONVERSATION_TYPE_VISITOR(访客端体验), 2-CONVERSATION_TYPE_EVALUATION(评测), 5-CONVERSATION_TYPE_API(API 接入), 10-CONVERSATION_TYPE_WORKFLOW(工作流调试), 20-CONVERSATION_TYPE_SHARE(分享链接)</p>
|
|
429
|
+
*/
|
|
430
|
+
Type: number;
|
|
431
|
+
/**
|
|
432
|
+
* <p>应用 ID</p>
|
|
433
|
+
*/
|
|
434
|
+
AppId?: string;
|
|
435
|
+
/**
|
|
436
|
+
* <p>Type=CONVERSATION_TYPE_API 时必填,应用密钥</p>
|
|
437
|
+
*/
|
|
438
|
+
AppKey?: string;
|
|
439
|
+
/**
|
|
440
|
+
* <p>子用户Uin</p>
|
|
441
|
+
*/
|
|
442
|
+
LoginSubAccountUin?: string;
|
|
443
|
+
/**
|
|
444
|
+
* <p>主用户Uin</p>
|
|
445
|
+
*/
|
|
446
|
+
LoginUin?: string;
|
|
447
|
+
/**
|
|
448
|
+
* <p>Type=CONVERSATION_TYPE_SHARE 时必填,分享码</p>
|
|
449
|
+
*/
|
|
450
|
+
ShareCode?: string;
|
|
451
|
+
/**
|
|
452
|
+
* <p>Type=CONVERSATION_TYPE_API 时必填,访客ID</p>
|
|
453
|
+
*/
|
|
454
|
+
UserId?: string;
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
* 意图达成信息
|
|
458
|
+
*/
|
|
459
|
+
export interface IntentAchievementInfo {
|
|
460
|
+
/**
|
|
461
|
+
* 描述
|
|
462
|
+
*/
|
|
463
|
+
Description: string;
|
|
464
|
+
/**
|
|
465
|
+
* 名称
|
|
466
|
+
*/
|
|
467
|
+
Name: string;
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* RollbackRelease请求参数结构体
|
|
471
|
+
*/
|
|
472
|
+
export interface RollbackReleaseRequest {
|
|
473
|
+
/**
|
|
474
|
+
* app_id
|
|
475
|
+
*/
|
|
476
|
+
AppId: string;
|
|
477
|
+
/**
|
|
478
|
+
* release_id
|
|
479
|
+
*/
|
|
480
|
+
ReleaseId: string;
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* 模型属性
|
|
484
|
+
*/
|
|
485
|
+
export interface ModelProperty {
|
|
486
|
+
/**
|
|
487
|
+
* 属性名称
|
|
488
|
+
*/
|
|
489
|
+
Name?: string;
|
|
490
|
+
/**
|
|
491
|
+
* 属性值
|
|
492
|
+
*/
|
|
493
|
+
Value?: string;
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* DescribeAgentReleasePreviewList请求参数结构体
|
|
497
|
+
*/
|
|
498
|
+
export interface DescribeAgentReleasePreviewListRequest {
|
|
499
|
+
/**
|
|
500
|
+
* <p>应用Id</p>
|
|
501
|
+
*/
|
|
502
|
+
AppId: string;
|
|
503
|
+
/**
|
|
504
|
+
* <p>页码</p>
|
|
505
|
+
*/
|
|
506
|
+
PageNumber: number;
|
|
507
|
+
/**
|
|
508
|
+
* <p>每页数量在1到200之间</p>
|
|
509
|
+
*/
|
|
510
|
+
PageSize: number;
|
|
511
|
+
/**
|
|
512
|
+
* <p>查询关键字, 用于模糊匹配标题</p>
|
|
513
|
+
*/
|
|
514
|
+
Query?: string;
|
|
515
|
+
/**
|
|
516
|
+
* <p>过滤条件</p><p>入参限制:支持 StartTime、EndTime、ActionList、ReleaseStatusList</p>
|
|
517
|
+
*/
|
|
518
|
+
FilterList?: Array<Filter>;
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* DescribeModelList返回参数结构体
|
|
522
|
+
*/
|
|
523
|
+
export interface DescribeModelListResponse {
|
|
524
|
+
/**
|
|
525
|
+
* 模型列表
|
|
526
|
+
*/
|
|
527
|
+
ModelList?: Array<Model>;
|
|
528
|
+
/**
|
|
529
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
530
|
+
*/
|
|
531
|
+
RequestId?: string;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* 模型配置
|
|
535
|
+
*/
|
|
536
|
+
export interface AppModelConfig {
|
|
537
|
+
/**
|
|
538
|
+
* AI一键优化模型
|
|
539
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
540
|
+
*/
|
|
541
|
+
AiOptimizeModel: AIOptimizeModel;
|
|
542
|
+
/**
|
|
543
|
+
* 实时文件解析模型
|
|
544
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
545
|
+
*/
|
|
546
|
+
FileParseModel: FileParseModel;
|
|
547
|
+
/**
|
|
548
|
+
* 生成模型配置
|
|
549
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
550
|
+
*/
|
|
551
|
+
GenerateModel: GenerateModel;
|
|
552
|
+
/**
|
|
553
|
+
* 多模态问答模型
|
|
554
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
555
|
+
*/
|
|
556
|
+
MultiModalQaModel: MultiModalQAModel;
|
|
557
|
+
/**
|
|
558
|
+
* 多模态理解模型
|
|
559
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
560
|
+
*/
|
|
561
|
+
MultiModalUnderstandingModel: MultiModalUnderstandingModel;
|
|
562
|
+
/**
|
|
563
|
+
* Prompt改写模型
|
|
564
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
565
|
+
*/
|
|
566
|
+
PromptRewriteModel: PromptRewriteModel;
|
|
567
|
+
/**
|
|
568
|
+
* 思考模型配置
|
|
569
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
570
|
+
*/
|
|
571
|
+
ThinkModel: ThinkModel;
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
* CreateSpace请求参数结构体
|
|
575
|
+
*/
|
|
576
|
+
export interface CreateSpaceRequest {
|
|
577
|
+
/**
|
|
578
|
+
* 工作空间名称,长度最大30个字符
|
|
579
|
+
*/
|
|
580
|
+
Name?: string;
|
|
581
|
+
/**
|
|
582
|
+
* 空间描述,长度最大150个字符
|
|
583
|
+
*/
|
|
584
|
+
Description?: string;
|
|
585
|
+
}
|
|
586
|
+
/**
|
|
587
|
+
* Agent 配置里面的模型定义
|
|
588
|
+
*/
|
|
589
|
+
export interface AgentModelConfig {
|
|
590
|
+
/**
|
|
591
|
+
* <p>模型唯一id</p>
|
|
592
|
+
*/
|
|
593
|
+
ModelId?: string;
|
|
594
|
+
/**
|
|
595
|
+
* <p>模型别名</p>
|
|
596
|
+
*/
|
|
597
|
+
Alias?: string;
|
|
598
|
+
/**
|
|
599
|
+
* <p>模型上下文长度字符限制</p>
|
|
600
|
+
*/
|
|
601
|
+
ContextWordsLimit?: number;
|
|
602
|
+
/**
|
|
603
|
+
* <p>指令长度字符限制</p>
|
|
604
|
+
*/
|
|
605
|
+
InstructionsWordsLimit?: number;
|
|
606
|
+
/**
|
|
607
|
+
* <p>模型参数</p>
|
|
608
|
+
*/
|
|
609
|
+
ModelParameters?: ModelParams;
|
|
610
|
+
}
|
|
611
|
+
/**
|
|
612
|
+
* 搜索资源状态信息
|
|
613
|
+
*/
|
|
614
|
+
export interface SearchResourceStatusInfo {
|
|
615
|
+
/**
|
|
616
|
+
* 搜索资源状态: AVAILABLE(1)=资源可用, EXHAUSTED(2)=资源已用尽。枚举值: 1:资源可用, 2:资源已用尽
|
|
617
|
+
*/
|
|
618
|
+
ResourceStatus: number;
|
|
619
|
+
}
|
|
620
|
+
/**
|
|
621
|
+
* 插件详情
|
|
622
|
+
*/
|
|
623
|
+
export interface Plugin {
|
|
624
|
+
/**
|
|
625
|
+
* 创建时间,unix时间戳
|
|
626
|
+
*/
|
|
627
|
+
CreateTime?: string;
|
|
628
|
+
/**
|
|
629
|
+
* 插件运营管理信息
|
|
630
|
+
*/
|
|
631
|
+
Operation?: PluginOperation;
|
|
632
|
+
/**
|
|
633
|
+
* 插件id
|
|
634
|
+
*/
|
|
635
|
+
PluginId?: string;
|
|
636
|
+
/**
|
|
637
|
+
* 插件版本号
|
|
638
|
+
*/
|
|
639
|
+
PluginVersion?: number;
|
|
640
|
+
/**
|
|
641
|
+
* 插件基础信息
|
|
642
|
+
*/
|
|
643
|
+
Profile?: PluginProfile;
|
|
644
|
+
/**
|
|
645
|
+
* 插件统计信息
|
|
646
|
+
*/
|
|
647
|
+
Statistics?: PluginStatistics;
|
|
648
|
+
/**
|
|
649
|
+
* <p>插件状态,1:可用,2:不可用 </p><p>枚举值:</p><ul><li>1: 可用</li><li>2: 不可用</li></ul>
|
|
650
|
+
*/
|
|
651
|
+
Status?: number;
|
|
652
|
+
/**
|
|
653
|
+
* 工具列表
|
|
654
|
+
*/
|
|
655
|
+
ToolList?: Array<Tool>;
|
|
656
|
+
/**
|
|
657
|
+
* 更新时间,Unix时间戳
|
|
658
|
+
*/
|
|
659
|
+
UpdateTime?: string;
|
|
660
|
+
/**
|
|
661
|
+
* 用户维度的插件状态信息
|
|
662
|
+
*/
|
|
663
|
+
UserState?: PluginUserState;
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
* CreateConversation返回参数结构体
|
|
667
|
+
*/
|
|
668
|
+
export interface CreateConversationResponse {
|
|
669
|
+
/**
|
|
670
|
+
* <p>会话 ID</p>
|
|
671
|
+
*/
|
|
672
|
+
ConversationId?: string;
|
|
673
|
+
/**
|
|
674
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
675
|
+
*/
|
|
676
|
+
RequestId?: string;
|
|
677
|
+
}
|
|
678
|
+
/**
|
|
679
|
+
* DescribePlugin返回参数结构体
|
|
680
|
+
*/
|
|
681
|
+
export interface DescribePluginResponse {
|
|
682
|
+
/**
|
|
683
|
+
* 插件详情
|
|
684
|
+
*/
|
|
685
|
+
Plugin?: Plugin;
|
|
686
|
+
/**
|
|
687
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
688
|
+
*/
|
|
689
|
+
RequestId?: string;
|
|
690
|
+
}
|
|
691
|
+
/**
|
|
692
|
+
* DescribeConversation请求参数结构体
|
|
693
|
+
*/
|
|
694
|
+
export interface DescribeConversationRequest {
|
|
695
|
+
/**
|
|
696
|
+
* <p>会话 ID</p>
|
|
697
|
+
*/
|
|
698
|
+
ConversationId: string;
|
|
699
|
+
/**
|
|
700
|
+
* <p>会话类型 枚举值: 0-CONVERSATION_TYPE_UNSPECIFIED(未指定;列表查询时表示全部), 1-CONVERSATION_TYPE_VISITOR(访客端体验), 2-CONVERSATION_TYPE_EVALUATION(评测), 5-CONVERSATION_TYPE_API(API 接入), 10-CONVERSATION_TYPE_WORKFLOW(工作流调试), 20-CONVERSATION_TYPE_SHARE(分享链接)</p>
|
|
701
|
+
*/
|
|
702
|
+
Type: number;
|
|
703
|
+
/**
|
|
704
|
+
* <p>Type=CONVERSATION_TYPE_API 时必填,应用密钥</p>
|
|
705
|
+
*/
|
|
706
|
+
AppKey?: string;
|
|
707
|
+
/**
|
|
708
|
+
* <p>主用户Uin</p>
|
|
709
|
+
*/
|
|
710
|
+
LoginSubAccountUin?: string;
|
|
711
|
+
/**
|
|
712
|
+
* <p>子用户Uin</p>
|
|
713
|
+
*/
|
|
714
|
+
LoginUin?: string;
|
|
715
|
+
/**
|
|
716
|
+
* <p>Type=CONVERSATION_TYPE_SHARE 时必填,分享码</p>
|
|
717
|
+
*/
|
|
718
|
+
ShareCode?: string;
|
|
719
|
+
/**
|
|
720
|
+
* <p>Type=CONVERSATION_TYPE_API 时必填,访客ID</p>
|
|
721
|
+
*/
|
|
722
|
+
UserId?: string;
|
|
723
|
+
}
|
|
724
|
+
/**
|
|
725
|
+
* 变量信息
|
|
726
|
+
*/
|
|
727
|
+
export interface Variable {
|
|
728
|
+
/**
|
|
729
|
+
* 默认文件名称
|
|
730
|
+
*/
|
|
731
|
+
DefaultFileName: string;
|
|
732
|
+
/**
|
|
733
|
+
* 默认值
|
|
734
|
+
*/
|
|
735
|
+
DefaultValue: string;
|
|
736
|
+
/**
|
|
737
|
+
* 变量描述
|
|
738
|
+
*/
|
|
739
|
+
Description: string;
|
|
740
|
+
/**
|
|
741
|
+
* 模块类型。枚举值: 1:环境参数, 2:应用参数, 3:系统参数, -1:所有参数
|
|
742
|
+
*/
|
|
743
|
+
ModuleType: number;
|
|
744
|
+
/**
|
|
745
|
+
* 变量名称
|
|
746
|
+
*/
|
|
747
|
+
Name: string;
|
|
748
|
+
/**
|
|
749
|
+
* 变量类型。枚举值: 1:字符串, 2:整数, 3:浮点数, 4:布尔值, 5:对象, 6:字符串数组, 7:整数数组, 8:浮点数数组, 9:布尔值数组, 10:对象数组, 11:文件, 12:文档, 13:图片, 14:音频, 15:视频, 16:文件数组, 17:文档数组, 18:图片数组, 19:音频数组, 20:视频数组, 21:数组的数组, 22:密钥/敏感信息, 99:空值
|
|
750
|
+
*/
|
|
751
|
+
Type: number;
|
|
752
|
+
/**
|
|
753
|
+
* 变量ID
|
|
754
|
+
*/
|
|
755
|
+
VariableId: string;
|
|
756
|
+
}
|
|
757
|
+
/**
|
|
758
|
+
* Message 消息信息
|
|
759
|
+
*/
|
|
760
|
+
export interface ConversationMessage {
|
|
761
|
+
/**
|
|
762
|
+
* <p>会话 ID</p>
|
|
763
|
+
*/
|
|
764
|
+
ConversationId: string;
|
|
765
|
+
/**
|
|
766
|
+
* <p>消息图标</p>
|
|
767
|
+
*/
|
|
768
|
+
Icon: string;
|
|
769
|
+
/**
|
|
770
|
+
* <p>消息 ID</p>
|
|
771
|
+
*/
|
|
772
|
+
MessageId: string;
|
|
773
|
+
/**
|
|
774
|
+
* <p>消息名称</p>
|
|
775
|
+
*/
|
|
776
|
+
Name: string;
|
|
777
|
+
/**
|
|
778
|
+
* <p>记录 ID</p>
|
|
779
|
+
*/
|
|
780
|
+
RecordId: string;
|
|
781
|
+
/**
|
|
782
|
+
* <p>消息角色</p>
|
|
783
|
+
*/
|
|
784
|
+
Role: string;
|
|
785
|
+
/**
|
|
786
|
+
* <p>消息状态,pending:待执行,processing:处理中,success:已完成,failed:处理失败,stop:已取消</p>
|
|
787
|
+
*/
|
|
788
|
+
Status: string;
|
|
789
|
+
/**
|
|
790
|
+
* <p>状态描述</p>
|
|
791
|
+
*/
|
|
792
|
+
StatusDesc: string;
|
|
793
|
+
/**
|
|
794
|
+
* <p>消息标题</p>
|
|
795
|
+
*/
|
|
796
|
+
Title: string;
|
|
797
|
+
/**
|
|
798
|
+
* <p>消息内容列表</p>
|
|
799
|
+
*/
|
|
800
|
+
ContentList?: Array<ConversationContent>;
|
|
801
|
+
/**
|
|
802
|
+
* <p>消息内容列表</p>
|
|
803
|
+
*/
|
|
804
|
+
Contents?: Array<ConversationContent>;
|
|
805
|
+
/**
|
|
806
|
+
* <p>类型</p>
|
|
807
|
+
*/
|
|
808
|
+
Type?: string;
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* 应用引用的共享知识库简要信息(查询时仅返回ID和名称)
|
|
812
|
+
*/
|
|
813
|
+
export interface AppSharedKnowledgeInfo {
|
|
814
|
+
/**
|
|
815
|
+
* 共享知识库ID
|
|
816
|
+
*/
|
|
817
|
+
KnowledgeId: string;
|
|
818
|
+
/**
|
|
819
|
+
* 共享知识库名称
|
|
820
|
+
*/
|
|
821
|
+
KnowledgeName: string;
|
|
822
|
+
}
|
|
823
|
+
/**
|
|
824
|
+
* 应用分享访问控制配置
|
|
825
|
+
*/
|
|
826
|
+
export interface AppShareAccessControl {
|
|
827
|
+
/**
|
|
828
|
+
* 访问控制类型。枚举值: 1:公开访问(所有用户都可访问), 2:内部访问(仅企业用户可访问), 3:账号白名单(指定UIN/手机/邮箱/IP可访问)
|
|
829
|
+
*/
|
|
830
|
+
AccessType: number;
|
|
831
|
+
/**
|
|
832
|
+
* 体验链接开关
|
|
833
|
+
*/
|
|
834
|
+
Enabled: boolean;
|
|
835
|
+
/**
|
|
836
|
+
* 白名单(仅 access_type=ACCOUNT_WHITELIST 时生效)
|
|
837
|
+
*/
|
|
838
|
+
Whitelist?: Array<AppShareWhitelistItem>;
|
|
839
|
+
}
|
|
840
|
+
/**
|
|
841
|
+
* PluginOperation
|
|
842
|
+
*/
|
|
843
|
+
export interface PluginOperation {
|
|
844
|
+
/**
|
|
845
|
+
* 是否允许外部调用
|
|
846
|
+
*/
|
|
847
|
+
AllowExternalAccess?: boolean;
|
|
848
|
+
/**
|
|
849
|
+
* 计费类型
|
|
850
|
+
枚举值:
|
|
851
|
+
| uint | 描述 |
|
|
852
|
+
| --- | --- |
|
|
853
|
+
| 0 | 免费 |
|
|
854
|
+
| 1 | 限时免费 |
|
|
855
|
+
| 2 | 官方收费 |
|
|
856
|
+
*/
|
|
857
|
+
BillingType?: number;
|
|
858
|
+
/**
|
|
859
|
+
* 插件分类标识
|
|
860
|
+
*/
|
|
861
|
+
CategoryKey?: string;
|
|
862
|
+
/**
|
|
863
|
+
* 插件概述
|
|
864
|
+
*/
|
|
865
|
+
Introduction?: string;
|
|
866
|
+
/**
|
|
867
|
+
* 是否精选
|
|
868
|
+
*/
|
|
869
|
+
IsRecommended?: boolean;
|
|
870
|
+
}
|
|
871
|
+
/**
|
|
872
|
+
* SkillShare Skill 企业共享信息。
|
|
873
|
+
*/
|
|
874
|
+
export interface SkillShare {
|
|
875
|
+
/**
|
|
876
|
+
* 审批ID
|
|
877
|
+
*/
|
|
878
|
+
ApprovalId: string;
|
|
879
|
+
/**
|
|
880
|
+
* 共享后关联的新 skill_id
|
|
881
|
+
*/
|
|
882
|
+
ShareSkillId: string;
|
|
883
|
+
/**
|
|
884
|
+
* 共享版本,如 1.0.0
|
|
885
|
+
*/
|
|
886
|
+
ShareVersion: string;
|
|
887
|
+
/**
|
|
888
|
+
* 共享版本ID
|
|
889
|
+
*/
|
|
890
|
+
ShareVersionId: string;
|
|
891
|
+
/**
|
|
892
|
+
* 原 skill_id
|
|
893
|
+
*/
|
|
894
|
+
SkillId: string;
|
|
895
|
+
/**
|
|
896
|
+
* 共享状态
|
|
897
|
+
|
|
898
|
+
枚举值:
|
|
899
|
+
| uint | 描述 |
|
|
900
|
+
| --- | --- |
|
|
901
|
+
| 0 | 未共享 |
|
|
902
|
+
| 1 | 已共享 |
|
|
903
|
+
| 2 | 审批中 |
|
|
904
|
+
*/
|
|
905
|
+
Status: number;
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* ModifyApp返回参数结构体
|
|
909
|
+
*/
|
|
910
|
+
export interface ModifyAppResponse {
|
|
911
|
+
/**
|
|
912
|
+
* app_id
|
|
913
|
+
*/
|
|
914
|
+
AppId?: string;
|
|
915
|
+
/**
|
|
916
|
+
* 更新时间 (Unix时间戳,秒级)
|
|
917
|
+
*/
|
|
918
|
+
UpdateTime?: string;
|
|
919
|
+
/**
|
|
920
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
921
|
+
*/
|
|
922
|
+
RequestId?: string;
|
|
923
|
+
}
|
|
924
|
+
/**
|
|
925
|
+
* ResetConversation返回参数结构体
|
|
926
|
+
*/
|
|
927
|
+
export interface ResetConversationResponse {
|
|
928
|
+
/**
|
|
929
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
930
|
+
*/
|
|
931
|
+
RequestId?: string;
|
|
932
|
+
}
|
|
933
|
+
/**
|
|
934
|
+
* Prompt改写配置
|
|
935
|
+
*/
|
|
936
|
+
export interface PromptRewriteModel {
|
|
937
|
+
/**
|
|
938
|
+
* 模型配置
|
|
939
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
940
|
+
*/
|
|
941
|
+
Model: ModelDetailInfo;
|
|
942
|
+
}
|
|
943
|
+
/**
|
|
944
|
+
* DescribePluginSummaryList请求参数结构体
|
|
945
|
+
*/
|
|
946
|
+
export interface DescribePluginSummaryListRequest {
|
|
947
|
+
/**
|
|
948
|
+
* 空间ID,查询空间内的插件列表时使用
|
|
949
|
+
*/
|
|
950
|
+
SpaceId: string;
|
|
951
|
+
/**
|
|
952
|
+
* 过滤条件列表 支持:PluginKind、CategoryKey、PluginSource、PluginId、PluginClass、BillingType
|
|
953
|
+
*/
|
|
954
|
+
FilterList?: Array<Filter>;
|
|
955
|
+
/**
|
|
956
|
+
* true-筛选收藏的插件,false不过滤
|
|
957
|
+
*/
|
|
958
|
+
IsFavoriteOnly?: boolean;
|
|
959
|
+
/**
|
|
960
|
+
* module
|
|
961
|
+
|
|
962
|
+
枚举值:
|
|
963
|
+
| uint | 描述 |
|
|
964
|
+
| --- | --- |
|
|
965
|
+
| 0 | 所有模块 |
|
|
966
|
+
| 1 | agent模式模块 |
|
|
967
|
+
| 2 | 工作流模块 |
|
|
968
|
+
| 3 | 企业员工助理模块 |
|
|
969
|
+
*/
|
|
970
|
+
Module?: number;
|
|
971
|
+
/**
|
|
972
|
+
* 页码 从0开始
|
|
973
|
+
*/
|
|
974
|
+
PageNumber?: number;
|
|
975
|
+
/**
|
|
976
|
+
* 每页大小
|
|
977
|
+
*/
|
|
978
|
+
PageSize?: number;
|
|
979
|
+
/**
|
|
980
|
+
* 查询内容 模糊匹配:插件名称/插件描述/工具名称/工具描述
|
|
981
|
+
*/
|
|
982
|
+
Query?: string;
|
|
983
|
+
/**
|
|
984
|
+
* 排序类型,仅搜索场景有效
|
|
985
|
+
|
|
986
|
+
枚举值:
|
|
987
|
+
| uint | 描述 |
|
|
988
|
+
| --- | --- |
|
|
989
|
+
| 0 | 未指定,使用默认行为 |
|
|
990
|
+
| 1 | 按相关性排序 |
|
|
991
|
+
| 2 | 按更新时间排序 |
|
|
992
|
+
*/
|
|
993
|
+
SortType?: number;
|
|
994
|
+
}
|
|
995
|
+
/**
|
|
996
|
+
* DescribeConversationList返回参数结构体
|
|
997
|
+
*/
|
|
998
|
+
export interface DescribeConversationListResponse {
|
|
999
|
+
/**
|
|
1000
|
+
* <p>会话列表</p>
|
|
1001
|
+
*/
|
|
1002
|
+
ConversationList?: Array<Conversation>;
|
|
1003
|
+
/**
|
|
1004
|
+
* <p>会话列表</p>
|
|
1005
|
+
*/
|
|
1006
|
+
Conversations?: Array<Conversation>;
|
|
1007
|
+
/**
|
|
1008
|
+
* <p>总数</p>
|
|
1009
|
+
*/
|
|
1010
|
+
TotalCount?: string;
|
|
1011
|
+
/**
|
|
1012
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1013
|
+
*/
|
|
1014
|
+
RequestId?: string;
|
|
1015
|
+
}
|
|
1016
|
+
/**
|
|
1017
|
+
* CreateApp返回参数结构体
|
|
1018
|
+
*/
|
|
1019
|
+
export interface CreateAppResponse {
|
|
1020
|
+
/**
|
|
1021
|
+
* app_id
|
|
1022
|
+
*/
|
|
1023
|
+
AppId?: string;
|
|
1024
|
+
/**
|
|
1025
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1026
|
+
*/
|
|
1027
|
+
RequestId?: string;
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
* DescribeAppSummaryList请求参数结构体
|
|
1031
|
+
*/
|
|
1032
|
+
export interface DescribeAppSummaryListRequest {
|
|
1033
|
+
/**
|
|
1034
|
+
* 空间ID(必填)
|
|
1035
|
+
*/
|
|
1036
|
+
SpaceId: string;
|
|
1037
|
+
/**
|
|
1038
|
+
* 过滤条件(多个Filter之间为AND关系,同一Filter的多个Values为OR关系): - AppStatus: 应用状态,枚举值,精确匹配(APP_STATUS_OFFLINE=1/APP_STATUS_RUNNING=2/APP_STATUS_DISABLED=3) - AppMode: 应用模式,枚举值,精确匹配(APP_MODE_STANDARD=1/APP_MODE_AGENT=2/APP_MODE_SINGLE_WORKFLOW=3/APP_MODE_CLAW_AGENT=4)
|
|
1039
|
+
*/
|
|
1040
|
+
FilterList?: Array<Filter>;
|
|
1041
|
+
/**
|
|
1042
|
+
* 页码(从0开始)
|
|
1043
|
+
*/
|
|
1044
|
+
PageNumber?: number;
|
|
1045
|
+
/**
|
|
1046
|
+
* 每页数量(最大值:100)
|
|
1047
|
+
*/
|
|
1048
|
+
PageSize?: number;
|
|
1049
|
+
/**
|
|
1050
|
+
* 模糊查询
|
|
1051
|
+
*/
|
|
1052
|
+
Query?: string;
|
|
1053
|
+
}
|
|
1054
|
+
/**
|
|
1055
|
+
* 应用摘要 - 列表查询返回的应用信息
|
|
1056
|
+
*/
|
|
1057
|
+
export interface AppSummary {
|
|
1058
|
+
/**
|
|
1059
|
+
* 应用ID
|
|
1060
|
+
*/
|
|
1061
|
+
AppId: string;
|
|
1062
|
+
/**
|
|
1063
|
+
* 应用模式。枚举值: 1:标准模式, 2:Agent模式, 3:单工作流模式, 4:ClawAgent模式
|
|
1064
|
+
*/
|
|
1065
|
+
AppMode: number;
|
|
1066
|
+
/**
|
|
1067
|
+
* 应用头像
|
|
1068
|
+
*/
|
|
1069
|
+
Avatar: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* 应用名称
|
|
1072
|
+
*/
|
|
1073
|
+
Name: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* 操作信息
|
|
1076
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1077
|
+
*/
|
|
1078
|
+
OperationInfo: AppOperation;
|
|
1079
|
+
/**
|
|
1080
|
+
* 状态信息
|
|
1081
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1082
|
+
*/
|
|
1083
|
+
Status: AppStatusInfo;
|
|
1084
|
+
/**
|
|
1085
|
+
* 子状态信息
|
|
1086
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1087
|
+
*/
|
|
1088
|
+
SubStatus: AppSubStatusInfo;
|
|
1089
|
+
/**
|
|
1090
|
+
* 资源操作权限
|
|
1091
|
+
*/
|
|
1092
|
+
PermissionIdList?: Array<string>;
|
|
1093
|
+
}
|
|
1094
|
+
/**
|
|
1095
|
+
* 多智能体配置
|
|
1096
|
+
*/
|
|
1097
|
+
export interface MultiAgentConfig {
|
|
1098
|
+
/**
|
|
1099
|
+
* Agent协同配置
|
|
1100
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1101
|
+
*/
|
|
1102
|
+
AgentCollaboration: AgentCollaborationConfig;
|
|
1103
|
+
}
|
|
1104
|
+
/**
|
|
1105
|
+
* CreateWebSocketToken返回参数结构体
|
|
1106
|
+
*/
|
|
1107
|
+
export interface CreateWebSocketTokenResponse {
|
|
1108
|
+
/**
|
|
1109
|
+
* <p>应用ID</p>
|
|
1110
|
+
*/
|
|
1111
|
+
AppId?: string;
|
|
1112
|
+
/**
|
|
1113
|
+
* <p>WebSocket Token</p>
|
|
1114
|
+
*/
|
|
1115
|
+
Token?: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1118
|
+
*/
|
|
1119
|
+
RequestId?: string;
|
|
1120
|
+
}
|
|
1121
|
+
/**
|
|
1122
|
+
* DescribeAgentDetail请求参数结构体
|
|
1123
|
+
*/
|
|
1124
|
+
export interface DescribeAgentDetailRequest {
|
|
1125
|
+
/**
|
|
1126
|
+
* <p>应用Id</p>
|
|
1127
|
+
*/
|
|
1128
|
+
AppId?: string;
|
|
1129
|
+
/**
|
|
1130
|
+
* <p>AgentId</p>
|
|
1131
|
+
*/
|
|
1132
|
+
AgentId?: string;
|
|
1133
|
+
}
|
|
1134
|
+
/**
|
|
1135
|
+
* DescribeConversationMessageList返回参数结构体
|
|
1136
|
+
*/
|
|
1137
|
+
export interface DescribeConversationMessageListResponse {
|
|
1138
|
+
/**
|
|
1139
|
+
* <p>第一个记录 ID</p>
|
|
1140
|
+
*/
|
|
1141
|
+
FirstRecordId?: string;
|
|
1142
|
+
/**
|
|
1143
|
+
* <p>更新消息方向是否还有更多</p>
|
|
1144
|
+
*/
|
|
1145
|
+
HasMoreAfter?: boolean;
|
|
1146
|
+
/**
|
|
1147
|
+
* <p>更早消息方向是否还有更多</p>
|
|
1148
|
+
*/
|
|
1149
|
+
HasMoreBefore?: boolean;
|
|
1150
|
+
/**
|
|
1151
|
+
* <p>最后一个记录 ID</p>
|
|
1152
|
+
*/
|
|
1153
|
+
LastRecordId?: string;
|
|
1154
|
+
/**
|
|
1155
|
+
* <p>消息列表</p>
|
|
1156
|
+
*/
|
|
1157
|
+
MessageList?: Array<ConversationMessage>;
|
|
1158
|
+
/**
|
|
1159
|
+
* <p>消息列表</p>
|
|
1160
|
+
*/
|
|
1161
|
+
Messages?: Array<ConversationMessage>;
|
|
1162
|
+
/**
|
|
1163
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1164
|
+
*/
|
|
1165
|
+
RequestId?: string;
|
|
1166
|
+
}
|
|
1167
|
+
/**
|
|
1168
|
+
* 体验配置
|
|
1169
|
+
*/
|
|
1170
|
+
export interface AppExperienceConfig {
|
|
1171
|
+
/**
|
|
1172
|
+
* 高级配置
|
|
1173
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1174
|
+
*/
|
|
1175
|
+
Advanced: AppAdvancedConf;
|
|
1176
|
+
/**
|
|
1177
|
+
* 对话体验配置
|
|
1178
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1179
|
+
*/
|
|
1180
|
+
Conversation: ConversationExperience;
|
|
1181
|
+
/**
|
|
1182
|
+
* 角色配置
|
|
1183
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1184
|
+
*/
|
|
1185
|
+
Role: RoleConfig;
|
|
1186
|
+
}
|
|
1187
|
+
/**
|
|
1188
|
+
* RollbackRelease返回参数结构体
|
|
1189
|
+
*/
|
|
1190
|
+
export interface RollbackReleaseResponse {
|
|
1191
|
+
/**
|
|
1192
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1193
|
+
*/
|
|
1194
|
+
RequestId?: string;
|
|
1195
|
+
}
|
|
1196
|
+
/**
|
|
1197
|
+
* DescribeSkillCategoryList返回参数结构体
|
|
1198
|
+
*/
|
|
1199
|
+
export interface DescribeSkillCategoryListResponse {
|
|
1200
|
+
/**
|
|
1201
|
+
* Skill 分类列表
|
|
1202
|
+
*/
|
|
1203
|
+
CategoryList?: Array<SkillCategory>;
|
|
1204
|
+
/**
|
|
1205
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1206
|
+
*/
|
|
1207
|
+
RequestId?: string;
|
|
1208
|
+
}
|
|
1209
|
+
/**
|
|
1210
|
+
* DescribeReleaseSummary请求参数结构体
|
|
1211
|
+
*/
|
|
1212
|
+
export interface DescribeReleaseSummaryRequest {
|
|
1213
|
+
/**
|
|
1214
|
+
* app_id
|
|
1215
|
+
*/
|
|
1216
|
+
AppId: string;
|
|
1217
|
+
/**
|
|
1218
|
+
* release_id
|
|
1219
|
+
*/
|
|
1220
|
+
ReleaseId: string;
|
|
1221
|
+
}
|
|
1222
|
+
/**
|
|
1223
|
+
* 工作流配置
|
|
1224
|
+
*/
|
|
1225
|
+
export interface AppWorkflowConfig {
|
|
1226
|
+
/**
|
|
1227
|
+
* 是否使用PDL
|
|
1228
|
+
*/
|
|
1229
|
+
EnablePDL: boolean;
|
|
1230
|
+
}
|
|
1231
|
+
/**
|
|
1232
|
+
* AgentTask 智能体任务信息
|
|
1233
|
+
*/
|
|
1234
|
+
export interface ConversationAgentTask {
|
|
1235
|
+
/**
|
|
1236
|
+
* <p>任务内容</p>
|
|
1237
|
+
*/
|
|
1238
|
+
Content: string;
|
|
1239
|
+
/**
|
|
1240
|
+
* <p>任务序号</p>
|
|
1241
|
+
*/
|
|
1242
|
+
Index: string;
|
|
1243
|
+
/**
|
|
1244
|
+
* <p>任务状态,pending:待执行,processing:处理中,success:已完成,failed:处理失败,stop:已取消</p>
|
|
1245
|
+
*/
|
|
1246
|
+
Status: string;
|
|
1247
|
+
}
|
|
1248
|
+
/**
|
|
1249
|
+
* DeleteVariable返回参数结构体
|
|
1250
|
+
*/
|
|
1251
|
+
export interface DeleteVariableResponse {
|
|
1252
|
+
/**
|
|
1253
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1254
|
+
*/
|
|
1255
|
+
RequestId?: string;
|
|
1256
|
+
}
|
|
1257
|
+
/**
|
|
1258
|
+
* CreateRelease请求参数结构体
|
|
1259
|
+
*/
|
|
1260
|
+
export interface CreateReleaseRequest {
|
|
1261
|
+
/**
|
|
1262
|
+
* 应用ID
|
|
1263
|
+
*/
|
|
1264
|
+
AppId: string;
|
|
1265
|
+
/**
|
|
1266
|
+
* 渠道ID列表
|
|
1267
|
+
*/
|
|
1268
|
+
ChannelIdList?: Array<string>;
|
|
1269
|
+
/**
|
|
1270
|
+
* 发布描述
|
|
1271
|
+
*/
|
|
1272
|
+
Description?: string;
|
|
1273
|
+
/**
|
|
1274
|
+
* 将默认知识库中,仅调试生效的知识批量变更为"调试/发布都生效"
|
|
1275
|
+
*/
|
|
1276
|
+
IsDevToRelease?: boolean;
|
|
1277
|
+
/**
|
|
1278
|
+
* 是否同步发布为应用模板
|
|
1279
|
+
*/
|
|
1280
|
+
IsPublishAsTemplate?: boolean;
|
|
1281
|
+
}
|
|
1282
|
+
/**
|
|
1283
|
+
* CreateWorkspaceCredential请求参数结构体
|
|
1284
|
+
*/
|
|
1285
|
+
export interface CreateWorkspaceCredentialRequest {
|
|
1286
|
+
/**
|
|
1287
|
+
* <p>会话类型 枚举值: 0-CONVERSATION_TYPE_UNSPECIFIED(未指定;列表查询时表示全部), 1-CONVERSATION_TYPE_VISITOR(访客端体验), 2-CONVERSATION_TYPE_EVALUATION(评测), 5-CONVERSATION_TYPE_API(API 接入), 10-CONVERSATION_TYPE_WORKFLOW(工作流调试), 20-CONVERSATION_TYPE_SHARE(分享链接)</p>
|
|
1288
|
+
*/
|
|
1289
|
+
Type: number;
|
|
1290
|
+
/**
|
|
1291
|
+
* <p>工作空间 ID</p>
|
|
1292
|
+
*/
|
|
1293
|
+
WorkspaceId: string;
|
|
1294
|
+
/**
|
|
1295
|
+
* <p>应用 ID</p>
|
|
1296
|
+
*/
|
|
1297
|
+
AppId?: string;
|
|
1298
|
+
/**
|
|
1299
|
+
* <p>Type=CONVERSATION_TYPE_API 时必填,应用密钥</p>
|
|
1300
|
+
*/
|
|
1301
|
+
AppKey?: string;
|
|
1302
|
+
/**
|
|
1303
|
+
* <p>子用户Uin</p>
|
|
1304
|
+
*/
|
|
1305
|
+
LoginSubAccountUin?: string;
|
|
1306
|
+
/**
|
|
1307
|
+
* <p>主用户Uin</p>
|
|
1308
|
+
*/
|
|
1309
|
+
LoginUin?: string;
|
|
1310
|
+
/**
|
|
1311
|
+
* <p>Type=CONVERSATION_TYPE_SHARE 时必填,分享码</p>
|
|
1312
|
+
*/
|
|
1313
|
+
ShareCode?: string;
|
|
1314
|
+
/**
|
|
1315
|
+
* <p>Type=CONVERSATION_TYPE_API 时必填,访客ID</p>
|
|
1316
|
+
*/
|
|
1317
|
+
UserId?: string;
|
|
1318
|
+
}
|
|
1319
|
+
/**
|
|
1320
|
+
* DescribePlugin请求参数结构体
|
|
1321
|
+
*/
|
|
1322
|
+
export interface DescribePluginRequest {
|
|
1323
|
+
/**
|
|
1324
|
+
* 插件id
|
|
1325
|
+
*/
|
|
1326
|
+
PluginId: string;
|
|
1327
|
+
/**
|
|
1328
|
+
* 当前空间id
|
|
1329
|
+
*/
|
|
1330
|
+
SpaceId: string;
|
|
1331
|
+
}
|
|
1332
|
+
/**
|
|
1333
|
+
* DescribeConversationList请求参数结构体
|
|
1334
|
+
*/
|
|
1335
|
+
export interface DescribeConversationListRequest {
|
|
1336
|
+
/**
|
|
1337
|
+
* <p>会话类型,传 CONVERSATION_TYPE_UNSPECIFIED 表示全部 枚举值: 0-CONVERSATION_TYPE_UNSPECIFIED(未指定;列表查询时表示全部), 1-CONVERSATION_TYPE_VISITOR(访客端体验), 2-CONVERSATION_TYPE_EVALUATION(评测), 5-CONVERSATION_TYPE_API(API 接入), 10-CONVERSATION_TYPE_WORKFLOW(工作流调试), 20-CONVERSATION_TYPE_SHARE(分享链接)</p>
|
|
1338
|
+
*/
|
|
1339
|
+
Type: number;
|
|
1340
|
+
/**
|
|
1341
|
+
* <p>应用 ID</p>
|
|
1342
|
+
*/
|
|
1343
|
+
AppId?: string;
|
|
1344
|
+
/**
|
|
1345
|
+
* <p>Type=CONVERSATION_TYPE_API 时必填,应用密钥</p>
|
|
1346
|
+
*/
|
|
1347
|
+
AppKey?: string;
|
|
1348
|
+
/**
|
|
1349
|
+
* <p>关键词</p>
|
|
1350
|
+
*/
|
|
1351
|
+
Keyword?: string;
|
|
1352
|
+
/**
|
|
1353
|
+
* <p>限制数目(整型),配合Offset使用</p>
|
|
1354
|
+
*/
|
|
1355
|
+
Limit?: number;
|
|
1356
|
+
/**
|
|
1357
|
+
* <p>子账户Uin</p>
|
|
1358
|
+
*/
|
|
1359
|
+
LoginSubAccountUin?: string;
|
|
1360
|
+
/**
|
|
1361
|
+
* <p>主账户Uin</p>
|
|
1362
|
+
*/
|
|
1363
|
+
LoginUin?: string;
|
|
1364
|
+
/**
|
|
1365
|
+
* <p>偏移量(整型),配合Limit使用,从0开始</p>
|
|
1366
|
+
*/
|
|
1367
|
+
Offset?: number;
|
|
1368
|
+
/**
|
|
1369
|
+
* <p>Type=CONVERSATION_TYPE_SHARE 时必填,分享码</p>
|
|
1370
|
+
*/
|
|
1371
|
+
ShareCode?: string;
|
|
1372
|
+
/**
|
|
1373
|
+
* <p>Type=CONVERSATION_TYPE_API 时必填,访客ID</p>
|
|
1374
|
+
*/
|
|
1375
|
+
UserId?: string;
|
|
1376
|
+
}
|
|
1377
|
+
/**
|
|
1378
|
+
* DescribeVariable返回参数结构体
|
|
1379
|
+
*/
|
|
1380
|
+
export interface DescribeVariableResponse {
|
|
1381
|
+
/**
|
|
1382
|
+
* 变量信息
|
|
1383
|
+
*/
|
|
1384
|
+
Variable?: Variable;
|
|
1385
|
+
/**
|
|
1386
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1387
|
+
*/
|
|
1388
|
+
RequestId?: string;
|
|
1389
|
+
}
|
|
1390
|
+
/**
|
|
1391
|
+
* CodeToolConfig
|
|
1392
|
+
*/
|
|
1393
|
+
export interface CodeToolConfig {
|
|
1394
|
+
/**
|
|
1395
|
+
* 代码
|
|
1396
|
+
*/
|
|
1397
|
+
Code: string;
|
|
1398
|
+
/**
|
|
1399
|
+
* 示例
|
|
1400
|
+
*/
|
|
1401
|
+
Example?: ToolExample;
|
|
1402
|
+
/**
|
|
1403
|
+
* 输入参数
|
|
1404
|
+
*/
|
|
1405
|
+
Inputs?: Array<RequestParam>;
|
|
1406
|
+
/**
|
|
1407
|
+
* 输出参数
|
|
1408
|
+
*/
|
|
1409
|
+
Outputs?: Array<ResponseParam>;
|
|
1410
|
+
}
|
|
1411
|
+
/**
|
|
1412
|
+
* CreateAgent请求参数结构体
|
|
1413
|
+
*/
|
|
1414
|
+
export interface CreateAgentRequest {
|
|
1415
|
+
/**
|
|
1416
|
+
* <p>应用Id</p>
|
|
1417
|
+
*/
|
|
1418
|
+
AppId: string;
|
|
1419
|
+
/**
|
|
1420
|
+
* <p>Agent 配置</p>
|
|
1421
|
+
*/
|
|
1422
|
+
Agent?: AgentSpec;
|
|
1423
|
+
}
|
|
1424
|
+
/**
|
|
1425
|
+
* 对话体验配置
|
|
1426
|
+
*/
|
|
1427
|
+
export interface ConversationExperience {
|
|
1428
|
+
/**
|
|
1429
|
+
* AI通话配置
|
|
1430
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1431
|
+
*/
|
|
1432
|
+
AiCall: AICallConfig;
|
|
1433
|
+
/**
|
|
1434
|
+
* 背景图片配置
|
|
1435
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1436
|
+
*/
|
|
1437
|
+
BackgroundImage: BackgroundImage;
|
|
1438
|
+
/**
|
|
1439
|
+
* 兜底回复开关
|
|
1440
|
+
*/
|
|
1441
|
+
EnableFallbackReply: boolean;
|
|
1442
|
+
/**
|
|
1443
|
+
* 是否使用推荐问
|
|
1444
|
+
*/
|
|
1445
|
+
EnableRecommended: boolean;
|
|
1446
|
+
/**
|
|
1447
|
+
* 是否使用联网搜索
|
|
1448
|
+
*/
|
|
1449
|
+
EnableWebSearch: boolean;
|
|
1450
|
+
/**
|
|
1451
|
+
* 兜底回复语
|
|
1452
|
+
*/
|
|
1453
|
+
FallbackReply: string;
|
|
1454
|
+
/**
|
|
1455
|
+
* 输入框配置
|
|
1456
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1457
|
+
*/
|
|
1458
|
+
InputBoxConfig: InputBoxConfig;
|
|
1459
|
+
/**
|
|
1460
|
+
* 输出方式。枚举值: 1:流式, 2:非流式
|
|
1461
|
+
*/
|
|
1462
|
+
Method: number;
|
|
1463
|
+
/**
|
|
1464
|
+
* 推荐问生成prompt模式。枚举值: 1:仅结合知识库输出推荐问的prompt
|
|
1465
|
+
*/
|
|
1466
|
+
RecommendPromptMode: number;
|
|
1467
|
+
}
|
|
1468
|
+
/**
|
|
1469
|
+
* DescribeSystemVariableList返回参数结构体
|
|
1470
|
+
*/
|
|
1471
|
+
export interface DescribeSystemVariableListResponse {
|
|
1472
|
+
/**
|
|
1473
|
+
* system_variable_list
|
|
1474
|
+
*/
|
|
1475
|
+
SystemVariableList?: Array<SystemVariable>;
|
|
1476
|
+
/**
|
|
1477
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1478
|
+
*/
|
|
1479
|
+
RequestId?: string;
|
|
1480
|
+
}
|
|
1481
|
+
/**
|
|
1482
|
+
* PluginUserState
|
|
1483
|
+
*/
|
|
1484
|
+
export interface PluginUserState {
|
|
1485
|
+
/**
|
|
1486
|
+
* 是否已收藏该插件
|
|
1487
|
+
*/
|
|
1488
|
+
IsFavorite?: boolean;
|
|
1489
|
+
/**
|
|
1490
|
+
* 是否在插件白名单内
|
|
1491
|
+
*/
|
|
1492
|
+
IsInWhiteList?: boolean;
|
|
1493
|
+
/**
|
|
1494
|
+
* 白名单类型
|
|
1495
|
+
枚举值:
|
|
1496
|
+
| uint | 描述 |
|
|
1497
|
+
| --- | --- |
|
|
1498
|
+
| 0 | 非白名单插件,全量开放 |
|
|
1499
|
+
| 1 | 在白名单里 |
|
|
1500
|
+
| 2 | 不在白名单里,需要提交申请 |
|
|
1501
|
+
*/
|
|
1502
|
+
WhiteListType?: number;
|
|
1503
|
+
}
|
|
1504
|
+
/**
|
|
1505
|
+
* AI一键优化模型配置
|
|
1506
|
+
*/
|
|
1507
|
+
export interface AIOptimizeModel {
|
|
1508
|
+
/**
|
|
1509
|
+
* 模型配置
|
|
1510
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1511
|
+
*/
|
|
1512
|
+
Model: ModelDetailInfo;
|
|
1513
|
+
}
|
|
1514
|
+
/**
|
|
1515
|
+
* 插件的工具信息
|
|
1516
|
+
*/
|
|
1517
|
+
export interface Tool {
|
|
1518
|
+
/**
|
|
1519
|
+
* 工具描述信息
|
|
1520
|
+
*/
|
|
1521
|
+
Description?: string;
|
|
1522
|
+
/**
|
|
1523
|
+
* 工具名称
|
|
1524
|
+
*/
|
|
1525
|
+
Name?: string;
|
|
1526
|
+
/**
|
|
1527
|
+
* 插件id
|
|
1528
|
+
*/
|
|
1529
|
+
PluginId?: string;
|
|
1530
|
+
/**
|
|
1531
|
+
* 工具id
|
|
1532
|
+
*/
|
|
1533
|
+
ToolId?: string;
|
|
1534
|
+
/**
|
|
1535
|
+
* 工具计费信息
|
|
1536
|
+
*/
|
|
1537
|
+
Billing?: ToolBilling;
|
|
1538
|
+
/**
|
|
1539
|
+
* 工具调用次数
|
|
1540
|
+
*/
|
|
1541
|
+
CallCount?: number;
|
|
1542
|
+
/**
|
|
1543
|
+
* <p>工具访问模式</p><p>枚举值:</p><ul><li>0: 未指定</li><li>1: READ_ONLY</li><li>2: WRITE_DELETE</li></ul>
|
|
1544
|
+
*/
|
|
1545
|
+
ToolAccessMode?: number;
|
|
1546
|
+
/**
|
|
1547
|
+
* 工具配置
|
|
1548
|
+
*/
|
|
1549
|
+
ToolConfig?: ToolConfig;
|
|
1550
|
+
}
|
|
1551
|
+
/**
|
|
1552
|
+
* ModifySpace返回参数结构体
|
|
1553
|
+
*/
|
|
1554
|
+
export interface ModifySpaceResponse {
|
|
1555
|
+
/**
|
|
1556
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1557
|
+
*/
|
|
1558
|
+
RequestId?: string;
|
|
1559
|
+
}
|
|
1560
|
+
/**
|
|
1561
|
+
* DescribePluginSummaryList返回参数结构体
|
|
1562
|
+
*/
|
|
1563
|
+
export interface DescribePluginSummaryListResponse {
|
|
1564
|
+
/**
|
|
1565
|
+
* plugin_list
|
|
1566
|
+
*/
|
|
1567
|
+
PluginList?: Array<PluginSummary>;
|
|
1568
|
+
/**
|
|
1569
|
+
* total_count
|
|
1570
|
+
*/
|
|
1571
|
+
TotalCount?: number;
|
|
1572
|
+
/**
|
|
1573
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1574
|
+
*/
|
|
1575
|
+
RequestId?: string;
|
|
1576
|
+
}
|
|
1577
|
+
/**
|
|
1578
|
+
* 多模态理解模型配置
|
|
1579
|
+
*/
|
|
1580
|
+
export interface MultiModalUnderstandingModel {
|
|
1581
|
+
/**
|
|
1582
|
+
* 模型配置
|
|
1583
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1584
|
+
*/
|
|
1585
|
+
Model: ModelDetailInfo;
|
|
1586
|
+
}
|
|
1587
|
+
/**
|
|
1588
|
+
* SkillAnalysisInfo Skill 安全扫描信息。
|
|
1589
|
+
*/
|
|
1590
|
+
export interface SkillAnalysisInfo {
|
|
1591
|
+
/**
|
|
1592
|
+
* 安全检测状态
|
|
1593
|
+
|
|
1594
|
+
枚举值:
|
|
1595
|
+
| uint | 描述 |
|
|
1596
|
+
| --- | --- |
|
|
1597
|
+
| 0 | 待检测 |
|
|
1598
|
+
| 1 | 检测中 |
|
|
1599
|
+
| 2 | 可用 |
|
|
1600
|
+
| 3 | 不可用 |
|
|
1601
|
+
| 4 | 检测失败 |
|
|
1602
|
+
*/
|
|
1603
|
+
AnalysisStatus: number;
|
|
1604
|
+
/**
|
|
1605
|
+
* 风险描述
|
|
1606
|
+
*/
|
|
1607
|
+
RiskDescription: string;
|
|
1608
|
+
/**
|
|
1609
|
+
* 风险等级
|
|
1610
|
+
|
|
1611
|
+
枚举值:
|
|
1612
|
+
| uint | 描述 |
|
|
1613
|
+
| --- | --- |
|
|
1614
|
+
| 0 | 无风险 |
|
|
1615
|
+
| 1 | 低风险 |
|
|
1616
|
+
| 2 | 中风险 |
|
|
1617
|
+
| 3 | 高风险 |
|
|
1618
|
+
*/
|
|
1619
|
+
RiskLevel: number;
|
|
1620
|
+
/**
|
|
1621
|
+
* 安全报告跳转url;
|
|
1622
|
+
*/
|
|
1623
|
+
SecurityReportUrl: string;
|
|
1624
|
+
}
|
|
1625
|
+
/**
|
|
1626
|
+
* 支持的文件类型
|
|
1627
|
+
*/
|
|
1628
|
+
export interface SupportedFileType {
|
|
1629
|
+
/**
|
|
1630
|
+
* 文件类型描述(如"文本文档")
|
|
1631
|
+
*/
|
|
1632
|
+
Description: string;
|
|
1633
|
+
/**
|
|
1634
|
+
* 文件类型(如 txt、pdf、jpg, 建议用扩展名)
|
|
1635
|
+
*/
|
|
1636
|
+
FileExt: string;
|
|
1637
|
+
/**
|
|
1638
|
+
* 文件大小限制(单位: 字节)
|
|
1639
|
+
*/
|
|
1640
|
+
MaxSizeBytes: string;
|
|
1641
|
+
}
|
|
1642
|
+
/**
|
|
1643
|
+
* Agent 的插件信息
|
|
1644
|
+
*/
|
|
1645
|
+
export interface AgentPlugin {
|
|
1646
|
+
/**
|
|
1647
|
+
* 插件基本配置
|
|
1648
|
+
*/
|
|
1649
|
+
Config?: AgentPluginConfig;
|
|
1650
|
+
/**
|
|
1651
|
+
* 插件名称
|
|
1652
|
+
*/
|
|
1653
|
+
Name?: string;
|
|
1654
|
+
/**
|
|
1655
|
+
* 插件图标url
|
|
1656
|
+
*/
|
|
1657
|
+
IconUrl?: string;
|
|
1658
|
+
/**
|
|
1659
|
+
* 插件描述
|
|
1660
|
+
*/
|
|
1661
|
+
Description?: string;
|
|
1662
|
+
/**
|
|
1663
|
+
* <p>插件产品分类</p><p>枚举值:</p><ul><li>0: 普通插件</li><li>1: 连接器类插件</li></ul>
|
|
1664
|
+
*/
|
|
1665
|
+
PluginClass?: number;
|
|
1666
|
+
/**
|
|
1667
|
+
* <p>插件状态</p><p>枚举值:</p><ul><li>0: 未知</li><li>1: 可用</li><li>2: 不可用</li></ul>
|
|
1668
|
+
*/
|
|
1669
|
+
Status?: number;
|
|
1670
|
+
/**
|
|
1671
|
+
* <p>插件鉴权配置状态</p><p>枚举值:</p><ul><li>0: 不需要授权</li><li>1: 未配置</li><li>2: 已配置</li></ul>
|
|
1672
|
+
*/
|
|
1673
|
+
AuthConfigStatus?: number;
|
|
1674
|
+
}
|
|
1675
|
+
/**
|
|
1676
|
+
* 应用子状态信息
|
|
1677
|
+
*/
|
|
1678
|
+
export interface AppSubStatusInfo {
|
|
1679
|
+
/**
|
|
1680
|
+
* 审批记录ID (当sub_status_list包含PUBLISH_APPROVING时有效)
|
|
1681
|
+
*/
|
|
1682
|
+
ApprovalId: string;
|
|
1683
|
+
/**
|
|
1684
|
+
* 应用子状态列表 (可能同时处于多个子状态)
|
|
1685
|
+
*/
|
|
1686
|
+
SubStatusList?: Array<number | bigint>;
|
|
1687
|
+
}
|
|
1688
|
+
/**
|
|
1689
|
+
* CreateConversation请求参数结构体
|
|
1690
|
+
*/
|
|
1691
|
+
export interface CreateConversationRequest {
|
|
1692
|
+
/**
|
|
1693
|
+
* <p>会话类型 枚举值: 0-CONVERSATION_TYPE_UNSPECIFIED(未指定;列表查询时表示全部), 1-CONVERSATION_TYPE_VISITOR(访客端体验), 2-CONVERSATION_TYPE_EVALUATION(评测), 5-CONVERSATION_TYPE_API(API 接入), 10-CONVERSATION_TYPE_WORKFLOW(工作流调试), 20-CONVERSATION_TYPE_SHARE(分享链接)</p>
|
|
1694
|
+
*/
|
|
1695
|
+
Type: number;
|
|
1696
|
+
/**
|
|
1697
|
+
* <p>应用 ID</p>
|
|
1698
|
+
*/
|
|
1699
|
+
AppId?: string;
|
|
1700
|
+
/**
|
|
1701
|
+
* <p>Type=CONVERSATION_TYPE_API 时必填,应用密钥</p>
|
|
1702
|
+
*/
|
|
1703
|
+
AppKey?: string;
|
|
1704
|
+
/**
|
|
1705
|
+
* <p>登录用户子账号(集成商模式必填)</p>
|
|
1706
|
+
*/
|
|
1707
|
+
LoginSubAccountUin?: string;
|
|
1708
|
+
/**
|
|
1709
|
+
* <p>登录用户主账号(集成商模式必填)</p>
|
|
1710
|
+
*/
|
|
1711
|
+
LoginUin?: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* <p>Type=CONVERSATION_TYPE_SHARE 时必填,分享码</p>
|
|
1714
|
+
*/
|
|
1715
|
+
ShareCode?: string;
|
|
1716
|
+
/**
|
|
1717
|
+
* <p>Type=CONVERSATION_TYPE_API 时必填,访客ID</p>
|
|
1718
|
+
*/
|
|
1719
|
+
UserId?: string;
|
|
1720
|
+
}
|
|
1721
|
+
/**
|
|
1722
|
+
* DescribeVariableList请求参数结构体
|
|
1723
|
+
*/
|
|
1724
|
+
export interface DescribeVariableListRequest {
|
|
1725
|
+
/**
|
|
1726
|
+
* 应用ID
|
|
1727
|
+
*/
|
|
1728
|
+
AppId: string;
|
|
1729
|
+
/**
|
|
1730
|
+
* 过滤条件(支持: VariableIdList-变量ID列表, VariableType-变量类型)
|
|
1731
|
+
*/
|
|
1732
|
+
FilterList?: Array<Filter>;
|
|
1733
|
+
/**
|
|
1734
|
+
* 模块类型。枚举值: 1:环境参数, 2:应用参数, 3:系统参数, -1:所有参数
|
|
1735
|
+
*/
|
|
1736
|
+
ModuleType?: number;
|
|
1737
|
+
/**
|
|
1738
|
+
* 是否需要内部变量
|
|
1739
|
+
*/
|
|
1740
|
+
NeedInternalVariable?: boolean;
|
|
1741
|
+
/**
|
|
1742
|
+
* 页码(从0开始)
|
|
1743
|
+
*/
|
|
1744
|
+
PageNumber?: number;
|
|
1745
|
+
/**
|
|
1746
|
+
* 每页数量(最大值:100)
|
|
1747
|
+
*/
|
|
1748
|
+
PageSize?: number;
|
|
1749
|
+
/**
|
|
1750
|
+
* 查询关键词
|
|
1751
|
+
*/
|
|
1752
|
+
Query?: string;
|
|
1753
|
+
}
|
|
1754
|
+
/**
|
|
1755
|
+
* Workspace 工作空间信息
|
|
1756
|
+
*/
|
|
1757
|
+
export interface ConversationWorkspace {
|
|
1758
|
+
/**
|
|
1759
|
+
* <p>工作空间 ID</p>
|
|
1760
|
+
*/
|
|
1761
|
+
WorkspaceId: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* <p>存储类型</p>
|
|
1764
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1765
|
+
*/
|
|
1766
|
+
StorageType?: string;
|
|
1767
|
+
}
|
|
1768
|
+
/**
|
|
1769
|
+
* 联网搜索配置(国际版使用)
|
|
1770
|
+
*/
|
|
1771
|
+
export interface AppWebSearchConfig {
|
|
1772
|
+
/**
|
|
1773
|
+
* API密钥
|
|
1774
|
+
*/
|
|
1775
|
+
ApiKey: string;
|
|
1776
|
+
/**
|
|
1777
|
+
* 是否开启
|
|
1778
|
+
*/
|
|
1779
|
+
Enabled: boolean;
|
|
1780
|
+
/**
|
|
1781
|
+
* 服务提供商
|
|
1782
|
+
*/
|
|
1783
|
+
Provider: string;
|
|
1784
|
+
/**
|
|
1785
|
+
* 返回结果数量
|
|
1786
|
+
*/
|
|
1787
|
+
TopN: number;
|
|
1788
|
+
}
|
|
1789
|
+
/**
|
|
1790
|
+
* Agent 可编辑配置
|
|
1791
|
+
*/
|
|
1792
|
+
export interface AgentSpec {
|
|
1793
|
+
/**
|
|
1794
|
+
* <p>Agent基本配置</p>
|
|
1795
|
+
*/
|
|
1796
|
+
Profile?: AgentProfile;
|
|
1797
|
+
/**
|
|
1798
|
+
* 系统提示词
|
|
1799
|
+
*/
|
|
1800
|
+
Instructions?: string;
|
|
1801
|
+
/**
|
|
1802
|
+
* 主模型配置
|
|
1803
|
+
*/
|
|
1804
|
+
Model?: AgentModelConfig;
|
|
1805
|
+
/**
|
|
1806
|
+
* <p>工具信息</p>
|
|
1807
|
+
*/
|
|
1808
|
+
ToolList?: Array<AgentToolConfig>;
|
|
1809
|
+
/**
|
|
1810
|
+
* <p>插件信息</p>
|
|
1811
|
+
*/
|
|
1812
|
+
PluginList?: Array<AgentPluginConfig>;
|
|
1813
|
+
/**
|
|
1814
|
+
* <p>技能信息</p>
|
|
1815
|
+
*/
|
|
1816
|
+
SkillList?: Array<AgentSkillConfig>;
|
|
1817
|
+
/**
|
|
1818
|
+
* 高级设置
|
|
1819
|
+
*/
|
|
1820
|
+
AdvancedConfig?: AgentAdvancedConfig;
|
|
1821
|
+
}
|
|
1822
|
+
/**
|
|
1823
|
+
* ModifyConversation返回参数结构体
|
|
1824
|
+
*/
|
|
1825
|
+
export interface ModifyConversationResponse {
|
|
1826
|
+
/**
|
|
1827
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1828
|
+
*/
|
|
1829
|
+
RequestId?: string;
|
|
1830
|
+
}
|
|
1831
|
+
/**
|
|
1832
|
+
* QuoteInfo 参考来源索引信息
|
|
1833
|
+
*/
|
|
1834
|
+
export interface ConversationQuoteInfo {
|
|
1835
|
+
/**
|
|
1836
|
+
* <p>参考来源的索引值</p>
|
|
1837
|
+
*/
|
|
1838
|
+
Index: number;
|
|
1839
|
+
/**
|
|
1840
|
+
* <p>参考来源位置</p>
|
|
1841
|
+
*/
|
|
1842
|
+
Position: number;
|
|
1843
|
+
}
|
|
1844
|
+
/**
|
|
1845
|
+
* 应用密钥信息
|
|
1846
|
+
*/
|
|
1847
|
+
export interface AppSecretInfo {
|
|
1848
|
+
/**
|
|
1849
|
+
* 应用密钥
|
|
1850
|
+
*/
|
|
1851
|
+
AppKey: string;
|
|
1852
|
+
/**
|
|
1853
|
+
* 创建时间
|
|
1854
|
+
*/
|
|
1855
|
+
CreateTime: string;
|
|
1856
|
+
}
|
|
1857
|
+
/**
|
|
1858
|
+
* Agent 详情
|
|
1859
|
+
*/
|
|
1860
|
+
export interface AgentDetail {
|
|
1861
|
+
/**
|
|
1862
|
+
* <p>Agent ID</p>
|
|
1863
|
+
*/
|
|
1864
|
+
AgentId?: string;
|
|
1865
|
+
/**
|
|
1866
|
+
* <p>Agent基本配置</p>
|
|
1867
|
+
*/
|
|
1868
|
+
Profile?: AgentProfile;
|
|
1869
|
+
/**
|
|
1870
|
+
* <p>系统提示词</p>
|
|
1871
|
+
*/
|
|
1872
|
+
Instructions?: string;
|
|
1873
|
+
/**
|
|
1874
|
+
* <p>模型信息</p>
|
|
1875
|
+
*/
|
|
1876
|
+
Model?: AgentModelConfig;
|
|
1877
|
+
/**
|
|
1878
|
+
* <p>工具详情</p>
|
|
1879
|
+
*/
|
|
1880
|
+
ToolList?: Array<AgentTool>;
|
|
1881
|
+
/**
|
|
1882
|
+
* <p>插件配置</p>
|
|
1883
|
+
*/
|
|
1884
|
+
PluginList?: Array<AgentPlugin>;
|
|
1885
|
+
/**
|
|
1886
|
+
* <p>技能详情</p>
|
|
1887
|
+
*/
|
|
1888
|
+
SkillList?: Array<AgentSkill>;
|
|
1889
|
+
/**
|
|
1890
|
+
* <p>高级配置</p>
|
|
1891
|
+
*/
|
|
1892
|
+
AdvancedConfig?: AgentAdvancedConfig;
|
|
1893
|
+
}
|
|
1894
|
+
/**
|
|
1895
|
+
* 思考模型配置
|
|
1896
|
+
*/
|
|
1897
|
+
export interface ThinkModel {
|
|
1898
|
+
/**
|
|
1899
|
+
* 思考模型
|
|
1900
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1901
|
+
*/
|
|
1902
|
+
Model: ModelDetailInfo;
|
|
1903
|
+
}
|
|
1904
|
+
/**
|
|
1905
|
+
* DescribeSpaceList返回参数结构体
|
|
1906
|
+
*/
|
|
1907
|
+
export interface DescribeSpaceListResponse {
|
|
1908
|
+
/**
|
|
1909
|
+
* 总数
|
|
1910
|
+
*/
|
|
1911
|
+
TotalCount?: string;
|
|
1912
|
+
/**
|
|
1913
|
+
* 空间列表
|
|
1914
|
+
*/
|
|
1915
|
+
SpaceList?: Array<Space>;
|
|
1916
|
+
/**
|
|
1917
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1918
|
+
*/
|
|
1919
|
+
RequestId?: string;
|
|
1920
|
+
}
|
|
1921
|
+
/**
|
|
1922
|
+
* [数据结构定义] 发布记录
|
|
1923
|
+
*/
|
|
1924
|
+
export interface ReleaseRecord {
|
|
1925
|
+
/**
|
|
1926
|
+
* 是否可导出
|
|
1927
|
+
*/
|
|
1928
|
+
CanExport: boolean;
|
|
1929
|
+
/**
|
|
1930
|
+
* 是否可回滚
|
|
1931
|
+
*/
|
|
1932
|
+
CanRollback: boolean;
|
|
1933
|
+
/**
|
|
1934
|
+
* 发布描述
|
|
1935
|
+
*/
|
|
1936
|
+
Description: string;
|
|
1937
|
+
/**
|
|
1938
|
+
* 发布失败数
|
|
1939
|
+
*/
|
|
1940
|
+
FailCount: number;
|
|
1941
|
+
/**
|
|
1942
|
+
* 失败原因
|
|
1943
|
+
*/
|
|
1944
|
+
Reason: string;
|
|
1945
|
+
/**
|
|
1946
|
+
* 发布ID
|
|
1947
|
+
*/
|
|
1948
|
+
ReleaseId: string;
|
|
1949
|
+
/**
|
|
1950
|
+
* 发布版本
|
|
1951
|
+
*/
|
|
1952
|
+
ReleaseVersion: string;
|
|
1953
|
+
/**
|
|
1954
|
+
* 发布状态。枚举值: 1:待发布, 2:发布中, 3:发布成功, 4:发布失败, 5:审核中, 6:审核成功, 7:审核失败, 8:发布成功回调处理中, 9:发布暂停, 10:申诉审核中, 11:申诉审核通过, 12:申诉审核不通过
|
|
1955
|
+
*/
|
|
1956
|
+
Status: number;
|
|
1957
|
+
/**
|
|
1958
|
+
* 状态描述
|
|
1959
|
+
*/
|
|
1960
|
+
StatusDescription: string;
|
|
1961
|
+
/**
|
|
1962
|
+
* 发布成功数
|
|
1963
|
+
*/
|
|
1964
|
+
SuccessCount: number;
|
|
1965
|
+
/**
|
|
1966
|
+
* 更新时间 (Unix时间戳,秒级)
|
|
1967
|
+
*/
|
|
1968
|
+
UpdateTime: string;
|
|
1969
|
+
/**
|
|
1970
|
+
* 发布人
|
|
1971
|
+
*/
|
|
1972
|
+
Updater: string;
|
|
1973
|
+
}
|
|
1974
|
+
/**
|
|
1975
|
+
* CreateApp请求参数结构体
|
|
1976
|
+
*/
|
|
1977
|
+
export interface CreateAppRequest {
|
|
1978
|
+
/**
|
|
1979
|
+
* 空间ID
|
|
1980
|
+
*/
|
|
1981
|
+
SpaceId: string;
|
|
1982
|
+
/**
|
|
1983
|
+
* 应用模式。枚举值: 1:标准模式, 2:Agent模式, 3:单工作流模式, 4:ClawAgent模式
|
|
1984
|
+
*/
|
|
1985
|
+
AppMode?: number;
|
|
1986
|
+
/**
|
|
1987
|
+
* 应用头像
|
|
1988
|
+
*/
|
|
1989
|
+
Avatar?: string;
|
|
1990
|
+
/**
|
|
1991
|
+
* 应用描述
|
|
1992
|
+
*/
|
|
1993
|
+
Description?: string;
|
|
1994
|
+
/**
|
|
1995
|
+
* 应用名称
|
|
1996
|
+
*/
|
|
1997
|
+
Name?: string;
|
|
1998
|
+
}
|
|
1999
|
+
/**
|
|
2000
|
+
* DeleteApp返回参数结构体
|
|
2001
|
+
*/
|
|
2002
|
+
export interface DeleteAppResponse {
|
|
2003
|
+
/**
|
|
2004
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2005
|
+
*/
|
|
2006
|
+
RequestId?: string;
|
|
2007
|
+
}
|
|
2008
|
+
/**
|
|
2009
|
+
* 应用辅助信息 - 包含各类辅助状态和扩展信息(用户不可修改)
|
|
2010
|
+
*/
|
|
2011
|
+
export interface AppAuxiliaryInfo {
|
|
2012
|
+
/**
|
|
2013
|
+
* 申诉信息
|
|
2014
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2015
|
+
*/
|
|
2016
|
+
Appeal: AppAppeal;
|
|
2017
|
+
/**
|
|
2018
|
+
* 搜索资源状态
|
|
2019
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2020
|
+
*/
|
|
2021
|
+
SearchResourceStatus: SearchResourceStatusInfo;
|
|
2022
|
+
/**
|
|
2023
|
+
* 特殊状态信息
|
|
2024
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2025
|
+
*/
|
|
2026
|
+
SpecialStatusInfo: SpecialStatusInfo;
|
|
2027
|
+
/**
|
|
2028
|
+
* 子状态信息
|
|
2029
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2030
|
+
*/
|
|
2031
|
+
SubStatus: AppSubStatusInfo;
|
|
2032
|
+
/**
|
|
2033
|
+
* 模版中心同步信息(私有化独有)
|
|
2034
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2035
|
+
*/
|
|
2036
|
+
TemplatePublish: TemplatePublishInfo;
|
|
2037
|
+
}
|
|
2038
|
+
/**
|
|
2039
|
+
* Agent的工具基础配置
|
|
2040
|
+
*/
|
|
2041
|
+
export interface AgentToolBasicConfig {
|
|
2042
|
+
/**
|
|
2043
|
+
* <p>插件id</p>
|
|
2044
|
+
*/
|
|
2045
|
+
PluginId?: string;
|
|
2046
|
+
/**
|
|
2047
|
+
* <p>工具id</p>
|
|
2048
|
+
*/
|
|
2049
|
+
ToolId?: string;
|
|
2050
|
+
/**
|
|
2051
|
+
* <p>描述</p>
|
|
2052
|
+
*/
|
|
2053
|
+
Description?: string;
|
|
2054
|
+
/**
|
|
2055
|
+
* <p>工具输入参数列表</p>
|
|
2056
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2057
|
+
*/
|
|
2058
|
+
InputList?: Array<AgentToolInputParameter>;
|
|
2059
|
+
/**
|
|
2060
|
+
* <p>工具输出参数列表</p>
|
|
2061
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2062
|
+
*/
|
|
2063
|
+
OutputList?: Array<AgentToolOutputParameter>;
|
|
2064
|
+
/**
|
|
2065
|
+
* <p>工具Header参数列表</p>
|
|
2066
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2067
|
+
*/
|
|
2068
|
+
HeaderParameterList?: Array<AgentPluginParameter>;
|
|
2069
|
+
/**
|
|
2070
|
+
* <p>工具Query参数列表</p>
|
|
2071
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2072
|
+
*/
|
|
2073
|
+
QueryParameterList?: Array<AgentPluginParameter>;
|
|
2074
|
+
/**
|
|
2075
|
+
* <p>工具来源: 0-来自插件,1-来自工作流</p>
|
|
2076
|
+
*/
|
|
2077
|
+
ToolSource?: number;
|
|
2078
|
+
/**
|
|
2079
|
+
* <p>是否禁用</p>
|
|
2080
|
+
*/
|
|
2081
|
+
IsDisabled?: boolean;
|
|
2082
|
+
}
|
|
2083
|
+
/**
|
|
2084
|
+
* 模版中心同步信息(私有化独有 - 公有云/SaaS 版本忽略此字段)
|
|
2085
|
+
*/
|
|
2086
|
+
export interface TemplatePublishInfo {
|
|
2087
|
+
/**
|
|
2088
|
+
* 是否已同步到模版中心
|
|
2089
|
+
*/
|
|
2090
|
+
IsPublished: boolean;
|
|
2091
|
+
}
|
|
2092
|
+
/**
|
|
2093
|
+
* PluginStatistics
|
|
2094
|
+
*/
|
|
2095
|
+
export interface PluginStatistics {
|
|
2096
|
+
/**
|
|
2097
|
+
* 插件调用量
|
|
2098
|
+
*/
|
|
2099
|
+
CallCount?: number;
|
|
2100
|
+
/**
|
|
2101
|
+
* 工具数量
|
|
2102
|
+
*/
|
|
2103
|
+
ToolCount?: number;
|
|
2104
|
+
}
|
|
2105
|
+
/**
|
|
2106
|
+
* 应用状态信息 - 运行时状态信息(用户不可修改)
|
|
2107
|
+
*/
|
|
2108
|
+
export interface AppStatusInfo {
|
|
2109
|
+
/**
|
|
2110
|
+
* 应用状态 (OFFLINE:未上线, RUNNING:运行中, DISABLED:停用)。枚举值: 1:未上线, 2:运行中, 3:停用
|
|
2111
|
+
*/
|
|
2112
|
+
Status: number;
|
|
2113
|
+
/**
|
|
2114
|
+
* 状态描述
|
|
2115
|
+
*/
|
|
2116
|
+
StatusDescription: string;
|
|
2117
|
+
}
|
|
2118
|
+
/**
|
|
2119
|
+
* 文档解析模型参数
|
|
2120
|
+
*/
|
|
2121
|
+
export interface FileParseModel {
|
|
2122
|
+
/**
|
|
2123
|
+
* 模型别名
|
|
2124
|
+
*/
|
|
2125
|
+
Alias: string;
|
|
2126
|
+
/**
|
|
2127
|
+
* 模型描述
|
|
2128
|
+
*/
|
|
2129
|
+
Description: string;
|
|
2130
|
+
/**
|
|
2131
|
+
* 增强模式
|
|
2132
|
+
*/
|
|
2133
|
+
EnhancementMode: string;
|
|
2134
|
+
/**
|
|
2135
|
+
* 模型唯一ID
|
|
2136
|
+
*/
|
|
2137
|
+
ModelId: string;
|
|
2138
|
+
/**
|
|
2139
|
+
* 模型类型
|
|
2140
|
+
*/
|
|
2141
|
+
ModelProviderType: string;
|
|
2142
|
+
/**
|
|
2143
|
+
* 是否启用公式增强
|
|
2144
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2145
|
+
*/
|
|
2146
|
+
EnableFormulaEnhancement?: boolean;
|
|
2147
|
+
/**
|
|
2148
|
+
* 是否启用 LLM 增强
|
|
2149
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2150
|
+
*/
|
|
2151
|
+
EnableLLMEnhancement?: boolean;
|
|
2152
|
+
/**
|
|
2153
|
+
* 是否输出 HTML 表格
|
|
2154
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2155
|
+
*/
|
|
2156
|
+
OutputHtmlTable?: boolean;
|
|
2157
|
+
/**
|
|
2158
|
+
* 支持的文件类型列表
|
|
2159
|
+
*/
|
|
2160
|
+
SupportedFileList?: Array<SupportedFileType>;
|
|
2161
|
+
}
|
|
2162
|
+
/**
|
|
2163
|
+
* 应用申诉信息(用户不可修改)
|
|
2164
|
+
*/
|
|
2165
|
+
export interface AppAppeal {
|
|
2166
|
+
/**
|
|
2167
|
+
* 申诉中的配置项
|
|
2168
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2169
|
+
*/
|
|
2170
|
+
AppealingStatus: AppealingStatus;
|
|
2171
|
+
}
|
|
2172
|
+
/**
|
|
2173
|
+
* DescribeAgentReleasePreviewList返回参数结构体
|
|
2174
|
+
*/
|
|
2175
|
+
export interface DescribeAgentReleasePreviewListResponse {
|
|
2176
|
+
/**
|
|
2177
|
+
* <p>发布预览列表</p>
|
|
2178
|
+
*/
|
|
2179
|
+
ReleaseList?: Array<AgentReleasePreview>;
|
|
2180
|
+
/**
|
|
2181
|
+
* <p>总数</p>
|
|
2182
|
+
*/
|
|
2183
|
+
TotalCount?: number;
|
|
2184
|
+
/**
|
|
2185
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2186
|
+
*/
|
|
2187
|
+
RequestId?: string;
|
|
2188
|
+
}
|
|
2189
|
+
/**
|
|
2190
|
+
* DeleteConversation返回参数结构体
|
|
2191
|
+
*/
|
|
2192
|
+
export interface DeleteConversationResponse {
|
|
2193
|
+
/**
|
|
2194
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2195
|
+
*/
|
|
2196
|
+
RequestId?: string;
|
|
2197
|
+
}
|
|
2198
|
+
/**
|
|
2199
|
+
* AppToolConfig
|
|
2200
|
+
*/
|
|
2201
|
+
export interface AppToolConfig {
|
|
2202
|
+
/**
|
|
2203
|
+
* 输入参数
|
|
2204
|
+
*/
|
|
2205
|
+
Inputs?: Array<RequestParam>;
|
|
2206
|
+
/**
|
|
2207
|
+
* 输出参数
|
|
2208
|
+
*/
|
|
2209
|
+
Outputs?: Array<ResponseParam>;
|
|
2210
|
+
}
|
|
2211
|
+
/**
|
|
2212
|
+
* ResetConversation请求参数结构体
|
|
2213
|
+
*/
|
|
2214
|
+
export interface ResetConversationRequest {
|
|
2215
|
+
/**
|
|
2216
|
+
* <p>会话 ID</p>
|
|
2217
|
+
*/
|
|
2218
|
+
ConversationId: string;
|
|
2219
|
+
/**
|
|
2220
|
+
* <p>会话类型 枚举值: 0-CONVERSATION_TYPE_UNSPECIFIED(未指定;列表查询时表示全部), 1-CONVERSATION_TYPE_VISITOR(访客端体验), 2-CONVERSATION_TYPE_EVALUATION(评测), 5-CONVERSATION_TYPE_API(API 接入), 10-CONVERSATION_TYPE_WORKFLOW(工作流调试), 20-CONVERSATION_TYPE_SHARE(分享链接)</p>
|
|
2221
|
+
*/
|
|
2222
|
+
Type: number;
|
|
2223
|
+
/**
|
|
2224
|
+
* <p>Type=CONVERSATION_TYPE_API 时必填,应用密钥</p>
|
|
2225
|
+
*/
|
|
2226
|
+
AppKey?: string;
|
|
2227
|
+
/**
|
|
2228
|
+
* <p>子用户Uin</p>
|
|
2229
|
+
*/
|
|
2230
|
+
LoginSubAccountUin?: string;
|
|
2231
|
+
/**
|
|
2232
|
+
* <p>主用户Uin</p>
|
|
2233
|
+
*/
|
|
2234
|
+
LoginUin?: string;
|
|
2235
|
+
/**
|
|
2236
|
+
* <p>Type=CONVERSATION_TYPE_SHARE 时必填,分享码</p>
|
|
2237
|
+
*/
|
|
2238
|
+
ShareCode?: string;
|
|
2239
|
+
/**
|
|
2240
|
+
* <p>Type=CONVERSATION_TYPE_API 时必填,访客ID</p>
|
|
2241
|
+
*/
|
|
2242
|
+
UserId?: string;
|
|
2243
|
+
}
|
|
2244
|
+
/**
|
|
2245
|
+
* ModifyAgent返回参数结构体
|
|
2246
|
+
*/
|
|
2247
|
+
export interface ModifyAgentResponse {
|
|
2248
|
+
/**
|
|
2249
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2250
|
+
*/
|
|
2251
|
+
RequestId?: string;
|
|
2252
|
+
}
|
|
2253
|
+
/**
|
|
2254
|
+
* DescribeLatestRelease返回参数结构体
|
|
2255
|
+
*/
|
|
2256
|
+
export interface DescribeLatestReleaseResponse {
|
|
2257
|
+
/**
|
|
2258
|
+
* 是否有发布变更
|
|
2259
|
+
*/
|
|
2260
|
+
IsChanged?: boolean;
|
|
2261
|
+
/**
|
|
2262
|
+
* 发布信息
|
|
2263
|
+
*/
|
|
2264
|
+
ReleaseSummary?: ReleaseSummary;
|
|
2265
|
+
/**
|
|
2266
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2267
|
+
*/
|
|
2268
|
+
RequestId?: string;
|
|
2269
|
+
}
|
|
2270
|
+
/**
|
|
2271
|
+
* 定义工具的回复参数
|
|
2272
|
+
*/
|
|
2273
|
+
export interface ResponseParam {
|
|
2274
|
+
/**
|
|
2275
|
+
* 变量描述
|
|
2276
|
+
*/
|
|
2277
|
+
Description: string;
|
|
2278
|
+
/**
|
|
2279
|
+
* 参数名称
|
|
2280
|
+
*/
|
|
2281
|
+
Name: string;
|
|
2282
|
+
/**
|
|
2283
|
+
* 参数类型
|
|
2284
|
+
|
|
2285
|
+
枚举值:
|
|
2286
|
+
| uint | 描述 |
|
|
2287
|
+
| --- | --- |
|
|
2288
|
+
| 0 | 默认值是string,如果不填就按string处理 |
|
|
2289
|
+
| 1 | |
|
|
2290
|
+
| 2 | |
|
|
2291
|
+
| 3 | |
|
|
2292
|
+
| 4 | |
|
|
2293
|
+
| 5 | |
|
|
2294
|
+
| 6 | |
|
|
2295
|
+
| 7 | |
|
|
2296
|
+
| 8 | |
|
|
2297
|
+
| 9 | |
|
|
2298
|
+
| 20 | |
|
|
2299
|
+
| 99 | 空值 |
|
|
2300
|
+
| 100 | 未指定类型,用于类型为OneOf和AnyOf的场景 |
|
|
2301
|
+
*/
|
|
2302
|
+
Type: number;
|
|
2303
|
+
/**
|
|
2304
|
+
*
|
|
2305
|
+
枚举值:
|
|
2306
|
+
| uint | 描述 |
|
|
2307
|
+
| --- | --- |
|
|
2308
|
+
| 0 | 覆盖(全量替换) |
|
|
2309
|
+
| 1 | 增量追加 |
|
|
2310
|
+
*/
|
|
2311
|
+
RenderMode?: number;
|
|
2312
|
+
/**
|
|
2313
|
+
* 只对 OBJECT 或 ARRAY_OBJECT 类型有用
|
|
2314
|
+
*/
|
|
2315
|
+
SubParams?: Array<ResponseParam>;
|
|
2316
|
+
}
|
|
2317
|
+
/**
|
|
2318
|
+
* 多模态问答模型配置
|
|
2319
|
+
*/
|
|
2320
|
+
export interface MultiModalQAModel {
|
|
2321
|
+
/**
|
|
2322
|
+
* 模型配置
|
|
2323
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2324
|
+
*/
|
|
2325
|
+
Model: ModelDetailInfo;
|
|
2326
|
+
}
|
|
2327
|
+
/**
|
|
2328
|
+
* ToolBilling
|
|
2329
|
+
*/
|
|
2330
|
+
export interface ToolBilling {
|
|
2331
|
+
/**
|
|
2332
|
+
* 计费类型
|
|
2333
|
+
枚举值:
|
|
2334
|
+
| uint | 描述 |
|
|
2335
|
+
| --- | --- |
|
|
2336
|
+
| 0 | 免费 |
|
|
2337
|
+
| 1 | 限时免费 |
|
|
2338
|
+
| 2 | 官方收费 |
|
|
2339
|
+
| 3 | 官方收费(存量老用户限时免费) |
|
|
2340
|
+
*/
|
|
2341
|
+
BillingType?: number;
|
|
2342
|
+
}
|
|
2343
|
+
/**
|
|
2344
|
+
* 单工作流配置
|
|
2345
|
+
*/
|
|
2346
|
+
export interface SingleWorkflowConfig {
|
|
2347
|
+
/**
|
|
2348
|
+
* 是否开启异步工作流
|
|
2349
|
+
*/
|
|
2350
|
+
AsyncWorkflow: boolean;
|
|
2351
|
+
/**
|
|
2352
|
+
* 状态 发布状态(UNPUBLISHED: 待发布 PUBLISHING: 发布中 PUBLISHED: 已发布 PUBLISHED_FAIL:发布失败;DRAFT:待调试)
|
|
2353
|
+
*/
|
|
2354
|
+
Status: string;
|
|
2355
|
+
/**
|
|
2356
|
+
* 工作流描述
|
|
2357
|
+
*/
|
|
2358
|
+
WorkflowDescription: string;
|
|
2359
|
+
/**
|
|
2360
|
+
* 工作流Id
|
|
2361
|
+
*/
|
|
2362
|
+
WorkflowId: string;
|
|
2363
|
+
/**
|
|
2364
|
+
* 工作流名称
|
|
2365
|
+
*/
|
|
2366
|
+
WorkflowName: string;
|
|
2367
|
+
}
|
|
2368
|
+
/**
|
|
2369
|
+
* DescribeApp请求参数结构体
|
|
2370
|
+
*/
|
|
2371
|
+
export interface DescribeAppRequest {
|
|
2372
|
+
/**
|
|
2373
|
+
* 应用ID
|
|
2374
|
+
*/
|
|
2375
|
+
AppId: string;
|
|
2376
|
+
/**
|
|
2377
|
+
* 应用域: ADP_DOMAIN_DEV(1)=开发域, ADP_DOMAIN_PROD(2)=发布域。枚举值: 1:开发域, 2:生产域
|
|
2378
|
+
*/
|
|
2379
|
+
Domain?: number;
|
|
2380
|
+
/**
|
|
2381
|
+
* 字段掩码,指定需要返回的字段(Paths为空则返回所有字段)。Paths枚举值:AppConfig(应用配置), SecretInfo(应用密钥信息), ShareUrlInfo(分享链接信息), SpecialStatusInfo(特殊状态信息), SearchResourceStatus(搜索资源状态), SharedKnowledgeList(应用引用的共享知识库列表)
|
|
2382
|
+
*/
|
|
2383
|
+
FieldMask?: FieldMask;
|
|
2384
|
+
/**
|
|
2385
|
+
* 特殊状态类型(当FieldMask包含SpecialStatusInfo时必填)。枚举值: 1:回滚状态, 2:首次导入状态
|
|
2386
|
+
*/
|
|
2387
|
+
StatusType?: number;
|
|
2388
|
+
}
|
|
2389
|
+
/**
|
|
2390
|
+
* Agent 工具入参
|
|
2391
|
+
*/
|
|
2392
|
+
export interface AgentToolConfig {
|
|
2393
|
+
/**
|
|
2394
|
+
* <p>工具配置</p>
|
|
2395
|
+
*/
|
|
2396
|
+
Config?: AgentToolBasicConfig;
|
|
2397
|
+
}
|
|
2398
|
+
/**
|
|
2399
|
+
* ModifyVariable返回参数结构体
|
|
2400
|
+
*/
|
|
2401
|
+
export interface ModifyVariableResponse {
|
|
2402
|
+
/**
|
|
2403
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2404
|
+
*/
|
|
2405
|
+
RequestId?: string;
|
|
2406
|
+
}
|
|
2407
|
+
/**
|
|
2408
|
+
* Agent 技能入参
|
|
2409
|
+
*/
|
|
2410
|
+
export interface AgentSkillConfig {
|
|
2411
|
+
/**
|
|
2412
|
+
* <p>技能ID</p>
|
|
2413
|
+
*/
|
|
2414
|
+
SkillId?: string;
|
|
2415
|
+
}
|
|
2416
|
+
/**
|
|
2417
|
+
* ModifyAgent请求参数结构体
|
|
2418
|
+
*/
|
|
2419
|
+
export interface ModifyAgentRequest {
|
|
2420
|
+
/**
|
|
2421
|
+
* <p>应用Id</p>
|
|
2422
|
+
*/
|
|
2423
|
+
AppId?: string;
|
|
2424
|
+
/**
|
|
2425
|
+
* <p>Agent Id</p>
|
|
2426
|
+
*/
|
|
2427
|
+
AgentId?: string;
|
|
2428
|
+
/**
|
|
2429
|
+
* <p>修改后的Agent的信息</p>
|
|
2430
|
+
*/
|
|
2431
|
+
Agent?: AgentSpec;
|
|
2432
|
+
/**
|
|
2433
|
+
* <p>需要更新的字段路径,如 ["instructions", "model", "tool_list", "plugin_list", "skill_list", "advanced_config"]</p>
|
|
2434
|
+
*/
|
|
2435
|
+
UpdateMask?: FieldMask;
|
|
2436
|
+
}
|
|
2437
|
+
/**
|
|
2438
|
+
* DescribeModelList请求参数结构体
|
|
2439
|
+
*/
|
|
2440
|
+
export interface DescribeModelListRequest {
|
|
2441
|
+
/**
|
|
2442
|
+
* 模型场景。1-标准生成, 2-标准思考, 3-Agent思考, 4-多模态理解, 5-多模态问答, 6-改写, 7-长期记忆, 8-自然语言转SQL, 9-AI优化, 10-实时文件解析, 11-文件解析, 12-GraphRAG, 13-OpenClaw, 14-多模态Embedding, 15-Rerank, 16-文本Embedding, 17-Widget, 18-Claw模式, 19-工作流代码生成, 20-工作流大模型节点, 21-工作流节点专用向量化, 22-工作流参数提取, 23-工作流大模型知识问答, 24-工作流标签提取, 25-工作流意图识别, 26-工作流选项卡, 27-工作流逻辑判断, 28-文档生成问答, 29-知识库Schema
|
|
2443
|
+
*/
|
|
2444
|
+
ModelScene: number;
|
|
2445
|
+
/**
|
|
2446
|
+
* 空间ID
|
|
2447
|
+
*/
|
|
2448
|
+
SpaceId?: string;
|
|
2449
|
+
}
|
|
2450
|
+
/**
|
|
2451
|
+
* DescribeLatestRelease请求参数结构体
|
|
2452
|
+
*/
|
|
2453
|
+
export interface DescribeLatestReleaseRequest {
|
|
2454
|
+
/**
|
|
2455
|
+
* app_id
|
|
2456
|
+
*/
|
|
2457
|
+
AppId: string;
|
|
2458
|
+
}
|
|
2459
|
+
/**
|
|
2460
|
+
* Agent 的插件基本配置
|
|
2461
|
+
*/
|
|
2462
|
+
export interface AgentPluginConfig {
|
|
2463
|
+
/**
|
|
2464
|
+
* <p>插件id</p>
|
|
2465
|
+
*/
|
|
2466
|
+
PluginId?: string;
|
|
2467
|
+
/**
|
|
2468
|
+
* <p>插件 Header 参数</p>
|
|
2469
|
+
*/
|
|
2470
|
+
HeaderParameterList?: Array<AgentPluginParameter>;
|
|
2471
|
+
/**
|
|
2472
|
+
* <p>插件 Query 参数</p>
|
|
2473
|
+
*/
|
|
2474
|
+
QueryParameterList?: Array<AgentPluginParameter>;
|
|
2475
|
+
/**
|
|
2476
|
+
* <p>是否使用CAM一键授权,仅 auth_type=2时生效</p>
|
|
2477
|
+
*/
|
|
2478
|
+
EnableCamRoleAuth?: boolean;
|
|
2479
|
+
/**
|
|
2480
|
+
* <p>授权类型</p><p>枚举值:</p><ul><li>0: 无鉴权</li><li>1: API Key</li><li>2: CAM授权</li><li>3: OAuth2.0授权</li></ul>
|
|
2481
|
+
*/
|
|
2482
|
+
AuthType?: number;
|
|
2483
|
+
/**
|
|
2484
|
+
* OAuth 授权同意模式;0-开发者授权;1-使用者授权(仅在auth_type=3时生效)
|
|
2485
|
+
*/
|
|
2486
|
+
OAuthConsent?: number;
|
|
2487
|
+
}
|
|
2488
|
+
/**
|
|
2489
|
+
* 插件概要信息(用于插件列表)
|
|
2490
|
+
*/
|
|
2491
|
+
export interface PluginSummary {
|
|
2492
|
+
/**
|
|
2493
|
+
* 插件运营管理信息
|
|
2494
|
+
*/
|
|
2495
|
+
Operation?: PluginOperation;
|
|
2496
|
+
/**
|
|
2497
|
+
* 插件id
|
|
2498
|
+
*/
|
|
2499
|
+
PluginId?: string;
|
|
2500
|
+
/**
|
|
2501
|
+
* 插件基础信息
|
|
2502
|
+
*/
|
|
2503
|
+
Profile?: PluginProfile;
|
|
2504
|
+
/**
|
|
2505
|
+
* 插件统计信息
|
|
2506
|
+
*/
|
|
2507
|
+
Statistics?: PluginStatistics;
|
|
2508
|
+
/**
|
|
2509
|
+
* <p>插件状态,1:可用,2:不可用 </p><p>枚举值:</p><ul><li>1: 可用</li><li>2: 不可用</li></ul>
|
|
2510
|
+
*/
|
|
2511
|
+
Status?: number;
|
|
2512
|
+
/**
|
|
2513
|
+
* 用户维度的插件状态信息
|
|
2514
|
+
*/
|
|
2515
|
+
UserState?: PluginUserState;
|
|
2516
|
+
}
|
|
2517
|
+
/**
|
|
2518
|
+
* Agent 基本配置
|
|
2519
|
+
*/
|
|
2520
|
+
export interface AgentProfile {
|
|
2521
|
+
/**
|
|
2522
|
+
* <p>Agent名称</p>
|
|
2523
|
+
*/
|
|
2524
|
+
Name?: string;
|
|
2525
|
+
/**
|
|
2526
|
+
* <p>图标URL</p>
|
|
2527
|
+
*/
|
|
2528
|
+
IconUrl?: string;
|
|
2529
|
+
}
|
|
2530
|
+
/**
|
|
2531
|
+
* CreateWorkspaceCredential返回参数结构体
|
|
2532
|
+
*/
|
|
2533
|
+
export interface CreateWorkspaceCredentialResponse {
|
|
2534
|
+
/**
|
|
2535
|
+
* <p>存储类型</p>
|
|
2536
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2537
|
+
*/
|
|
2538
|
+
StorageType?: string;
|
|
2539
|
+
/**
|
|
2540
|
+
* <p>工作空间 ID</p>
|
|
2541
|
+
*/
|
|
2542
|
+
WorkspaceId?: string;
|
|
2543
|
+
/**
|
|
2544
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2545
|
+
*/
|
|
2546
|
+
RequestId?: string;
|
|
2547
|
+
}
|
|
2548
|
+
/**
|
|
2549
|
+
* 模型参数
|
|
2550
|
+
*/
|
|
2551
|
+
export interface ModelParams {
|
|
2552
|
+
/**
|
|
2553
|
+
* 是否开启深度思考
|
|
2554
|
+
*/
|
|
2555
|
+
DeepThinking: string;
|
|
2556
|
+
/**
|
|
2557
|
+
* 深度思考效果
|
|
2558
|
+
*/
|
|
2559
|
+
ReasoningEffort: string;
|
|
2560
|
+
/**
|
|
2561
|
+
* 输出格式 text、json_object
|
|
2562
|
+
*/
|
|
2563
|
+
ReplyFormat: string;
|
|
2564
|
+
/**
|
|
2565
|
+
* 频率惩罚
|
|
2566
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2567
|
+
*/
|
|
2568
|
+
FrequencyPenalty?: number;
|
|
2569
|
+
/**
|
|
2570
|
+
* 最大输出长度
|
|
2571
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2572
|
+
*/
|
|
2573
|
+
MaxTokens?: number;
|
|
2574
|
+
/**
|
|
2575
|
+
* 存在惩罚
|
|
2576
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2577
|
+
*/
|
|
2578
|
+
PresencePenalty?: number;
|
|
2579
|
+
/**
|
|
2580
|
+
* 重复惩罚
|
|
2581
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2582
|
+
*/
|
|
2583
|
+
RepetitionPenalty?: number;
|
|
2584
|
+
/**
|
|
2585
|
+
* seed 随机种子
|
|
2586
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2587
|
+
*/
|
|
2588
|
+
Seed?: number;
|
|
2589
|
+
/**
|
|
2590
|
+
* 停止序列
|
|
2591
|
+
*/
|
|
2592
|
+
StopSequenceList?: Array<string>;
|
|
2593
|
+
/**
|
|
2594
|
+
* 温度
|
|
2595
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2596
|
+
*/
|
|
2597
|
+
Temperature?: number;
|
|
2598
|
+
/**
|
|
2599
|
+
* top_p
|
|
2600
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2601
|
+
*/
|
|
2602
|
+
TopP?: number;
|
|
2603
|
+
}
|
|
2604
|
+
/**
|
|
2605
|
+
* RetryRelease返回参数结构体
|
|
2606
|
+
*/
|
|
2607
|
+
export interface RetryReleaseResponse {
|
|
2608
|
+
/**
|
|
2609
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2610
|
+
*/
|
|
2611
|
+
RequestId?: string;
|
|
2612
|
+
}
|
|
2613
|
+
/**
|
|
2614
|
+
* Agent输入值,支持直接赋值和引用
|
|
2615
|
+
*/
|
|
2616
|
+
export interface AgentInput {
|
|
2617
|
+
/**
|
|
2618
|
+
* <p>输入来源类型:0 用户输入,3 自定义变量(API参数)</p>
|
|
2619
|
+
*/
|
|
2620
|
+
InputType?: number;
|
|
2621
|
+
/**
|
|
2622
|
+
* <p>用户手写输入</p>
|
|
2623
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2624
|
+
*/
|
|
2625
|
+
UserInputValue?: AgentUserInputValue;
|
|
2626
|
+
/**
|
|
2627
|
+
* <p>系统参数</p>
|
|
2628
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2629
|
+
*/
|
|
2630
|
+
SystemVariable?: AgentSystemVariable;
|
|
2631
|
+
/**
|
|
2632
|
+
* <p>自定义变量(API参数)</p>
|
|
2633
|
+
*/
|
|
2634
|
+
CustomVariableId?: string;
|
|
2635
|
+
/**
|
|
2636
|
+
* <p>环境变量参数</p>
|
|
2637
|
+
*/
|
|
2638
|
+
EnvVariableId?: string;
|
|
2639
|
+
/**
|
|
2640
|
+
* <p>应用变量参数</p>
|
|
2641
|
+
*/
|
|
2642
|
+
AppVariableId?: string;
|
|
2643
|
+
}
|
|
2644
|
+
/**
|
|
2645
|
+
* 智能通话配置
|
|
2646
|
+
*/
|
|
2647
|
+
export interface AICallConfig {
|
|
2648
|
+
/**
|
|
2649
|
+
* 数智人配置
|
|
2650
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2651
|
+
*/
|
|
2652
|
+
DigitalHuman: DigitalHumanConfig;
|
|
2653
|
+
/**
|
|
2654
|
+
* 启用数智人
|
|
2655
|
+
*/
|
|
2656
|
+
EnableDigitalHuman: boolean;
|
|
2657
|
+
/**
|
|
2658
|
+
* 启用语音通话
|
|
2659
|
+
*/
|
|
2660
|
+
EnableVoiceCall: boolean;
|
|
2661
|
+
/**
|
|
2662
|
+
* 启用语音互动功能
|
|
2663
|
+
*/
|
|
2664
|
+
EnableVoiceInteract: boolean;
|
|
2665
|
+
/**
|
|
2666
|
+
* 音色配置
|
|
2667
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2668
|
+
*/
|
|
2669
|
+
Voice: VoiceConfig;
|
|
2670
|
+
}
|
|
2671
|
+
/**
|
|
2672
|
+
* Agent 发布预览信息
|
|
2673
|
+
*/
|
|
2674
|
+
export interface AgentReleasePreview {
|
|
2675
|
+
/**
|
|
2676
|
+
* <p>AgentID</p>
|
|
2677
|
+
*/
|
|
2678
|
+
AgentId?: string;
|
|
2679
|
+
/**
|
|
2680
|
+
* <p>Agent名称</p>
|
|
2681
|
+
*/
|
|
2682
|
+
Name?: string;
|
|
2683
|
+
/**
|
|
2684
|
+
* <p>更新时间, unix 秒时间戳 (s)</p>
|
|
2685
|
+
*/
|
|
2686
|
+
UpdateTime?: string;
|
|
2687
|
+
/**
|
|
2688
|
+
* <p>状态, 状态值:1:新增, 2:修改, 3:删除</p>
|
|
2689
|
+
*/
|
|
2690
|
+
Action?: number;
|
|
2691
|
+
/**
|
|
2692
|
+
* <p>动作描述</p>
|
|
2693
|
+
*/
|
|
2694
|
+
ActionDescription?: string;
|
|
2695
|
+
/**
|
|
2696
|
+
* <p>发布消息</p>
|
|
2697
|
+
*/
|
|
2698
|
+
Message?: string;
|
|
2699
|
+
/**
|
|
2700
|
+
* <p>发布详情</p>
|
|
2701
|
+
*/
|
|
2702
|
+
ReleaseList?: Array<AgentRelease>;
|
|
2703
|
+
}
|
|
2704
|
+
/**
|
|
2705
|
+
* ToolConfig
|
|
2706
|
+
*/
|
|
2707
|
+
export interface ToolConfig {
|
|
2708
|
+
/**
|
|
2709
|
+
* API插件工具配置
|
|
2710
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2711
|
+
*/
|
|
2712
|
+
ApiToolConfig?: ApiToolConfig;
|
|
2713
|
+
/**
|
|
2714
|
+
* 应用插件工具配置
|
|
2715
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2716
|
+
*/
|
|
2717
|
+
AppToolConfig?: AppToolConfig;
|
|
2718
|
+
/**
|
|
2719
|
+
* 代码插件工具配置
|
|
2720
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2721
|
+
*/
|
|
2722
|
+
CodeToolConfig?: CodeToolConfig;
|
|
2723
|
+
/**
|
|
2724
|
+
* mcp插件工具配置
|
|
2725
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2726
|
+
*/
|
|
2727
|
+
MCPToolConfig?: MCPToolConfig;
|
|
2728
|
+
}
|
|
2729
|
+
/**
|
|
2730
|
+
* Agent 工具输出参数
|
|
2731
|
+
*/
|
|
2732
|
+
export interface AgentToolOutputParameter {
|
|
2733
|
+
/**
|
|
2734
|
+
* <p>参数名称</p>
|
|
2735
|
+
*/
|
|
2736
|
+
Name?: string;
|
|
2737
|
+
/**
|
|
2738
|
+
* <p>变量描述</p>
|
|
2739
|
+
*/
|
|
2740
|
+
Description?: string;
|
|
2741
|
+
/**
|
|
2742
|
+
* <p>参数类型</p><p>枚举值:</p><ul><li>0: STRING</li><li>1: INT</li><li>2: FLOAT</li><li>3: BOOL</li><li>4: OBJECT</li><li>5: ARRAY_STRING</li><li>6: ARRAY_INT</li><li>7: ARRAY_FLOAT</li><li>8: ARRAY_BOOL</li><li>9: ARRAY_OBJECT</li><li>20: ARRAY_ARRAY</li><li>99: NULL</li></ul>
|
|
2743
|
+
*/
|
|
2744
|
+
Type?: number;
|
|
2745
|
+
/**
|
|
2746
|
+
* <p>子参数,仅 OBJECT 或 ARRAY_OBJECT 类型时使用</p>
|
|
2747
|
+
*/
|
|
2748
|
+
SubParameterList?: Array<AgentToolOutputParameter>;
|
|
2749
|
+
/**
|
|
2750
|
+
* <p>解析方式</p>
|
|
2751
|
+
*/
|
|
2752
|
+
RenderMode?: number;
|
|
2753
|
+
}
|
|
2754
|
+
/**
|
|
2755
|
+
* 模型限制信息
|
|
2756
|
+
*/
|
|
2757
|
+
export interface ModelLimit {
|
|
2758
|
+
/**
|
|
2759
|
+
* 模型上下文长度展示文案(如 "128K"、"1000K")
|
|
2760
|
+
*/
|
|
2761
|
+
ContextLengthDescription?: string;
|
|
2762
|
+
/**
|
|
2763
|
+
* 模型对话框输入长度字符数限制
|
|
2764
|
+
*/
|
|
2765
|
+
InputLengthLimit?: number;
|
|
2766
|
+
/**
|
|
2767
|
+
* 模型提示词长度字符数限制
|
|
2768
|
+
*/
|
|
2769
|
+
PromptLengthLimit?: number;
|
|
2770
|
+
}
|
|
2771
|
+
/**
|
|
2772
|
+
* DescribeReleaseSummary返回参数结构体
|
|
2773
|
+
*/
|
|
2774
|
+
export interface DescribeReleaseSummaryResponse {
|
|
2775
|
+
/**
|
|
2776
|
+
* 发布信息
|
|
2777
|
+
*/
|
|
2778
|
+
ReleaseSummary?: ReleaseSummary;
|
|
2779
|
+
/**
|
|
2780
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2781
|
+
*/
|
|
2782
|
+
RequestId?: string;
|
|
2783
|
+
}
|
|
2784
|
+
/**
|
|
2785
|
+
* 用户输入值
|
|
2786
|
+
*/
|
|
2787
|
+
export interface AgentUserInputValue {
|
|
2788
|
+
/**
|
|
2789
|
+
* <p>用户输入参数值</p>
|
|
2790
|
+
*/
|
|
2791
|
+
ValueList?: Array<string>;
|
|
2792
|
+
}
|
|
2793
|
+
/**
|
|
2794
|
+
* DescribeAgentDetail返回参数结构体
|
|
2795
|
+
*/
|
|
2796
|
+
export interface DescribeAgentDetailResponse {
|
|
2797
|
+
/**
|
|
2798
|
+
* <p>Agent信息</p>
|
|
2799
|
+
*/
|
|
2800
|
+
Agent?: AgentDetail;
|
|
2801
|
+
/**
|
|
2802
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2803
|
+
*/
|
|
2804
|
+
RequestId?: string;
|
|
2805
|
+
}
|
|
2806
|
+
/**
|
|
2807
|
+
* SkillProfile Skill 基础展示信息。
|
|
2808
|
+
*/
|
|
2809
|
+
export interface SkillProfile {
|
|
2810
|
+
/**
|
|
2811
|
+
* 创建时间(Unix秒)
|
|
2812
|
+
*/
|
|
2813
|
+
CreateTime: string;
|
|
2814
|
+
/**
|
|
2815
|
+
* 创建者
|
|
2816
|
+
*/
|
|
2817
|
+
Creator: string;
|
|
2818
|
+
/**
|
|
2819
|
+
* Skill 描述
|
|
2820
|
+
*/
|
|
2821
|
+
Description: string;
|
|
2822
|
+
/**
|
|
2823
|
+
* Skill 展示描述
|
|
2824
|
+
*/
|
|
2825
|
+
DisplayDescription: string;
|
|
2826
|
+
/**
|
|
2827
|
+
* Skill 展示名称
|
|
2828
|
+
*/
|
|
2829
|
+
DisplayName: string;
|
|
2830
|
+
/**
|
|
2831
|
+
* Skill 图标
|
|
2832
|
+
*/
|
|
2833
|
+
IconUrl: string;
|
|
2834
|
+
/**
|
|
2835
|
+
* Skill 名称
|
|
2836
|
+
*/
|
|
2837
|
+
Name: string;
|
|
2838
|
+
/**
|
|
2839
|
+
* 更新时间(Unix秒)
|
|
2840
|
+
*/
|
|
2841
|
+
UpdateTime: string;
|
|
2842
|
+
}
|
|
2843
|
+
/**
|
|
2844
|
+
* CreateVariable返回参数结构体
|
|
2845
|
+
*/
|
|
2846
|
+
export interface CreateVariableResponse {
|
|
2847
|
+
/**
|
|
2848
|
+
* variable_id
|
|
2849
|
+
*/
|
|
2850
|
+
VariableId?: string;
|
|
2851
|
+
/**
|
|
2852
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2853
|
+
*/
|
|
2854
|
+
RequestId?: string;
|
|
2855
|
+
}
|
|
2856
|
+
/**
|
|
2857
|
+
* Filter
|
|
2858
|
+
*/
|
|
2859
|
+
export interface Filter {
|
|
2860
|
+
/**
|
|
2861
|
+
* 检索名称
|
|
2862
|
+
*/
|
|
2863
|
+
Name?: string;
|
|
2864
|
+
/**
|
|
2865
|
+
* 检索值
|
|
2866
|
+
*/
|
|
2867
|
+
ValueList?: Array<string>;
|
|
2868
|
+
}
|
|
2869
|
+
/**
|
|
2870
|
+
* ApiToolConfig
|
|
2871
|
+
*/
|
|
2872
|
+
export interface ApiToolConfig {
|
|
2873
|
+
/**
|
|
2874
|
+
* API插件支持对外调用的工具URL
|
|
2875
|
+
*/
|
|
2876
|
+
ExternalApiUrl?: string;
|
|
2877
|
+
/**
|
|
2878
|
+
* 请求method
|
|
2879
|
+
*/
|
|
2880
|
+
Method?: string;
|
|
2881
|
+
/**
|
|
2882
|
+
* 请求的url
|
|
2883
|
+
*/
|
|
2884
|
+
Url?: string;
|
|
2885
|
+
/**
|
|
2886
|
+
* body参数
|
|
2887
|
+
*/
|
|
2888
|
+
Body?: Array<RequestParam>;
|
|
2889
|
+
/**
|
|
2890
|
+
* 示例
|
|
2891
|
+
*/
|
|
2892
|
+
Example?: ToolExample;
|
|
2893
|
+
/**
|
|
2894
|
+
* Header信息
|
|
2895
|
+
*/
|
|
2896
|
+
Header?: Array<RequestParam>;
|
|
2897
|
+
/**
|
|
2898
|
+
* 输出参数
|
|
2899
|
+
*/
|
|
2900
|
+
Outputs?: Array<ResponseParam>;
|
|
2901
|
+
/**
|
|
2902
|
+
* query参数
|
|
2903
|
+
*/
|
|
2904
|
+
Query?: Array<RequestParam>;
|
|
2905
|
+
/**
|
|
2906
|
+
* 流式模式
|
|
2907
|
+
枚举值:
|
|
2908
|
+
| uint | 描述 |
|
|
2909
|
+
| --- | --- |
|
|
2910
|
+
| 0 | 非流式 |
|
|
2911
|
+
| 1 | 流式 |
|
|
2912
|
+
*/
|
|
2913
|
+
StreamMode?: number;
|
|
2914
|
+
}
|
|
2915
|
+
/**
|
|
2916
|
+
* ToolExample
|
|
2917
|
+
*/
|
|
2918
|
+
export interface ToolExample {
|
|
2919
|
+
/**
|
|
2920
|
+
* 请求示例,json字符串
|
|
2921
|
+
*/
|
|
2922
|
+
Request?: string;
|
|
2923
|
+
/**
|
|
2924
|
+
* 回复示例,json字符串
|
|
2925
|
+
*/
|
|
2926
|
+
Response?: string;
|
|
2927
|
+
}
|
|
2928
|
+
/**
|
|
2929
|
+
* Reference 参考来源信息
|
|
2930
|
+
*/
|
|
2931
|
+
export interface ConversationReference {
|
|
2932
|
+
/**
|
|
2933
|
+
* <p>参考来源索引</p>
|
|
2934
|
+
*/
|
|
2935
|
+
Index: number;
|
|
2936
|
+
/**
|
|
2937
|
+
* <p>参考来源名称</p>
|
|
2938
|
+
*/
|
|
2939
|
+
Name: string;
|
|
2940
|
+
/**
|
|
2941
|
+
* <p>参考来源类型 枚举值: 0-APP_REFERENCE_TYPE_UNSPECIFIED(未指定), 1-APP_REFERENCE_TYPE_QA(问答), 2-APP_REFERENCE_TYPE_SEGMENT(分片), 3-APP_REFERENCE_TYPE_DOC(文档), 4-APP_REFERENCE_TYPE_WEB_SEARCH(Web 搜索), 5-APP_REFERENCE_TYPE_GRAPH_RAG(GraphRAG)</p>
|
|
2942
|
+
*/
|
|
2943
|
+
Type: number;
|
|
2944
|
+
}
|
|
2945
|
+
/**
|
|
2946
|
+
* 分享链接信息(详情查询返回,用户不可修改部分;access_control 用户可修改部分由 ModifyApp 承载)
|
|
2947
|
+
*/
|
|
2948
|
+
export interface AppShareURLInfo {
|
|
2949
|
+
/**
|
|
2950
|
+
* 当前生效的访问控制配置
|
|
2951
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2952
|
+
*/
|
|
2953
|
+
AccessControl: AppShareAccessControl;
|
|
2954
|
+
/**
|
|
2955
|
+
* 分享URL
|
|
2956
|
+
*/
|
|
2957
|
+
ShareUrl: string;
|
|
2958
|
+
}
|
|
2959
|
+
/**
|
|
2960
|
+
* 模型基本信息
|
|
2961
|
+
*/
|
|
2962
|
+
export interface ModelBasic {
|
|
2963
|
+
/**
|
|
2964
|
+
* 模型描述
|
|
2965
|
+
*/
|
|
2966
|
+
Description?: string;
|
|
2967
|
+
/**
|
|
2968
|
+
* 模型图标地址
|
|
2969
|
+
*/
|
|
2970
|
+
IconUrl?: string;
|
|
2971
|
+
/**
|
|
2972
|
+
* 模型ID
|
|
2973
|
+
*/
|
|
2974
|
+
ModelId?: string;
|
|
2975
|
+
/**
|
|
2976
|
+
* 模型类型。1-LLM模型, 2-Rerank模型, 3-Embedding模型, 4-文档解析模型
|
|
2977
|
+
*/
|
|
2978
|
+
ModelType?: number;
|
|
2979
|
+
/**
|
|
2980
|
+
* 模型名称
|
|
2981
|
+
*/
|
|
2982
|
+
Name?: string;
|
|
2983
|
+
}
|
|
2984
|
+
/**
|
|
2985
|
+
* CreateRelease返回参数结构体
|
|
2986
|
+
*/
|
|
2987
|
+
export interface CreateReleaseResponse {
|
|
2988
|
+
/**
|
|
2989
|
+
* need_approval
|
|
2990
|
+
*/
|
|
2991
|
+
NeedApproval?: boolean;
|
|
2992
|
+
/**
|
|
2993
|
+
* release_id
|
|
2994
|
+
*/
|
|
2995
|
+
ReleaseId?: string;
|
|
2996
|
+
/**
|
|
2997
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2998
|
+
*/
|
|
2999
|
+
RequestId?: string;
|
|
3000
|
+
}
|
|
3001
|
+
/**
|
|
3002
|
+
* ModifyApp请求参数结构体
|
|
3003
|
+
*/
|
|
3004
|
+
export interface ModifyAppRequest {
|
|
3005
|
+
/**
|
|
3006
|
+
* 应用ID
|
|
3007
|
+
*/
|
|
3008
|
+
AppId: string;
|
|
3009
|
+
/**
|
|
3010
|
+
* 应用模式。枚举值: 1:标准模式, 2:Agent模式, 3:单工作流模式, 4:ClawAgent模式
|
|
3011
|
+
*/
|
|
3012
|
+
AppMode?: number;
|
|
3013
|
+
/**
|
|
3014
|
+
* 应用头像
|
|
3015
|
+
*/
|
|
3016
|
+
Avatar?: string;
|
|
3017
|
+
/**
|
|
3018
|
+
* 应用配置
|
|
3019
|
+
*/
|
|
3020
|
+
Config?: AppConfig;
|
|
3021
|
+
/**
|
|
3022
|
+
* 应用描述
|
|
3023
|
+
*/
|
|
3024
|
+
Description?: string;
|
|
3025
|
+
/**
|
|
3026
|
+
* 应用名称
|
|
3027
|
+
*/
|
|
3028
|
+
Name?: string;
|
|
3029
|
+
/**
|
|
3030
|
+
* 分享配置
|
|
3031
|
+
*/
|
|
3032
|
+
ShareConfig?: AppShareAccessControl;
|
|
3033
|
+
/**
|
|
3034
|
+
* 引用的共享知识库ID列表(全量覆盖)
|
|
3035
|
+
*/
|
|
3036
|
+
SharedKnowledgeIdList?: Array<string>;
|
|
3037
|
+
/**
|
|
3038
|
+
* 字段掩码,指定需要更新的字段(Paths为空则不更新任何字段)。Paths枚举值:
|
|
3039
|
+
【顶层】Name, Avatar, Description, AppMode, ShareConfig, SharedKnowledgeIdList
|
|
3040
|
+
【Greeting】Config.Greeting, Config.Greeting.Greeting, Config.Greeting.OpeningQuestionList
|
|
3041
|
+
【Model】Config.Model, Config.Model.ThinkModel, Config.Model.GenerateModel, Config.Model.AiOptimizeModel, Config.Model.FileParseModel, Config.Model.PromptRewriteModel, Config.Model.MultiModalQaModel, Config.Model.MultiModalUnderstandingModel
|
|
3042
|
+
【WebSearch】Config.WebSearch
|
|
3043
|
+
【Memory】Config.Memory, Config.Memory.Enabled, Config.Memory.LongMemoryDay, Config.Memory.Model, Config.Memory.PromptMode, Config.Memory.PromptContent
|
|
3044
|
+
【Mode】Config.Mode, Config.Mode.MultiAgentConfig, Config.Mode.SingleWorkflowConfig
|
|
3045
|
+
【Experience】Config.Experience, Config.Experience.Conversation, Config.Experience.Role, Config.Experience.Advanced
|
|
3046
|
+
【Experience.Conversation】Config.Experience.Conversation.AiCall, Config.Experience.Conversation.BackgroundImage, Config.Experience.Conversation.Method, Config.Experience.Conversation.FallbackReply, Config.Experience.Conversation.Recommended, Config.Experience.Conversation.InputBoxConfig, Config.Experience.Conversation.WebSearch
|
|
3047
|
+
【Experience.Conversation.AiCall】Config.Experience.Conversation.AiCall.VoiceInteract, Config.Experience.Conversation.AiCall.VoiceCall, Config.Experience.Conversation.AiCall.DigitalHuman
|
|
3048
|
+
【Experience.Advanced】Config.Experience.Advanced.ContextRewrite, Config.Experience.Advanced.ImageTextRetrieval, Config.Experience.Advanced.IntentAchievement, Config.Experience.Advanced.ReplyFlexibility
|
|
3049
|
+
*/
|
|
3050
|
+
UpdateMask?: FieldMask;
|
|
3051
|
+
}
|
|
3052
|
+
/**
|
|
3053
|
+
* RetryRelease请求参数结构体
|
|
3054
|
+
*/
|
|
3055
|
+
export interface RetryReleaseRequest {
|
|
3056
|
+
/**
|
|
3057
|
+
* 应用ID
|
|
3058
|
+
*/
|
|
3059
|
+
AppId: string;
|
|
3060
|
+
/**
|
|
3061
|
+
* 发布任务ID
|
|
3062
|
+
*/
|
|
3063
|
+
ReleaseId: string;
|
|
3064
|
+
}
|
|
3065
|
+
/**
|
|
3066
|
+
* CreateSpace返回参数结构体
|
|
3067
|
+
*/
|
|
3068
|
+
export interface CreateSpaceResponse {
|
|
3069
|
+
/**
|
|
3070
|
+
* 空间id
|
|
3071
|
+
*/
|
|
3072
|
+
SpaceId?: string;
|
|
3073
|
+
/**
|
|
3074
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3075
|
+
*/
|
|
3076
|
+
RequestId?: string;
|
|
3077
|
+
}
|
|
3078
|
+
/**
|
|
3079
|
+
* 申诉中的配置 - 记录各配置项是否在申诉中
|
|
3080
|
+
*/
|
|
3081
|
+
export interface AppealingStatus {
|
|
3082
|
+
/**
|
|
3083
|
+
* 头像是否在申诉中
|
|
3084
|
+
*/
|
|
3085
|
+
AvatarInAppeal: boolean;
|
|
3086
|
+
/**
|
|
3087
|
+
* 兜底回复语是否在申诉中
|
|
3088
|
+
*/
|
|
3089
|
+
FallbackReplyInAppeal: boolean;
|
|
3090
|
+
/**
|
|
3091
|
+
* 欢迎语是否在申诉中
|
|
3092
|
+
*/
|
|
3093
|
+
GreetingInAppeal: boolean;
|
|
3094
|
+
/**
|
|
3095
|
+
* 应用名称是否在申诉中
|
|
3096
|
+
*/
|
|
3097
|
+
NameInAppeal: boolean;
|
|
3098
|
+
/**
|
|
3099
|
+
* 角色描述是否在申诉中
|
|
3100
|
+
*/
|
|
3101
|
+
RoleInAppeal: boolean;
|
|
3102
|
+
}
|
|
3103
|
+
/**
|
|
3104
|
+
* 模型详细信息
|
|
3105
|
+
*/
|
|
3106
|
+
export interface ModelDetailInfo {
|
|
3107
|
+
/**
|
|
3108
|
+
* 模型别名
|
|
3109
|
+
*/
|
|
3110
|
+
Alias: string;
|
|
3111
|
+
/**
|
|
3112
|
+
* 历史对话条数限制
|
|
3113
|
+
*/
|
|
3114
|
+
HistoryLimit: number;
|
|
3115
|
+
/**
|
|
3116
|
+
* 模型唯一ID
|
|
3117
|
+
*/
|
|
3118
|
+
ModelId: string;
|
|
3119
|
+
/**
|
|
3120
|
+
* 模型参数
|
|
3121
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3122
|
+
*/
|
|
3123
|
+
ModelParams?: ModelParams;
|
|
3124
|
+
}
|
|
3125
|
+
/**
|
|
3126
|
+
* ModifyVariable请求参数结构体
|
|
3127
|
+
*/
|
|
3128
|
+
export interface ModifyVariableRequest {
|
|
3129
|
+
/**
|
|
3130
|
+
* app_id
|
|
3131
|
+
*/
|
|
3132
|
+
AppId: string;
|
|
3133
|
+
/**
|
|
3134
|
+
* 变量信息
|
|
3135
|
+
*/
|
|
3136
|
+
Variable?: Variable;
|
|
3137
|
+
}
|
|
3138
|
+
/**
|
|
3139
|
+
* CreateVariable请求参数结构体
|
|
3140
|
+
*/
|
|
3141
|
+
export interface CreateVariableRequest {
|
|
3142
|
+
/**
|
|
3143
|
+
* app_id
|
|
3144
|
+
*/
|
|
3145
|
+
AppId: string;
|
|
3146
|
+
/**
|
|
3147
|
+
* 变量信息
|
|
3148
|
+
*/
|
|
3149
|
+
Variable?: Variable;
|
|
3150
|
+
}
|
|
3151
|
+
/**
|
|
3152
|
+
* VoiceConfig
|
|
3153
|
+
*/
|
|
3154
|
+
export interface VoiceConfig {
|
|
3155
|
+
/**
|
|
3156
|
+
* 数智人音色key,需要和公有云音色id对齐
|
|
3157
|
+
*/
|
|
3158
|
+
TimbreKey: string;
|
|
3159
|
+
/**
|
|
3160
|
+
* 音色名称
|
|
3161
|
+
*/
|
|
3162
|
+
VoiceName: string;
|
|
3163
|
+
/**
|
|
3164
|
+
* 公有云音色id
|
|
3165
|
+
*/
|
|
3166
|
+
VoiceType: number;
|
|
3167
|
+
}
|
|
3168
|
+
/**
|
|
3169
|
+
* DescribeSystemVariableList请求参数结构体
|
|
3170
|
+
*/
|
|
3171
|
+
export interface DescribeSystemVariableListRequest {
|
|
3172
|
+
/**
|
|
3173
|
+
* 应用ID
|
|
3174
|
+
*/
|
|
3175
|
+
AppId: string;
|
|
3176
|
+
}
|
|
3177
|
+
/**
|
|
3178
|
+
* App 应用完整信息
|
|
3179
|
+
*/
|
|
3180
|
+
export interface App {
|
|
3181
|
+
/**
|
|
3182
|
+
* 辅助信息(子状态/审批/申诉/搜索资源/特殊状态等)
|
|
3183
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3184
|
+
*/
|
|
3185
|
+
AuxiliaryInfo: AppAuxiliaryInfo;
|
|
3186
|
+
/**
|
|
3187
|
+
* 配置
|
|
3188
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3189
|
+
*/
|
|
3190
|
+
Config: AppConfig;
|
|
3191
|
+
/**
|
|
3192
|
+
* 元数据
|
|
3193
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3194
|
+
*/
|
|
3195
|
+
Metadata: AppMetadata;
|
|
3196
|
+
/**
|
|
3197
|
+
* 应用密钥信息
|
|
3198
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3199
|
+
*/
|
|
3200
|
+
SecretInfo: AppSecretInfo;
|
|
3201
|
+
/**
|
|
3202
|
+
* 分享链接信息(含访问控制)
|
|
3203
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3204
|
+
*/
|
|
3205
|
+
ShareUrlInfo: AppShareURLInfo;
|
|
3206
|
+
/**
|
|
3207
|
+
* 状态
|
|
3208
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3209
|
+
*/
|
|
3210
|
+
Status: AppStatusInfo;
|
|
3211
|
+
/**
|
|
3212
|
+
* 应用引用的共享知识库列表
|
|
3213
|
+
*/
|
|
3214
|
+
SharedKnowledgeList?: Array<AppSharedKnowledgeInfo>;
|
|
3215
|
+
}
|
|
3216
|
+
/**
|
|
3217
|
+
* 系统变量
|
|
3218
|
+
*/
|
|
3219
|
+
export interface SystemVariable {
|
|
3220
|
+
/**
|
|
3221
|
+
* 变量描述
|
|
3222
|
+
*/
|
|
3223
|
+
Description: string;
|
|
3224
|
+
/**
|
|
3225
|
+
* 变量名称
|
|
3226
|
+
*/
|
|
3227
|
+
Name: string;
|
|
3228
|
+
}
|
|
3229
|
+
/**
|
|
3230
|
+
* 欢迎语配置
|
|
3231
|
+
*/
|
|
3232
|
+
export interface AppGreetingConfig {
|
|
3233
|
+
/**
|
|
3234
|
+
* 欢迎语内容
|
|
3235
|
+
*/
|
|
3236
|
+
Greeting: string;
|
|
3237
|
+
/**
|
|
3238
|
+
* 开场问题列表
|
|
3239
|
+
*/
|
|
3240
|
+
OpeningQuestionList?: Array<string>;
|
|
3241
|
+
}
|
|
3242
|
+
/**
|
|
3243
|
+
* 输入框配置
|
|
3244
|
+
*/
|
|
3245
|
+
export interface InputBoxConfig {
|
|
3246
|
+
/**
|
|
3247
|
+
* 输入框按钮,1:上传图片、2:上传文档,3:腾讯文档,4:联网搜索
|
|
3248
|
+
*/
|
|
3249
|
+
InputBoxButtons?: Array<number | bigint>;
|
|
3250
|
+
}
|
|
3251
|
+
/**
|
|
3252
|
+
* SkillSummary 列表中的 Skill 摘要。
|
|
3253
|
+
*/
|
|
3254
|
+
export interface SkillSummary {
|
|
3255
|
+
/**
|
|
3256
|
+
* 分类信息
|
|
3257
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3258
|
+
*/
|
|
3259
|
+
ClassificationInfo: SkillClassification;
|
|
3260
|
+
/**
|
|
3261
|
+
* 当前版本信息
|
|
3262
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3263
|
+
*/
|
|
3264
|
+
CurrentVersionInfo: SkillVersion;
|
|
3265
|
+
/**
|
|
3266
|
+
* 当前用户是否收藏
|
|
3267
|
+
*/
|
|
3268
|
+
IsFavorite: boolean;
|
|
3269
|
+
/**
|
|
3270
|
+
* 基础信息
|
|
3271
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3272
|
+
*/
|
|
3273
|
+
Profile: SkillProfile;
|
|
3274
|
+
/**
|
|
3275
|
+
* Skill ID
|
|
3276
|
+
*/
|
|
3277
|
+
SkillId: string;
|
|
3278
|
+
/**
|
|
3279
|
+
* 共享信息;可能有两条,一条是已共享的,一条是审核中的
|
|
3280
|
+
*/
|
|
3281
|
+
ShareList?: Array<SkillShare>;
|
|
3282
|
+
}
|
|
3283
|
+
/**
|
|
3284
|
+
* 特殊状态信息
|
|
3285
|
+
*/
|
|
3286
|
+
export interface SpecialStatusInfo {
|
|
3287
|
+
/**
|
|
3288
|
+
* 状态 (0-不在特殊状态中, 1-在特殊状态中)。枚举值: 1:在特殊状态中
|
|
3289
|
+
*/
|
|
3290
|
+
Status: number;
|
|
3291
|
+
}
|
|
3292
|
+
/**
|
|
3293
|
+
* 空间信息
|
|
3294
|
+
*/
|
|
3295
|
+
export interface Space {
|
|
3296
|
+
/**
|
|
3297
|
+
* 空间id
|
|
3298
|
+
*/
|
|
3299
|
+
SpaceId?: string;
|
|
3300
|
+
/**
|
|
3301
|
+
* 空间名称
|
|
3302
|
+
*/
|
|
3303
|
+
Name?: string;
|
|
3304
|
+
/**
|
|
3305
|
+
* 空间描述
|
|
3306
|
+
*/
|
|
3307
|
+
Description?: string;
|
|
3308
|
+
/**
|
|
3309
|
+
* 空间权限
|
|
3310
|
+
*/
|
|
3311
|
+
PermissionIdList?: Array<string>;
|
|
3312
|
+
}
|
|
3313
|
+
/**
|
|
3314
|
+
* 应用元数据 - 基础标识和描述信息
|
|
3315
|
+
*/
|
|
3316
|
+
export interface AppMetadata {
|
|
3317
|
+
/**
|
|
3318
|
+
* 应用ID
|
|
3319
|
+
*/
|
|
3320
|
+
AppId: string;
|
|
3321
|
+
/**
|
|
3322
|
+
* 应用模式。枚举值: 1:标准模式, 2:Agent模式, 3:单工作流模式, 4:ClawAgent模式
|
|
3323
|
+
*/
|
|
3324
|
+
AppMode: number;
|
|
3325
|
+
/**
|
|
3326
|
+
* 应用头像
|
|
3327
|
+
*/
|
|
3328
|
+
Avatar: string;
|
|
3329
|
+
/**
|
|
3330
|
+
* 创建时间 (Unix时间戳,秒级)
|
|
3331
|
+
*/
|
|
3332
|
+
CreateTime: string;
|
|
3333
|
+
/**
|
|
3334
|
+
* 应用描述
|
|
3335
|
+
*/
|
|
3336
|
+
Description: string;
|
|
3337
|
+
/**
|
|
3338
|
+
* 应用名称
|
|
3339
|
+
*/
|
|
3340
|
+
Name: string;
|
|
3341
|
+
/**
|
|
3342
|
+
* 空间ID
|
|
3343
|
+
*/
|
|
3344
|
+
SpaceId: string;
|
|
3345
|
+
/**
|
|
3346
|
+
* 更新时间 (Unix时间戳,秒级)
|
|
3347
|
+
*/
|
|
3348
|
+
UpdateTime: string;
|
|
3349
|
+
}
|
|
3350
|
+
/**
|
|
3351
|
+
* [数据结构定义] Agent协同配置
|
|
3352
|
+
*/
|
|
3353
|
+
export interface AgentCollaborationConfig {
|
|
3354
|
+
/**
|
|
3355
|
+
* 协同方式。枚举值: 1:自由转交:Agent之间可自由传递任务, 2:工作流编排:基于预定义流程的协同, 3:Plan-and-Execute:规划与执行分离的协同模式
|
|
3356
|
+
*/
|
|
3357
|
+
AgentCollaborationMode: number;
|
|
3358
|
+
/**
|
|
3359
|
+
* 工作流Id
|
|
3360
|
+
*/
|
|
3361
|
+
WorkflowId: string;
|
|
3362
|
+
/**
|
|
3363
|
+
* 工作流名称
|
|
3364
|
+
*/
|
|
3365
|
+
WorkflowName: string;
|
|
3366
|
+
}
|
|
3367
|
+
/**
|
|
3368
|
+
* DeleteVariable请求参数结构体
|
|
3369
|
+
*/
|
|
3370
|
+
export interface DeleteVariableRequest {
|
|
3371
|
+
/**
|
|
3372
|
+
* app_id
|
|
3373
|
+
*/
|
|
3374
|
+
AppId: string;
|
|
3375
|
+
/**
|
|
3376
|
+
* variable_id
|
|
3377
|
+
*/
|
|
3378
|
+
VariableId: string;
|
|
3379
|
+
/**
|
|
3380
|
+
* module_type。枚举值: 1:环境参数, 2:应用参数, 3:系统参数, -1:所有参数
|
|
3381
|
+
*/
|
|
3382
|
+
ModuleType?: number;
|
|
3383
|
+
}
|
|
3384
|
+
/**
|
|
3385
|
+
* 模型状态信息
|
|
3386
|
+
*/
|
|
3387
|
+
export interface ModelStatus {
|
|
3388
|
+
/**
|
|
3389
|
+
* 专属并发数
|
|
3390
|
+
*/
|
|
3391
|
+
Concurrency?: number;
|
|
3392
|
+
/**
|
|
3393
|
+
* 是否专属并发
|
|
3394
|
+
*/
|
|
3395
|
+
IsExclusive?: boolean;
|
|
3396
|
+
/**
|
|
3397
|
+
* 资源状态。1-资源可用, 2-资源已用尽
|
|
3398
|
+
*/
|
|
3399
|
+
ResourceStatus?: number;
|
|
3400
|
+
}
|
|
3401
|
+
/**
|
|
3402
|
+
* 记忆配置
|
|
3403
|
+
*/
|
|
3404
|
+
export interface AppMemoryConfig {
|
|
3405
|
+
/**
|
|
3406
|
+
* 是否开启长记忆
|
|
3407
|
+
*/
|
|
3408
|
+
Enabled: boolean;
|
|
3409
|
+
/**
|
|
3410
|
+
* 长记忆时长
|
|
3411
|
+
*/
|
|
3412
|
+
LongMemoryDay: number;
|
|
3413
|
+
/**
|
|
3414
|
+
* 模型配置
|
|
3415
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3416
|
+
*/
|
|
3417
|
+
Model: ModelDetailInfo;
|
|
3418
|
+
/**
|
|
3419
|
+
* prompt内容
|
|
3420
|
+
*/
|
|
3421
|
+
PromptContent: string;
|
|
3422
|
+
/**
|
|
3423
|
+
* 提示词模式。枚举值: 1:自定义
|
|
3424
|
+
*/
|
|
3425
|
+
PromptMode: number;
|
|
3426
|
+
}
|
|
3427
|
+
/**
|
|
3428
|
+
* ModifyConversation请求参数结构体
|
|
3429
|
+
*/
|
|
3430
|
+
export interface ModifyConversationRequest {
|
|
3431
|
+
/**
|
|
3432
|
+
* <p>会话类型 枚举值: 0-CONVERSATION_TYPE_UNSPECIFIED(未指定;列表查询时表示全部), 1-CONVERSATION_TYPE_VISITOR(访客端体验), 2-CONVERSATION_TYPE_EVALUATION(评测), 5-CONVERSATION_TYPE_API(API 接入), 10-CONVERSATION_TYPE_WORKFLOW(工作流调试), 20-CONVERSATION_TYPE_SHARE(分享链接)</p>
|
|
3433
|
+
*/
|
|
3434
|
+
Type: number;
|
|
3435
|
+
/**
|
|
3436
|
+
* <p>应用 ID</p>
|
|
3437
|
+
*/
|
|
3438
|
+
AppId?: string;
|
|
3439
|
+
/**
|
|
3440
|
+
* <p>Type=CONVERSATION_TYPE_API 时必填,应用密钥</p>
|
|
3441
|
+
*/
|
|
3442
|
+
AppKey?: string;
|
|
3443
|
+
/**
|
|
3444
|
+
* <p>登录用户子账号(集成商模式必填)</p>
|
|
3445
|
+
*/
|
|
3446
|
+
LoginSubAccountUin?: string;
|
|
3447
|
+
/**
|
|
3448
|
+
* <p>登录用户主账号(集成商模式必填)</p>
|
|
3449
|
+
*/
|
|
3450
|
+
LoginUin?: string;
|
|
3451
|
+
/**
|
|
3452
|
+
* <p>Type=CONVERSATION_TYPE_SHARE 时必填,分享码</p>
|
|
3453
|
+
*/
|
|
3454
|
+
ShareCode?: string;
|
|
3455
|
+
/**
|
|
3456
|
+
* <p>Type=CONVERSATION_TYPE_API 时必填,访客ID</p>
|
|
3457
|
+
*/
|
|
3458
|
+
UserId?: string;
|
|
3459
|
+
/**
|
|
3460
|
+
* 会话ID
|
|
3461
|
+
*/
|
|
3462
|
+
ConversationId?: string;
|
|
3463
|
+
/**
|
|
3464
|
+
* 会话标题
|
|
3465
|
+
*/
|
|
3466
|
+
Title?: string;
|
|
3467
|
+
}
|
|
3468
|
+
/**
|
|
3469
|
+
* 角色配置
|
|
3470
|
+
*/
|
|
3471
|
+
export interface RoleConfig {
|
|
3472
|
+
/**
|
|
3473
|
+
* 角色描述
|
|
3474
|
+
*/
|
|
3475
|
+
RoleDescription: string;
|
|
3476
|
+
}
|
|
3477
|
+
/**
|
|
3478
|
+
* CreateAgent返回参数结构体
|
|
3479
|
+
*/
|
|
3480
|
+
export interface CreateAgentResponse {
|
|
3481
|
+
/**
|
|
3482
|
+
* Agent Id
|
|
3483
|
+
*/
|
|
3484
|
+
AgentId?: string;
|
|
3485
|
+
/**
|
|
3486
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3487
|
+
*/
|
|
3488
|
+
RequestId?: string;
|
|
3489
|
+
}
|
|
3490
|
+
/**
|
|
3491
|
+
* Agent 技能详情
|
|
3492
|
+
*/
|
|
3493
|
+
export interface AgentSkill {
|
|
3494
|
+
/**
|
|
3495
|
+
* <p>skillId</p>
|
|
3496
|
+
*/
|
|
3497
|
+
SkillId?: string;
|
|
3498
|
+
/**
|
|
3499
|
+
* <p>skill名称</p>
|
|
3500
|
+
*/
|
|
3501
|
+
Name?: string;
|
|
3502
|
+
/**
|
|
3503
|
+
* <p>技能描述</p>
|
|
3504
|
+
*/
|
|
3505
|
+
Description?: string;
|
|
3506
|
+
/**
|
|
3507
|
+
* <p>skill展示名称</p>
|
|
3508
|
+
*/
|
|
3509
|
+
DisplayName?: string;
|
|
3510
|
+
/**
|
|
3511
|
+
* <p>技能展示描述</p>
|
|
3512
|
+
*/
|
|
3513
|
+
DisplayDescription?: string;
|
|
3514
|
+
/**
|
|
3515
|
+
* <p>skill图标url</p>
|
|
3516
|
+
*/
|
|
3517
|
+
IconUrl?: string;
|
|
3518
|
+
/**
|
|
3519
|
+
* <p>Skill来源</p>
|
|
3520
|
+
*/
|
|
3521
|
+
SourceType?: number;
|
|
3522
|
+
/**
|
|
3523
|
+
* <p>Skill版本</p>
|
|
3524
|
+
*/
|
|
3525
|
+
CurrentVersion?: string;
|
|
3526
|
+
}
|
|
3527
|
+
/**
|
|
3528
|
+
* DeleteConversation请求参数结构体
|
|
3529
|
+
*/
|
|
3530
|
+
export interface DeleteConversationRequest {
|
|
3531
|
+
/**
|
|
3532
|
+
* <p>会话 ID</p>
|
|
3533
|
+
*/
|
|
3534
|
+
ConversationId: string;
|
|
3535
|
+
/**
|
|
3536
|
+
* <p>会话类型 枚举值: 0-CONVERSATION_TYPE_UNSPECIFIED(未指定;列表查询时表示全部), 1-CONVERSATION_TYPE_VISITOR(访客端体验), 2-CONVERSATION_TYPE_EVALUATION(评测), 5-CONVERSATION_TYPE_API(API 接入), 10-CONVERSATION_TYPE_WORKFLOW(工作流调试), 20-CONVERSATION_TYPE_SHARE(分享链接)</p>
|
|
3537
|
+
*/
|
|
3538
|
+
Type: number;
|
|
3539
|
+
/**
|
|
3540
|
+
* <p>Type=CONVERSATION_TYPE_API 时必填,应用密钥</p>
|
|
3541
|
+
*/
|
|
3542
|
+
AppKey?: string;
|
|
3543
|
+
/**
|
|
3544
|
+
* <p>子用户Uin</p>
|
|
3545
|
+
*/
|
|
3546
|
+
LoginSubAccountUin?: string;
|
|
3547
|
+
/**
|
|
3548
|
+
* <p>主用户Uin</p>
|
|
3549
|
+
*/
|
|
3550
|
+
LoginUin?: string;
|
|
3551
|
+
/**
|
|
3552
|
+
* <p>Type=CONVERSATION_TYPE_SHARE 时必填,分享码</p>
|
|
3553
|
+
*/
|
|
3554
|
+
ShareCode?: string;
|
|
3555
|
+
}
|
|
3556
|
+
/**
|
|
3557
|
+
* 模型徽章
|
|
3558
|
+
*/
|
|
3559
|
+
export interface ModelBadge {
|
|
3560
|
+
/**
|
|
3561
|
+
* 展示文案
|
|
3562
|
+
*/
|
|
3563
|
+
Text?: string;
|
|
3564
|
+
/**
|
|
3565
|
+
* 样式主题。1-信息(蓝色), 2-成功(绿色), 3-警告(橙色), 4-危险(红色)
|
|
3566
|
+
*/
|
|
3567
|
+
Theme?: number;
|
|
3568
|
+
/**
|
|
3569
|
+
* tooltip文案,为空则不展示
|
|
3570
|
+
*/
|
|
3571
|
+
Tips?: string;
|
|
3572
|
+
/**
|
|
3573
|
+
* 徽章类型。1-限时免费, 2-即将下线, 3-新模型, 4-热门
|
|
3574
|
+
*/
|
|
3575
|
+
Type?: number;
|
|
3576
|
+
}
|
|
3577
|
+
/**
|
|
3578
|
+
* DescribeApp返回参数结构体
|
|
3579
|
+
*/
|
|
3580
|
+
export interface DescribeAppResponse {
|
|
3581
|
+
/**
|
|
3582
|
+
* 应用详情
|
|
3583
|
+
*/
|
|
3584
|
+
App?: App;
|
|
3585
|
+
/**
|
|
3586
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3587
|
+
*/
|
|
3588
|
+
RequestId?: string;
|
|
3589
|
+
}
|
|
3590
|
+
/**
|
|
3591
|
+
* DeleteApp请求参数结构体
|
|
3592
|
+
*/
|
|
3593
|
+
export interface DeleteAppRequest {
|
|
3594
|
+
/**
|
|
3595
|
+
* app_id
|
|
3596
|
+
*/
|
|
3597
|
+
AppId: string;
|
|
3598
|
+
}
|
|
3599
|
+
/**
|
|
3600
|
+
* DescribeSkillSummaryList请求参数结构体
|
|
3601
|
+
*/
|
|
3602
|
+
export interface DescribeSkillSummaryListRequest {
|
|
3603
|
+
/**
|
|
3604
|
+
* 空间ID,必填
|
|
3605
|
+
*/
|
|
3606
|
+
SpaceId: string;
|
|
3607
|
+
/**
|
|
3608
|
+
* 仅查询当前用户收藏的 Skill
|
|
3609
|
+
*/
|
|
3610
|
+
FavoriteOnly?: boolean;
|
|
3611
|
+
/**
|
|
3612
|
+
* 过滤条件(多个Filter之间为AND关系,同一Filter的多个Values为OR关系): - SkillIdList: Skill ID列表,字符串数组,精确匹配 - ProviderType: Skill 提供方类型,枚举值数组,精确匹配 (SKILL_PROVIDER_TYPE_OFFICIAL=1/SKILL_PROVIDER_TYPE_THIRD_PARTY=2/SKILL_PROVIDER_TYPE_CUSTOM=3/SKILL_PROVIDER_TYPE_CUSTOM_SHARED=4) - CategoryKey: 分类标识,字符串数组,精确匹配 - AnalysisStatus: 安全检测状态,枚举值数组,精确匹配 (SKILL_ANALYSIS_PENDING=0/SKILL_ANALYSIS_RUNNING=1/SKILL_ANALYSIS_AVAILABLE=2/SKILL_ANALYSIS_UNAVAILABLE=3/SKILL_ANALYSIS_FAILED=4) - RiskLevel: 风险等级,枚举值数组,精确匹配 (SKILL_RISK_NONE=0/SKILL_RISK_LOW=1/SKILL_RISK_MEDIUM=2/SKILL_RISK_HIGH=3) - ShareStatus: 共享状态,枚举值数组,精确匹配,仅在ProviderType包含SKILL_PROVIDER_TYPE_CUSTOM/SKILL_PROVIDER_TYPE_CUSTOM_SHARED时生效 (SHARE_STATUS_UNSHARED=0/SHARE_STATUS_SHARED=1/SHARE_STATUS_APPROVING=2)
|
|
3613
|
+
*/
|
|
3614
|
+
FilterList?: Array<Filter>;
|
|
3615
|
+
/**
|
|
3616
|
+
* 页码,从 0 开始
|
|
3617
|
+
*/
|
|
3618
|
+
PageNumber?: number;
|
|
3619
|
+
/**
|
|
3620
|
+
* 每页数量,最大值 100
|
|
3621
|
+
*/
|
|
3622
|
+
PageSize?: number;
|
|
3623
|
+
/**
|
|
3624
|
+
* 名称/展示名称模糊搜索
|
|
3625
|
+
*/
|
|
3626
|
+
Query?: string;
|
|
3627
|
+
}
|
|
3628
|
+
/**
|
|
3629
|
+
* DescribeAppSummaryList返回参数结构体
|
|
3630
|
+
*/
|
|
3631
|
+
export interface DescribeAppSummaryListResponse {
|
|
3632
|
+
/**
|
|
3633
|
+
* 应用摘要列表
|
|
3634
|
+
*/
|
|
3635
|
+
AppSummaryList?: Array<AppSummary>;
|
|
3636
|
+
/**
|
|
3637
|
+
* total_count
|
|
3638
|
+
*/
|
|
3639
|
+
TotalCount?: number;
|
|
3640
|
+
/**
|
|
3641
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3642
|
+
*/
|
|
3643
|
+
RequestId?: string;
|
|
3644
|
+
}
|
|
3645
|
+
/**
|
|
3646
|
+
* 应用配置 - 用户可修改的所有配置
|
|
3647
|
+
*/
|
|
3648
|
+
export interface AppConfig {
|
|
3649
|
+
/**
|
|
3650
|
+
* 体验配置
|
|
3651
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3652
|
+
*/
|
|
3653
|
+
Experience: AppExperienceConfig;
|
|
3654
|
+
/**
|
|
3655
|
+
* 欢迎语配置
|
|
3656
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3657
|
+
*/
|
|
3658
|
+
Greeting: AppGreetingConfig;
|
|
3659
|
+
/**
|
|
3660
|
+
* 记忆配置
|
|
3661
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3662
|
+
*/
|
|
3663
|
+
Memory: AppMemoryConfig;
|
|
3664
|
+
/**
|
|
3665
|
+
* 模式相关配置
|
|
3666
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3667
|
+
*/
|
|
3668
|
+
Mode: AppModeConfig;
|
|
3669
|
+
/**
|
|
3670
|
+
* 模型配置
|
|
3671
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3672
|
+
*/
|
|
3673
|
+
Model: AppModelConfig;
|
|
3674
|
+
/**
|
|
3675
|
+
* 联网搜索配置
|
|
3676
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3677
|
+
*/
|
|
3678
|
+
WebSearch: AppWebSearchConfig;
|
|
3679
|
+
/**
|
|
3680
|
+
* 工作流配置
|
|
3681
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3682
|
+
*/
|
|
3683
|
+
Workflow: AppWorkflowConfig;
|
|
3684
|
+
}
|
|
3685
|
+
/**
|
|
3686
|
+
* CopyApp返回参数结构体
|
|
3687
|
+
*/
|
|
3688
|
+
export interface CopyAppResponse {
|
|
3689
|
+
/**
|
|
3690
|
+
* new_app_id
|
|
3691
|
+
*/
|
|
3692
|
+
NewAppId?: string;
|
|
3693
|
+
/**
|
|
3694
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3695
|
+
*/
|
|
3696
|
+
RequestId?: string;
|
|
3697
|
+
}
|
|
3698
|
+
/**
|
|
3699
|
+
* Agent 插件参数配置
|
|
3700
|
+
*/
|
|
3701
|
+
export interface AgentPluginParameter {
|
|
3702
|
+
/**
|
|
3703
|
+
* <p>参数名称</p>
|
|
3704
|
+
*/
|
|
3705
|
+
Name?: string;
|
|
3706
|
+
/**
|
|
3707
|
+
* <p>是否必填</p>
|
|
3708
|
+
*/
|
|
3709
|
+
IsRequired?: boolean;
|
|
3710
|
+
/**
|
|
3711
|
+
* <p>输入的值</p>
|
|
3712
|
+
*/
|
|
3713
|
+
Input?: AgentInput;
|
|
3714
|
+
}
|
|
3715
|
+
/**
|
|
3716
|
+
* CopyApp请求参数结构体
|
|
3717
|
+
*/
|
|
3718
|
+
export interface CopyAppRequest {
|
|
3719
|
+
/**
|
|
3720
|
+
* app_id
|
|
3721
|
+
*/
|
|
3722
|
+
AppId: string;
|
|
3723
|
+
/**
|
|
3724
|
+
* target_space_id
|
|
3725
|
+
*/
|
|
3726
|
+
TargetSpaceId?: string;
|
|
3727
|
+
}
|
|
3728
|
+
/**
|
|
3729
|
+
* 系统参数
|
|
3730
|
+
*/
|
|
3731
|
+
export interface AgentSystemVariable {
|
|
3732
|
+
/**
|
|
3733
|
+
* <p>系统参数名</p>
|
|
3734
|
+
*/
|
|
3735
|
+
Name?: string;
|
|
3736
|
+
/**
|
|
3737
|
+
* <p>对话历史轮数的配置;如果Input是系统变量中的“对话历史”时才使用;</p>
|
|
3738
|
+
*/
|
|
3739
|
+
DialogHistoryLimit?: number;
|
|
3740
|
+
}
|
|
3741
|
+
/**
|
|
3742
|
+
* 应用操作信息
|
|
3743
|
+
*/
|
|
3744
|
+
export interface AppOperation {
|
|
3745
|
+
/**
|
|
3746
|
+
* 创建人
|
|
3747
|
+
*/
|
|
3748
|
+
Creator: string;
|
|
3749
|
+
/**
|
|
3750
|
+
* 创建人UIN
|
|
3751
|
+
*/
|
|
3752
|
+
CreatorUin: string;
|
|
3753
|
+
/**
|
|
3754
|
+
* 创建人账号(私有化场景使用)
|
|
3755
|
+
*/
|
|
3756
|
+
CreatorUserAccount: string;
|
|
3757
|
+
/**
|
|
3758
|
+
* 修改时间 (Unix时间戳,秒级)
|
|
3759
|
+
*/
|
|
3760
|
+
UpdateTime: string;
|
|
3761
|
+
/**
|
|
3762
|
+
* 最后修改人
|
|
3763
|
+
*/
|
|
3764
|
+
Updater: string;
|
|
3765
|
+
/**
|
|
3766
|
+
* 修改人UIN
|
|
3767
|
+
*/
|
|
3768
|
+
UpdaterUin: string;
|
|
3769
|
+
}
|
|
3770
|
+
/**
|
|
3771
|
+
* PluginProfile
|
|
3772
|
+
*/
|
|
3773
|
+
export interface PluginProfile {
|
|
3774
|
+
/**
|
|
3775
|
+
* 插件作者
|
|
3776
|
+
*/
|
|
3777
|
+
Author?: string;
|
|
3778
|
+
/**
|
|
3779
|
+
* 插件描述
|
|
3780
|
+
*/
|
|
3781
|
+
Description?: string;
|
|
3782
|
+
/**
|
|
3783
|
+
* 插件图标url
|
|
3784
|
+
*/
|
|
3785
|
+
IconUrl?: string;
|
|
3786
|
+
/**
|
|
3787
|
+
* 插件名称
|
|
3788
|
+
*/
|
|
3789
|
+
Name?: string;
|
|
3790
|
+
/**
|
|
3791
|
+
* 插件产品分类
|
|
3792
|
+
枚举值:
|
|
3793
|
+
| uint | 描述 |
|
|
3794
|
+
| --- | --- |
|
|
3795
|
+
| 0 | 普通插件 |
|
|
3796
|
+
| 1 | 连接器类插件 |
|
|
3797
|
+
*/
|
|
3798
|
+
PluginClass?: number;
|
|
3799
|
+
/**
|
|
3800
|
+
* 插件类型
|
|
3801
|
+
枚举值:
|
|
3802
|
+
| uint | 描述 |
|
|
3803
|
+
| --- | --- |
|
|
3804
|
+
| 0 | API接口 |
|
|
3805
|
+
| 1 | 代码 |
|
|
3806
|
+
| 2 | MCP |
|
|
3807
|
+
| 3 | 应用 |
|
|
3808
|
+
*/
|
|
3809
|
+
PluginKind?: number;
|
|
3810
|
+
/**
|
|
3811
|
+
* 插件来源
|
|
3812
|
+
枚举值:
|
|
3813
|
+
| uint | 描述 |
|
|
3814
|
+
| --- | --- |
|
|
3815
|
+
| 0 | 自定义插件 |
|
|
3816
|
+
| 1 | 官方插件 |
|
|
3817
|
+
| 2 | 第三方插件 |
|
|
3818
|
+
*/
|
|
3819
|
+
PluginSource?: number;
|
|
3820
|
+
}
|
|
3821
|
+
/**
|
|
3822
|
+
* DeleteSpace请求参数结构体
|
|
3823
|
+
*/
|
|
3824
|
+
export interface DeleteSpaceRequest {
|
|
3825
|
+
/**
|
|
3826
|
+
* 空间id
|
|
3827
|
+
*/
|
|
3828
|
+
SpaceId?: string;
|
|
3829
|
+
}
|
|
3830
|
+
/**
|
|
3831
|
+
* SkillCategory Skill 分类信息。
|
|
3832
|
+
*/
|
|
3833
|
+
export interface SkillCategory {
|
|
3834
|
+
/**
|
|
3835
|
+
* 分类标识
|
|
3836
|
+
*/
|
|
3837
|
+
CategoryKey: string;
|
|
3838
|
+
/**
|
|
3839
|
+
* 分类名称
|
|
3840
|
+
*/
|
|
3841
|
+
CategoryName: string;
|
|
3842
|
+
}
|
|
3843
|
+
/**
|
|
3844
|
+
* FieldMask
|
|
3845
|
+
*/
|
|
3846
|
+
export interface FieldMask {
|
|
3847
|
+
/**
|
|
3848
|
+
* paths
|
|
3849
|
+
*/
|
|
3850
|
+
Paths?: Array<string>;
|
|
3851
|
+
}
|
|
3852
|
+
/**
|
|
3853
|
+
* DescribeReleaseList返回参数结构体
|
|
3854
|
+
*/
|
|
3855
|
+
export interface DescribeReleaseListResponse {
|
|
3856
|
+
/**
|
|
3857
|
+
* release_list
|
|
3858
|
+
*/
|
|
3859
|
+
ReleaseList?: Array<ReleaseRecord>;
|
|
3860
|
+
/**
|
|
3861
|
+
* total_count
|
|
3862
|
+
*/
|
|
3863
|
+
TotalCount?: number;
|
|
3864
|
+
/**
|
|
3865
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3866
|
+
*/
|
|
3867
|
+
RequestId?: string;
|
|
3868
|
+
}
|
|
3869
|
+
/**
|
|
3870
|
+
* BackgroundImage 背景图片配置
|
|
3871
|
+
*/
|
|
3872
|
+
export interface BackgroundImage {
|
|
3873
|
+
/**
|
|
3874
|
+
* 亮度值
|
|
3875
|
+
*/
|
|
3876
|
+
Brightness: number;
|
|
3877
|
+
/**
|
|
3878
|
+
* 横图(pc)
|
|
3879
|
+
*/
|
|
3880
|
+
LandscapeImageUrl: string;
|
|
3881
|
+
/**
|
|
3882
|
+
* 原始图
|
|
3883
|
+
*/
|
|
3884
|
+
OriginalImageUrl: string;
|
|
3885
|
+
/**
|
|
3886
|
+
* 长图(手机)
|
|
3887
|
+
*/
|
|
3888
|
+
PortraitImageUrl: string;
|
|
3889
|
+
/**
|
|
3890
|
+
* 主题色
|
|
3891
|
+
*/
|
|
3892
|
+
ThemeColor: string;
|
|
3893
|
+
}
|
|
3894
|
+
/**
|
|
3895
|
+
* DescribeVariable请求参数结构体
|
|
3896
|
+
*/
|
|
3897
|
+
export interface DescribeVariableRequest {
|
|
3898
|
+
/**
|
|
3899
|
+
* app_id
|
|
3900
|
+
*/
|
|
3901
|
+
AppId: string;
|
|
3902
|
+
/**
|
|
3903
|
+
* variable_id
|
|
3904
|
+
*/
|
|
3905
|
+
VariableId: string;
|
|
3906
|
+
/**
|
|
3907
|
+
* module_type。枚举值: 1:环境参数, 2:应用参数, 3:系统参数, -1:所有参数
|
|
3908
|
+
*/
|
|
3909
|
+
ModuleType?: number;
|
|
3910
|
+
}
|
|
3911
|
+
/**
|
|
3912
|
+
* DescribeSkillCategoryList请求参数结构体
|
|
3913
|
+
*/
|
|
3914
|
+
export type DescribeSkillCategoryListRequest = null;
|
|
3915
|
+
/**
|
|
3916
|
+
* 模型完整信息
|
|
3917
|
+
*/
|
|
3918
|
+
export interface Model {
|
|
3919
|
+
/**
|
|
3920
|
+
* 模型徽章列表
|
|
3921
|
+
*/
|
|
3922
|
+
BadgeList?: Array<ModelBadge>;
|
|
3923
|
+
/**
|
|
3924
|
+
* 模型限制信息
|
|
3925
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3926
|
+
*/
|
|
3927
|
+
LimitInfo?: ModelLimit;
|
|
3928
|
+
/**
|
|
3929
|
+
* 模型基本信息
|
|
3930
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3931
|
+
*/
|
|
3932
|
+
ModelBasic?: ModelBasic;
|
|
3933
|
+
/**
|
|
3934
|
+
* 模型超参配置
|
|
3935
|
+
*/
|
|
3936
|
+
ParameterList?: Array<ModelParameter>;
|
|
3937
|
+
/**
|
|
3938
|
+
* 模型属性配置
|
|
3939
|
+
*/
|
|
3940
|
+
PropertyList?: Array<ModelProperty>;
|
|
3941
|
+
/**
|
|
3942
|
+
* 模型提供商信息
|
|
3943
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3944
|
+
*/
|
|
3945
|
+
ProviderInfo?: ModelProviderBasic;
|
|
3946
|
+
/**
|
|
3947
|
+
* 模型状态信息
|
|
3948
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3949
|
+
*/
|
|
3950
|
+
StatusInfo?: ModelStatus;
|
|
3951
|
+
/**
|
|
3952
|
+
* 模型标签列表
|
|
3953
|
+
*/
|
|
3954
|
+
TagList?: Array<string>;
|
|
3955
|
+
}
|
|
3956
|
+
/**
|
|
3957
|
+
* DescribeSkillSummaryList返回参数结构体
|
|
3958
|
+
*/
|
|
3959
|
+
export interface DescribeSkillSummaryListResponse {
|
|
3960
|
+
/**
|
|
3961
|
+
* Skill 摘要列表
|
|
3962
|
+
*/
|
|
3963
|
+
SkillSummaryList?: Array<SkillSummary>;
|
|
3964
|
+
/**
|
|
3965
|
+
* 总数量
|
|
3966
|
+
*/
|
|
3967
|
+
TotalCount?: number;
|
|
3968
|
+
/**
|
|
3969
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3970
|
+
*/
|
|
3971
|
+
RequestId?: string;
|
|
3972
|
+
}
|
|
3973
|
+
/**
|
|
3974
|
+
* DescribeConversationMessageList请求参数结构体
|
|
3975
|
+
*/
|
|
3976
|
+
export interface DescribeConversationMessageListRequest {
|
|
3977
|
+
/**
|
|
3978
|
+
* <p>会话 ID</p>
|
|
3979
|
+
*/
|
|
3980
|
+
ConversationId: string;
|
|
3981
|
+
/**
|
|
3982
|
+
* <p>会话类型 枚举值: 0-CONVERSATION_TYPE_UNSPECIFIED(未指定;列表查询时表示全部), 1-CONVERSATION_TYPE_VISITOR(访客端体验), 2-CONVERSATION_TYPE_EVALUATION(评测), 5-CONVERSATION_TYPE_API(API 接入), 10-CONVERSATION_TYPE_WORKFLOW(工作流调试), 20-CONVERSATION_TYPE_SHARE(分享链接)</p>
|
|
3983
|
+
*/
|
|
3984
|
+
Type: number;
|
|
3985
|
+
/**
|
|
3986
|
+
* <p>Type=CONVERSATION_TYPE_API 时必填,应用密钥</p>
|
|
3987
|
+
*/
|
|
3988
|
+
AppKey?: string;
|
|
3989
|
+
/**
|
|
3990
|
+
* <p>返回记录总数量,默认 10,最大 50。向前或向后查询时,不包含record_id指定记录的消息,查询方向中心向前后查询时,包含record_id指定的记录消息,返回记录数量为前后各limit / 2条,向上取整</p>
|
|
3991
|
+
*/
|
|
3992
|
+
Limit?: number;
|
|
3993
|
+
/**
|
|
3994
|
+
* <p>子用户Uin</p>
|
|
3995
|
+
*/
|
|
3996
|
+
LoginSubAccountUin?: string;
|
|
3997
|
+
/**
|
|
3998
|
+
* <p>主用户Uin</p>
|
|
3999
|
+
*/
|
|
4000
|
+
LoginUin?: string;
|
|
4001
|
+
/**
|
|
4002
|
+
* <p>查询锚点记录 ID</p>
|
|
4003
|
+
*/
|
|
4004
|
+
RecordId?: string;
|
|
4005
|
+
/**
|
|
4006
|
+
* <p>相对于 record_id 的查询方向 枚举值: 0-RECORD_QUERY_DIRECTION_UNSPECIFIED(未指定,兼容旧逻辑,默认向前查询), 1-RECORD_QUERY_DIRECTION_BACKWARD(从 record_id 向前查询更早的消息), 2-RECORD_QUERY_DIRECTION_FORWARD(从 record_id 向后查询更新的消息), 3-RECORD_QUERY_DIRECTION_BIDIRECTIONAL(以 record_id 为中心,同时向前后查询)</p>
|
|
4007
|
+
*/
|
|
4008
|
+
RecordQueryDirection?: number;
|
|
4009
|
+
/**
|
|
4010
|
+
* <p>Type=CONVERSATION_TYPE_SHARE 时必填,分享码</p>
|
|
4011
|
+
*/
|
|
4012
|
+
ShareCode?: string;
|
|
4013
|
+
/**
|
|
4014
|
+
* <p>Type=CONVERSATION_TYPE_API 时必填,访客ID</p>
|
|
4015
|
+
*/
|
|
4016
|
+
UserId?: string;
|
|
4017
|
+
}
|
|
4018
|
+
/**
|
|
4019
|
+
* 数智人配置
|
|
4020
|
+
*/
|
|
4021
|
+
export interface DigitalHumanConfig {
|
|
4022
|
+
/**
|
|
4023
|
+
* 数智人形象资产id
|
|
4024
|
+
*/
|
|
4025
|
+
AssetKey: string;
|
|
4026
|
+
/**
|
|
4027
|
+
* 数智人图片
|
|
4028
|
+
*/
|
|
4029
|
+
Avatar: string;
|
|
4030
|
+
/**
|
|
4031
|
+
* 数智人形象名称
|
|
4032
|
+
*/
|
|
4033
|
+
Name: string;
|
|
4034
|
+
/**
|
|
4035
|
+
* 数智人预览地址
|
|
4036
|
+
*/
|
|
4037
|
+
PreviewUrl: string;
|
|
4038
|
+
}
|
|
4039
|
+
/**
|
|
4040
|
+
* 模型提供商基本信息
|
|
4041
|
+
*/
|
|
4042
|
+
export interface ModelProviderBasic {
|
|
4043
|
+
/**
|
|
4044
|
+
* 模型提供商别名
|
|
4045
|
+
*/
|
|
4046
|
+
Alias?: string;
|
|
4047
|
+
/**
|
|
4048
|
+
* 模型提供商名称
|
|
4049
|
+
*/
|
|
4050
|
+
Name?: string;
|
|
4051
|
+
/**
|
|
4052
|
+
* 模型提供商类型。1-自有提供商, 2-自定义模型提供商, 3-第三方模型提供商
|
|
4053
|
+
*/
|
|
4054
|
+
ProviderType?: number;
|
|
4055
|
+
}
|
|
4056
|
+
/**
|
|
4057
|
+
* Conversation 会话信息
|
|
4058
|
+
*/
|
|
4059
|
+
export interface Conversation {
|
|
4060
|
+
/**
|
|
4061
|
+
* <p>应用 ID</p>
|
|
4062
|
+
*/
|
|
4063
|
+
AppId: string;
|
|
4064
|
+
/**
|
|
4065
|
+
* <p>会话 ID</p>
|
|
4066
|
+
*/
|
|
4067
|
+
ConversationId: string;
|
|
4068
|
+
/**
|
|
4069
|
+
* <p>创建时间</p>
|
|
4070
|
+
*/
|
|
4071
|
+
CreateTime: string;
|
|
4072
|
+
/**
|
|
4073
|
+
* <p>会话类型 枚举值: 0-CONVERSATION_TYPE_UNSPECIFIED(未指定;列表查询时表示全部), 1-CONVERSATION_TYPE_VISITOR(访客端体验), 2-CONVERSATION_TYPE_EVALUATION(评测), 5-CONVERSATION_TYPE_API(API 接入), 10-CONVERSATION_TYPE_WORKFLOW(工作流调试), 20-CONVERSATION_TYPE_SHARE(分享链接)</p>
|
|
4074
|
+
*/
|
|
4075
|
+
Type: number;
|
|
4076
|
+
/**
|
|
4077
|
+
* <p>更新时间</p>
|
|
4078
|
+
*/
|
|
4079
|
+
UpdateTime: string;
|
|
4080
|
+
/**
|
|
4081
|
+
* 会话标题
|
|
4082
|
+
*/
|
|
4083
|
+
Title?: string;
|
|
4084
|
+
}
|
|
4085
|
+
/**
|
|
4086
|
+
* DescribeConversation返回参数结构体
|
|
4087
|
+
*/
|
|
4088
|
+
export interface DescribeConversationResponse {
|
|
4089
|
+
/**
|
|
4090
|
+
* <p>应用 ID</p>
|
|
4091
|
+
*/
|
|
4092
|
+
AppId?: string;
|
|
4093
|
+
/**
|
|
4094
|
+
* <p>会话 ID</p>
|
|
4095
|
+
*/
|
|
4096
|
+
ConversationId?: string;
|
|
4097
|
+
/**
|
|
4098
|
+
* <p>创建时间</p>
|
|
4099
|
+
*/
|
|
4100
|
+
CreateTime?: string;
|
|
4101
|
+
/**
|
|
4102
|
+
* <p>会话类型 枚举值: 0-CONVERSATION_TYPE_UNSPECIFIED(未指定;列表查询时表示全部), 1-CONVERSATION_TYPE_VISITOR(访客端体验), 2-CONVERSATION_TYPE_EVALUATION(评测), 5-CONVERSATION_TYPE_API(API 接入), 10-CONVERSATION_TYPE_WORKFLOW(工作流调试), 20-CONVERSATION_TYPE_SHARE(分享链接)</p>
|
|
4103
|
+
*/
|
|
4104
|
+
Type?: number;
|
|
4105
|
+
/**
|
|
4106
|
+
* <p>更新时间</p>
|
|
4107
|
+
*/
|
|
4108
|
+
UpdateTime?: string;
|
|
4109
|
+
/**
|
|
4110
|
+
* <p>工作空间</p>
|
|
4111
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4112
|
+
*/
|
|
4113
|
+
Workspace?: ConversationWorkspace;
|
|
4114
|
+
/**
|
|
4115
|
+
* 会话标题
|
|
4116
|
+
*/
|
|
4117
|
+
Title?: string;
|
|
4118
|
+
/**
|
|
4119
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4120
|
+
*/
|
|
4121
|
+
RequestId?: string;
|
|
4122
|
+
}
|
|
4123
|
+
/**
|
|
4124
|
+
* 应用高级配置
|
|
4125
|
+
*/
|
|
4126
|
+
export interface AppAdvancedConf {
|
|
4127
|
+
/**
|
|
4128
|
+
* 是否开启上下文改写
|
|
4129
|
+
*/
|
|
4130
|
+
EnableContextRewrite: boolean;
|
|
4131
|
+
/**
|
|
4132
|
+
* 是否开启图文检索
|
|
4133
|
+
*/
|
|
4134
|
+
EnableImageTextRetrieval: boolean;
|
|
4135
|
+
/**
|
|
4136
|
+
* 回复灵活度
|
|
4137
|
+
*/
|
|
4138
|
+
ReplyFlexibility: number;
|
|
4139
|
+
/**
|
|
4140
|
+
* 意图达成优先级
|
|
4141
|
+
*/
|
|
4142
|
+
IntentAchievement?: Array<IntentAchievementInfo>;
|
|
4143
|
+
}
|
|
4144
|
+
/**
|
|
4145
|
+
* DescribeSpaceList请求参数结构体
|
|
4146
|
+
*/
|
|
4147
|
+
export interface DescribeSpaceListRequest {
|
|
4148
|
+
/**
|
|
4149
|
+
* 支持空间名称模糊搜索
|
|
4150
|
+
*/
|
|
4151
|
+
Query?: string;
|
|
4152
|
+
}
|
|
4153
|
+
/**
|
|
4154
|
+
* SkillVersion Skill 版本信息。
|
|
4155
|
+
*/
|
|
4156
|
+
export interface SkillVersion {
|
|
4157
|
+
/**
|
|
4158
|
+
* 检测信息
|
|
4159
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4160
|
+
*/
|
|
4161
|
+
AnalysisInfo: SkillAnalysisInfo;
|
|
4162
|
+
/**
|
|
4163
|
+
* 当前生效版本号
|
|
4164
|
+
*/
|
|
4165
|
+
Version: string;
|
|
4166
|
+
/**
|
|
4167
|
+
* 当前生效版本ID
|
|
4168
|
+
*/
|
|
4169
|
+
VersionId: string;
|
|
4170
|
+
}
|
|
4171
|
+
/**
|
|
4172
|
+
* Agent 工具详情
|
|
4173
|
+
*/
|
|
4174
|
+
export interface AgentTool {
|
|
4175
|
+
/**
|
|
4176
|
+
* <p>工具配置字段</p>
|
|
4177
|
+
*/
|
|
4178
|
+
Config?: AgentToolBasicConfig;
|
|
4179
|
+
/**
|
|
4180
|
+
* <p>工具名称</p>
|
|
4181
|
+
*/
|
|
4182
|
+
Name?: string;
|
|
4183
|
+
/**
|
|
4184
|
+
* <p>工具状态</p><p>枚举值:</p><ul><li>1: 可用</li><li>2: 不可用</li><li>3: 已失效</li></ul>
|
|
4185
|
+
*/
|
|
4186
|
+
Status?: number;
|
|
4187
|
+
/**
|
|
4188
|
+
* <p>调用方式</p><p>枚举值:</p><ul><li>0: 非流式</li><li>1: 流式</li></ul>
|
|
4189
|
+
*/
|
|
4190
|
+
StreamMode?: number;
|
|
4191
|
+
/**
|
|
4192
|
+
* <p>工具访问模式</p><p>枚举值:</p><ul><li>0: 未指定</li><li>1: 只读</li><li>2: 写/删除</li></ul>
|
|
4193
|
+
*/
|
|
4194
|
+
ToolAccessMode?: number;
|
|
4195
|
+
}
|
|
4196
|
+
/**
|
|
4197
|
+
* 模式配置 - 包含不同模式的独有配置
|
|
4198
|
+
*/
|
|
4199
|
+
export interface AppModeConfig {
|
|
4200
|
+
/**
|
|
4201
|
+
* 多智能体配置(Agent模式)
|
|
4202
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4203
|
+
*/
|
|
4204
|
+
MultiAgentConfig: MultiAgentConfig;
|
|
4205
|
+
/**
|
|
4206
|
+
* 单工作流配置(单工作流模式)
|
|
4207
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4208
|
+
*/
|
|
4209
|
+
SingleWorkflowConfig: SingleWorkflowConfig;
|
|
4210
|
+
}
|
|
4211
|
+
/**
|
|
4212
|
+
* DeleteSpace返回参数结构体
|
|
4213
|
+
*/
|
|
4214
|
+
export interface DeleteSpaceResponse {
|
|
4215
|
+
/**
|
|
4216
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4217
|
+
*/
|
|
4218
|
+
RequestId?: string;
|
|
4219
|
+
}
|