@alicloud/aimiaobi20230801 1.35.0 → 1.35.1

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.
@@ -85,6 +85,412 @@ export class RunSearchGenerationResponseBodyHeader extends $dara.Model {
85
85
  }
86
86
  }
87
87
 
88
+ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentAudioSearchResultSearchResultArticle extends $dara.Model {
89
+ /**
90
+ * @example
91
+ * xx
92
+ */
93
+ docId?: string;
94
+ /**
95
+ * @example
96
+ * xx
97
+ */
98
+ docUuid?: string;
99
+ /**
100
+ * @example
101
+ * xx
102
+ */
103
+ searchSourceName?: string;
104
+ /**
105
+ * @example
106
+ * xxx
107
+ */
108
+ summary?: string;
109
+ /**
110
+ * @example
111
+ * xx
112
+ */
113
+ title?: string;
114
+ /**
115
+ * @example
116
+ * http://xxx
117
+ */
118
+ url?: string;
119
+ static names(): { [key: string]: string } {
120
+ return {
121
+ docId: 'DocId',
122
+ docUuid: 'DocUuid',
123
+ searchSourceName: 'SearchSourceName',
124
+ summary: 'Summary',
125
+ title: 'Title',
126
+ url: 'Url',
127
+ };
128
+ }
129
+
130
+ static types(): { [key: string]: any } {
131
+ return {
132
+ docId: 'string',
133
+ docUuid: 'string',
134
+ searchSourceName: 'string',
135
+ summary: 'string',
136
+ title: 'string',
137
+ url: 'string',
138
+ };
139
+ }
140
+
141
+ validate() {
142
+ super.validate();
143
+ }
144
+
145
+ constructor(map?: { [key: string]: any }) {
146
+ super(map);
147
+ }
148
+ }
149
+
150
+ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentAudioSearchResultSearchResultClipInfos extends $dara.Model {
151
+ /**
152
+ * @example
153
+ * 1
154
+ */
155
+ from?: number;
156
+ /**
157
+ * @example
158
+ * 0.9
159
+ */
160
+ score?: number;
161
+ /**
162
+ * @example
163
+ * xx
164
+ */
165
+ text?: string;
166
+ /**
167
+ * @example
168
+ * 2
169
+ */
170
+ to?: number;
171
+ /**
172
+ * @example
173
+ * asr
174
+ */
175
+ type?: string;
176
+ static names(): { [key: string]: string } {
177
+ return {
178
+ from: 'From',
179
+ score: 'Score',
180
+ text: 'Text',
181
+ to: 'To',
182
+ type: 'Type',
183
+ };
184
+ }
185
+
186
+ static types(): { [key: string]: any } {
187
+ return {
188
+ from: 'number',
189
+ score: 'number',
190
+ text: 'string',
191
+ to: 'number',
192
+ type: 'string',
193
+ };
194
+ }
195
+
196
+ validate() {
197
+ super.validate();
198
+ }
199
+
200
+ constructor(map?: { [key: string]: any }) {
201
+ super(map);
202
+ }
203
+ }
204
+
205
+ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentAudioSearchResultSearchResult extends $dara.Model {
206
+ article?: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentAudioSearchResultSearchResultArticle;
207
+ clipInfos?: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentAudioSearchResultSearchResultClipInfos[];
208
+ /**
209
+ * @example
210
+ * http://xxx
211
+ */
212
+ fileUrl?: string;
213
+ /**
214
+ * @example
215
+ * xxx
216
+ */
217
+ mediaId?: string;
218
+ /**
219
+ * @example
220
+ * 1
221
+ */
222
+ traceabilityId?: string;
223
+ static names(): { [key: string]: string } {
224
+ return {
225
+ article: 'Article',
226
+ clipInfos: 'ClipInfos',
227
+ fileUrl: 'FileUrl',
228
+ mediaId: 'MediaId',
229
+ traceabilityId: 'TraceabilityId',
230
+ };
231
+ }
232
+
233
+ static types(): { [key: string]: any } {
234
+ return {
235
+ article: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentAudioSearchResultSearchResultArticle,
236
+ clipInfos: { 'type': 'array', 'itemType': RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentAudioSearchResultSearchResultClipInfos },
237
+ fileUrl: 'string',
238
+ mediaId: 'string',
239
+ traceabilityId: 'string',
240
+ };
241
+ }
242
+
243
+ validate() {
244
+ if(this.article && typeof (this.article as any).validate === 'function') {
245
+ (this.article as any).validate();
246
+ }
247
+ if(Array.isArray(this.clipInfos)) {
248
+ $dara.Model.validateArray(this.clipInfos);
249
+ }
250
+ super.validate();
251
+ }
252
+
253
+ constructor(map?: { [key: string]: any }) {
254
+ super(map);
255
+ }
256
+ }
257
+
258
+ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentAudioSearchResult extends $dara.Model {
259
+ searchResult?: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentAudioSearchResultSearchResult[];
260
+ static names(): { [key: string]: string } {
261
+ return {
262
+ searchResult: 'SearchResult',
263
+ };
264
+ }
265
+
266
+ static types(): { [key: string]: any } {
267
+ return {
268
+ searchResult: { 'type': 'array', 'itemType': RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentAudioSearchResultSearchResult },
269
+ };
270
+ }
271
+
272
+ validate() {
273
+ if(Array.isArray(this.searchResult)) {
274
+ $dara.Model.validateArray(this.searchResult);
275
+ }
276
+ super.validate();
277
+ }
278
+
279
+ constructor(map?: { [key: string]: any }) {
280
+ super(map);
281
+ }
282
+ }
283
+
284
+ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopicsAudioSearchResultSearchResultArticle extends $dara.Model {
285
+ /**
286
+ * @example
287
+ * xx
288
+ */
289
+ docId?: string;
290
+ /**
291
+ * @example
292
+ * xx
293
+ */
294
+ docUuid?: string;
295
+ /**
296
+ * @example
297
+ * xx
298
+ */
299
+ searchSourceName?: string;
300
+ /**
301
+ * @example
302
+ * xx
303
+ */
304
+ summary?: string;
305
+ /**
306
+ * @example
307
+ * xx
308
+ */
309
+ title?: string;
310
+ /**
311
+ * @example
312
+ * http://xx
313
+ */
314
+ url?: string;
315
+ static names(): { [key: string]: string } {
316
+ return {
317
+ docId: 'DocId',
318
+ docUuid: 'DocUuid',
319
+ searchSourceName: 'SearchSourceName',
320
+ summary: 'Summary',
321
+ title: 'Title',
322
+ url: 'Url',
323
+ };
324
+ }
325
+
326
+ static types(): { [key: string]: any } {
327
+ return {
328
+ docId: 'string',
329
+ docUuid: 'string',
330
+ searchSourceName: 'string',
331
+ summary: 'string',
332
+ title: 'string',
333
+ url: 'string',
334
+ };
335
+ }
336
+
337
+ validate() {
338
+ super.validate();
339
+ }
340
+
341
+ constructor(map?: { [key: string]: any }) {
342
+ super(map);
343
+ }
344
+ }
345
+
346
+ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopicsAudioSearchResultSearchResultClipInfos extends $dara.Model {
347
+ /**
348
+ * @example
349
+ * 1
350
+ */
351
+ from?: number;
352
+ /**
353
+ * @example
354
+ * 1
355
+ */
356
+ score?: number;
357
+ /**
358
+ * @example
359
+ * xx
360
+ */
361
+ text?: string;
362
+ /**
363
+ * @example
364
+ * 1
365
+ */
366
+ to?: number;
367
+ /**
368
+ * @example
369
+ * asr
370
+ */
371
+ type?: string;
372
+ static names(): { [key: string]: string } {
373
+ return {
374
+ from: 'From',
375
+ score: 'Score',
376
+ text: 'Text',
377
+ to: 'To',
378
+ type: 'Type',
379
+ };
380
+ }
381
+
382
+ static types(): { [key: string]: any } {
383
+ return {
384
+ from: 'number',
385
+ score: 'number',
386
+ text: 'string',
387
+ to: 'number',
388
+ type: 'string',
389
+ };
390
+ }
391
+
392
+ validate() {
393
+ super.validate();
394
+ }
395
+
396
+ constructor(map?: { [key: string]: any }) {
397
+ super(map);
398
+ }
399
+ }
400
+
401
+ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopicsAudioSearchResultSearchResult extends $dara.Model {
402
+ article?: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopicsAudioSearchResultSearchResultArticle;
403
+ clipInfos?: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopicsAudioSearchResultSearchResultClipInfos[];
404
+ /**
405
+ * @example
406
+ * http://xx
407
+ */
408
+ fileUrl?: string;
409
+ /**
410
+ * @example
411
+ * xxx
412
+ */
413
+ mediaId?: string;
414
+ static names(): { [key: string]: string } {
415
+ return {
416
+ article: 'Article',
417
+ clipInfos: 'ClipInfos',
418
+ fileUrl: 'FileUrl',
419
+ mediaId: 'MediaId',
420
+ };
421
+ }
422
+
423
+ static types(): { [key: string]: any } {
424
+ return {
425
+ article: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopicsAudioSearchResultSearchResultArticle,
426
+ clipInfos: { 'type': 'array', 'itemType': RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopicsAudioSearchResultSearchResultClipInfos },
427
+ fileUrl: 'string',
428
+ mediaId: 'string',
429
+ };
430
+ }
431
+
432
+ validate() {
433
+ if(this.article && typeof (this.article as any).validate === 'function') {
434
+ (this.article as any).validate();
435
+ }
436
+ if(Array.isArray(this.clipInfos)) {
437
+ $dara.Model.validateArray(this.clipInfos);
438
+ }
439
+ super.validate();
440
+ }
441
+
442
+ constructor(map?: { [key: string]: any }) {
443
+ super(map);
444
+ }
445
+ }
446
+
447
+ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopicsAudioSearchResult extends $dara.Model {
448
+ /**
449
+ * @example
450
+ * 1
451
+ */
452
+ current?: number;
453
+ searchResult?: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopicsAudioSearchResultSearchResult;
454
+ /**
455
+ * @example
456
+ * 1
457
+ */
458
+ size?: number;
459
+ /**
460
+ * @example
461
+ * 1
462
+ */
463
+ total?: number;
464
+ static names(): { [key: string]: string } {
465
+ return {
466
+ current: 'Current',
467
+ searchResult: 'SearchResult',
468
+ size: 'Size',
469
+ total: 'Total',
470
+ };
471
+ }
472
+
473
+ static types(): { [key: string]: any } {
474
+ return {
475
+ current: 'number',
476
+ searchResult: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopicsAudioSearchResultSearchResult,
477
+ size: 'number',
478
+ total: 'number',
479
+ };
480
+ }
481
+
482
+ validate() {
483
+ if(this.searchResult && typeof (this.searchResult as any).validate === 'function') {
484
+ (this.searchResult as any).validate();
485
+ }
486
+ super.validate();
487
+ }
488
+
489
+ constructor(map?: { [key: string]: any }) {
490
+ super(map);
491
+ }
492
+ }
493
+
88
494
  export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopicsImageSearchResultSearchResultArticle extends $dara.Model {
89
495
  /**
90
496
  * @example
@@ -622,6 +1028,7 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
622
1028
  }
623
1029
 
624
1030
  export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopics extends $dara.Model {
1031
+ audioSearchResult?: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopicsAudioSearchResult;
625
1032
  imageSearchResult?: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopicsImageSearchResult;
626
1033
  textSearchResult?: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopicsTextSearchResult;
627
1034
  /**
@@ -632,6 +1039,7 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
632
1039
  videoSearchResult?: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopicsVideoSearchResult;
633
1040
  static names(): { [key: string]: string } {
634
1041
  return {
1042
+ audioSearchResult: 'AudioSearchResult',
635
1043
  imageSearchResult: 'ImageSearchResult',
636
1044
  textSearchResult: 'TextSearchResult',
637
1045
  topic: 'Topic',
@@ -641,6 +1049,7 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
641
1049
 
642
1050
  static types(): { [key: string]: any } {
643
1051
  return {
1052
+ audioSearchResult: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopicsAudioSearchResult,
644
1053
  imageSearchResult: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopicsImageSearchResult,
645
1054
  textSearchResult: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResultClusterTopicsTextSearchResult,
646
1055
  topic: 'string',
@@ -649,6 +1058,9 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
649
1058
  }
650
1059
 
651
1060
  validate() {
1061
+ if(this.audioSearchResult && typeof (this.audioSearchResult as any).validate === 'function') {
1062
+ (this.audioSearchResult as any).validate();
1063
+ }
652
1064
  if(this.imageSearchResult && typeof (this.imageSearchResult as any).validate === 'function') {
653
1065
  (this.imageSearchResult as any).validate();
654
1066
  }
@@ -1156,11 +1568,17 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
1156
1568
  * xx
1157
1569
  */
1158
1570
  mediaId?: string;
1571
+ /**
1572
+ * @example
1573
+ * 1
1574
+ */
1575
+ traceabilityId?: string;
1159
1576
  static names(): { [key: string]: string } {
1160
1577
  return {
1161
1578
  article: 'Article',
1162
1579
  fileUrl: 'FileUrl',
1163
1580
  mediaId: 'MediaId',
1581
+ traceabilityId: 'TraceabilityId',
1164
1582
  };
1165
1583
  }
1166
1584
 
@@ -1169,6 +1587,7 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
1169
1587
  article: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentImageSearchResultSearchResultArticle,
1170
1588
  fileUrl: 'string',
1171
1589
  mediaId: 'string',
1590
+ traceabilityId: 'string',
1172
1591
  };
1173
1592
  }
1174
1593
 
@@ -1524,6 +1943,11 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
1524
1943
  }
1525
1944
 
1526
1945
  export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentTextGenerateResultGenerateTraceabilityCoordinatesNewsCoordinate extends $dara.Model {
1946
+ /**
1947
+ * @example
1948
+ * image
1949
+ */
1950
+ mediaType?: string;
1527
1951
  /**
1528
1952
  * @example
1529
1953
  * 1
@@ -1541,6 +1965,7 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
1541
1965
  z?: number;
1542
1966
  static names(): { [key: string]: string } {
1543
1967
  return {
1968
+ mediaType: 'MediaType',
1544
1969
  x: 'X',
1545
1970
  y: 'Y',
1546
1971
  z: 'Z',
@@ -1549,6 +1974,7 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
1549
1974
 
1550
1975
  static types(): { [key: string]: any } {
1551
1976
  return {
1977
+ mediaType: 'string',
1552
1978
  x: 'number',
1553
1979
  y: 'number',
1554
1980
  z: 'number',
@@ -2254,6 +2680,11 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
2254
2680
  * xx
2255
2681
  */
2256
2682
  title?: string;
2683
+ /**
2684
+ * @example
2685
+ * 1
2686
+ */
2687
+ traceabilityId?: string;
2257
2688
  /**
2258
2689
  * @example
2259
2690
  * xx
@@ -2270,6 +2701,7 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
2270
2701
  searchSourceType: 'SearchSourceType',
2271
2702
  summary: 'Summary',
2272
2703
  title: 'Title',
2704
+ traceabilityId: 'TraceabilityId',
2273
2705
  url: 'Url',
2274
2706
  };
2275
2707
  }
@@ -2285,6 +2717,7 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
2285
2717
  searchSourceType: 'string',
2286
2718
  summary: 'string',
2287
2719
  title: 'string',
2720
+ traceabilityId: 'string',
2288
2721
  url: 'string',
2289
2722
  };
2290
2723
  }
@@ -2375,6 +2808,11 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
2375
2808
  }
2376
2809
 
2377
2810
  export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentTimelineResultGenerateTraceabilityCoordinatesNewsCoordinate extends $dara.Model {
2811
+ /**
2812
+ * @example
2813
+ * image
2814
+ */
2815
+ mediaType?: string;
2378
2816
  /**
2379
2817
  * @example
2380
2818
  * 1
@@ -2392,6 +2830,7 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
2392
2830
  z?: number;
2393
2831
  static names(): { [key: string]: string } {
2394
2832
  return {
2833
+ mediaType: 'MediaType',
2395
2834
  x: 'X',
2396
2835
  y: 'Y',
2397
2836
  z: 'Z',
@@ -2400,6 +2839,7 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
2400
2839
 
2401
2840
  static types(): { [key: string]: any } {
2402
2841
  return {
2842
+ mediaType: 'string',
2403
2843
  x: 'number',
2404
2844
  y: 'number',
2405
2845
  z: 'number',
@@ -3147,12 +3587,18 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
3147
3587
  * xx
3148
3588
  */
3149
3589
  mediaId?: string;
3590
+ /**
3591
+ * @example
3592
+ * 1
3593
+ */
3594
+ traceabilityId?: string;
3150
3595
  static names(): { [key: string]: string } {
3151
3596
  return {
3152
3597
  article: 'Article',
3153
3598
  clipInfos: 'ClipInfos',
3154
3599
  fileUrl: 'FileUrl',
3155
3600
  mediaId: 'MediaId',
3601
+ traceabilityId: 'TraceabilityId',
3156
3602
  };
3157
3603
  }
3158
3604
 
@@ -3162,6 +3608,7 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
3162
3608
  clipInfos: { 'type': 'array', 'itemType': RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentVideoSearchResultSearchResultClipInfos },
3163
3609
  fileUrl: 'string',
3164
3610
  mediaId: 'string',
3611
+ traceabilityId: 'string',
3165
3612
  };
3166
3613
  }
3167
3614
 
@@ -3207,6 +3654,7 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
3207
3654
  }
3208
3655
 
3209
3656
  export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContent extends $dara.Model {
3657
+ audioSearchResult?: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentAudioSearchResult;
3210
3658
  clusterTopicResult?: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResult;
3211
3659
  excerptResult?: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentExcerptResult;
3212
3660
  imageSearchResult?: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentImageSearchResult;
@@ -3217,6 +3665,7 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
3217
3665
  videoSearchResult?: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentVideoSearchResult;
3218
3666
  static names(): { [key: string]: string } {
3219
3667
  return {
3668
+ audioSearchResult: 'AudioSearchResult',
3220
3669
  clusterTopicResult: 'ClusterTopicResult',
3221
3670
  excerptResult: 'ExcerptResult',
3222
3671
  imageSearchResult: 'ImageSearchResult',
@@ -3230,6 +3679,7 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
3230
3679
 
3231
3680
  static types(): { [key: string]: any } {
3232
3681
  return {
3682
+ audioSearchResult: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentAudioSearchResult,
3233
3683
  clusterTopicResult: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentClusterTopicResult,
3234
3684
  excerptResult: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentExcerptResult,
3235
3685
  imageSearchResult: RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextGeneratedContentImageSearchResult,
@@ -3242,6 +3692,9 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContextBizContextG
3242
3692
  }
3243
3693
 
3244
3694
  validate() {
3695
+ if(this.audioSearchResult && typeof (this.audioSearchResult as any).validate === 'function') {
3696
+ (this.audioSearchResult as any).validate();
3697
+ }
3245
3698
  if(this.clusterTopicResult && typeof (this.clusterTopicResult as any).validate === 'function') {
3246
3699
  (this.clusterTopicResult as any).validate();
3247
3700
  }
@@ -3429,17 +3882,245 @@ export class RunSearchGenerationResponseBodyPayloadOutputAgentContext extends $d
3429
3882
  }
3430
3883
  }
3431
3884
 
3885
+ export class RunSearchGenerationResponseBodyPayloadOutputMessagesSearchResultAudios extends $dara.Model {
3886
+ /**
3887
+ * @example
3888
+ * xx
3889
+ */
3890
+ mediaId?: string;
3891
+ static names(): { [key: string]: string } {
3892
+ return {
3893
+ mediaId: 'MediaId',
3894
+ };
3895
+ }
3896
+
3897
+ static types(): { [key: string]: any } {
3898
+ return {
3899
+ mediaId: 'string',
3900
+ };
3901
+ }
3902
+
3903
+ validate() {
3904
+ super.validate();
3905
+ }
3906
+
3907
+ constructor(map?: { [key: string]: any }) {
3908
+ super(map);
3909
+ }
3910
+ }
3911
+
3912
+ export class RunSearchGenerationResponseBodyPayloadOutputMessagesSearchResultImages extends $dara.Model {
3913
+ /**
3914
+ * @example
3915
+ * xx
3916
+ */
3917
+ mediaId?: string;
3918
+ static names(): { [key: string]: string } {
3919
+ return {
3920
+ mediaId: 'MediaId',
3921
+ };
3922
+ }
3923
+
3924
+ static types(): { [key: string]: any } {
3925
+ return {
3926
+ mediaId: 'string',
3927
+ };
3928
+ }
3929
+
3930
+ validate() {
3931
+ super.validate();
3932
+ }
3933
+
3934
+ constructor(map?: { [key: string]: any }) {
3935
+ super(map);
3936
+ }
3937
+ }
3938
+
3939
+ export class RunSearchGenerationResponseBodyPayloadOutputMessagesSearchResultTexts extends $dara.Model {
3940
+ /**
3941
+ * @example
3942
+ * xx
3943
+ */
3944
+ docUuid?: string;
3945
+ static names(): { [key: string]: string } {
3946
+ return {
3947
+ docUuid: 'DocUuid',
3948
+ };
3949
+ }
3950
+
3951
+ static types(): { [key: string]: any } {
3952
+ return {
3953
+ docUuid: 'string',
3954
+ };
3955
+ }
3956
+
3957
+ validate() {
3958
+ super.validate();
3959
+ }
3960
+
3961
+ constructor(map?: { [key: string]: any }) {
3962
+ super(map);
3963
+ }
3964
+ }
3965
+
3966
+ export class RunSearchGenerationResponseBodyPayloadOutputMessagesSearchResultVideos extends $dara.Model {
3967
+ /**
3968
+ * @example
3969
+ * 1
3970
+ */
3971
+ mediaId?: string;
3972
+ static names(): { [key: string]: string } {
3973
+ return {
3974
+ mediaId: 'MediaId',
3975
+ };
3976
+ }
3977
+
3978
+ static types(): { [key: string]: any } {
3979
+ return {
3980
+ mediaId: 'string',
3981
+ };
3982
+ }
3983
+
3984
+ validate() {
3985
+ super.validate();
3986
+ }
3987
+
3988
+ constructor(map?: { [key: string]: any }) {
3989
+ super(map);
3990
+ }
3991
+ }
3992
+
3993
+ export class RunSearchGenerationResponseBodyPayloadOutputMessagesSearchResult extends $dara.Model {
3994
+ audios?: RunSearchGenerationResponseBodyPayloadOutputMessagesSearchResultAudios[];
3995
+ images?: RunSearchGenerationResponseBodyPayloadOutputMessagesSearchResultImages[];
3996
+ /**
3997
+ * @example
3998
+ * xx
3999
+ */
4000
+ multimodalSearchQuery?: string;
4001
+ texts?: RunSearchGenerationResponseBodyPayloadOutputMessagesSearchResultTexts[];
4002
+ videos?: RunSearchGenerationResponseBodyPayloadOutputMessagesSearchResultVideos[];
4003
+ static names(): { [key: string]: string } {
4004
+ return {
4005
+ audios: 'Audios',
4006
+ images: 'Images',
4007
+ multimodalSearchQuery: 'MultimodalSearchQuery',
4008
+ texts: 'Texts',
4009
+ videos: 'Videos',
4010
+ };
4011
+ }
4012
+
4013
+ static types(): { [key: string]: any } {
4014
+ return {
4015
+ audios: { 'type': 'array', 'itemType': RunSearchGenerationResponseBodyPayloadOutputMessagesSearchResultAudios },
4016
+ images: { 'type': 'array', 'itemType': RunSearchGenerationResponseBodyPayloadOutputMessagesSearchResultImages },
4017
+ multimodalSearchQuery: 'string',
4018
+ texts: { 'type': 'array', 'itemType': RunSearchGenerationResponseBodyPayloadOutputMessagesSearchResultTexts },
4019
+ videos: { 'type': 'array', 'itemType': RunSearchGenerationResponseBodyPayloadOutputMessagesSearchResultVideos },
4020
+ };
4021
+ }
4022
+
4023
+ validate() {
4024
+ if(Array.isArray(this.audios)) {
4025
+ $dara.Model.validateArray(this.audios);
4026
+ }
4027
+ if(Array.isArray(this.images)) {
4028
+ $dara.Model.validateArray(this.images);
4029
+ }
4030
+ if(Array.isArray(this.texts)) {
4031
+ $dara.Model.validateArray(this.texts);
4032
+ }
4033
+ if(Array.isArray(this.videos)) {
4034
+ $dara.Model.validateArray(this.videos);
4035
+ }
4036
+ super.validate();
4037
+ }
4038
+
4039
+ constructor(map?: { [key: string]: any }) {
4040
+ super(map);
4041
+ }
4042
+ }
4043
+
4044
+ export class RunSearchGenerationResponseBodyPayloadOutputMessages extends $dara.Model {
4045
+ clarifications?: boolean;
4046
+ /**
4047
+ * @example
4048
+ * xx
4049
+ */
4050
+ content?: string;
4051
+ generateFinished?: boolean;
4052
+ /**
4053
+ * @example
4054
+ * xx
4055
+ */
4056
+ id?: string;
4057
+ /**
4058
+ * @example
4059
+ * generateStartStatement
4060
+ */
4061
+ nodeCode?: string;
4062
+ searchQueries?: string[];
4063
+ /**
4064
+ * @example
4065
+ * xx
4066
+ */
4067
+ searchQuery?: string;
4068
+ searchResult?: RunSearchGenerationResponseBodyPayloadOutputMessagesSearchResult[];
4069
+ static names(): { [key: string]: string } {
4070
+ return {
4071
+ clarifications: 'Clarifications',
4072
+ content: 'Content',
4073
+ generateFinished: 'GenerateFinished',
4074
+ id: 'Id',
4075
+ nodeCode: 'NodeCode',
4076
+ searchQueries: 'SearchQueries',
4077
+ searchQuery: 'SearchQuery',
4078
+ searchResult: 'SearchResult',
4079
+ };
4080
+ }
4081
+
4082
+ static types(): { [key: string]: any } {
4083
+ return {
4084
+ clarifications: 'boolean',
4085
+ content: 'string',
4086
+ generateFinished: 'boolean',
4087
+ id: 'string',
4088
+ nodeCode: 'string',
4089
+ searchQueries: { 'type': 'array', 'itemType': 'string' },
4090
+ searchQuery: 'string',
4091
+ searchResult: { 'type': 'array', 'itemType': RunSearchGenerationResponseBodyPayloadOutputMessagesSearchResult },
4092
+ };
4093
+ }
4094
+
4095
+ validate() {
4096
+ if(Array.isArray(this.searchQueries)) {
4097
+ $dara.Model.validateArray(this.searchQueries);
4098
+ }
4099
+ if(Array.isArray(this.searchResult)) {
4100
+ $dara.Model.validateArray(this.searchResult);
4101
+ }
4102
+ super.validate();
4103
+ }
4104
+
4105
+ constructor(map?: { [key: string]: any }) {
4106
+ super(map);
4107
+ }
4108
+ }
4109
+
3432
4110
  export class RunSearchGenerationResponseBodyPayloadOutput extends $dara.Model {
3433
4111
  agentContext?: RunSearchGenerationResponseBodyPayloadOutputAgentContext;
4112
+ messages?: RunSearchGenerationResponseBodyPayloadOutputMessages[];
3434
4113
  static names(): { [key: string]: string } {
3435
4114
  return {
3436
4115
  agentContext: 'AgentContext',
4116
+ messages: 'Messages',
3437
4117
  };
3438
4118
  }
3439
4119
 
3440
4120
  static types(): { [key: string]: any } {
3441
4121
  return {
3442
4122
  agentContext: RunSearchGenerationResponseBodyPayloadOutputAgentContext,
4123
+ messages: { 'type': 'array', 'itemType': RunSearchGenerationResponseBodyPayloadOutputMessages },
3443
4124
  };
3444
4125
  }
3445
4126
 
@@ -3447,6 +4128,9 @@ export class RunSearchGenerationResponseBodyPayloadOutput extends $dara.Model {
3447
4128
  if(this.agentContext && typeof (this.agentContext as any).validate === 'function') {
3448
4129
  (this.agentContext as any).validate();
3449
4130
  }
4131
+ if(Array.isArray(this.messages)) {
4132
+ $dara.Model.validateArray(this.messages);
4133
+ }
3450
4134
  super.validate();
3451
4135
  }
3452
4136