@alicloud/dianjin20240628 1.6.4 → 1.7.0

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/dist/client.d.ts CHANGED
@@ -106,6 +106,114 @@ export declare class CreateAnnualDocSummaryTaskResponse extends $tea.Model {
106
106
  [key: string]: any;
107
107
  });
108
108
  }
109
+ export declare class CreateDialogRequest extends $tea.Model {
110
+ /**
111
+ * @remarks
112
+ * This parameter is required.
113
+ *
114
+ * @example
115
+ * taobao
116
+ */
117
+ channel?: string;
118
+ enableLibrary?: boolean;
119
+ /**
120
+ * @example
121
+ * null
122
+ */
123
+ metaData?: {
124
+ [key: string]: any;
125
+ };
126
+ /**
127
+ * @remarks
128
+ * This parameter is required.
129
+ *
130
+ * @example
131
+ * live_broadcast_qa
132
+ */
133
+ playCode?: string;
134
+ qaLibraryList?: string[];
135
+ /**
136
+ * @remarks
137
+ * This parameter is required.
138
+ *
139
+ * @example
140
+ * ebf83826-dc1c-46f8-9759-0fb6da4c8xxx
141
+ */
142
+ requestId?: string;
143
+ selfDirected?: boolean;
144
+ static names(): {
145
+ [key: string]: string;
146
+ };
147
+ static types(): {
148
+ [key: string]: any;
149
+ };
150
+ constructor(map?: {
151
+ [key: string]: any;
152
+ });
153
+ }
154
+ export declare class CreateDialogResponseBody extends $tea.Model {
155
+ /**
156
+ * @example
157
+ * null
158
+ */
159
+ cost?: number;
160
+ data?: CreateDialogResponseBodyData;
161
+ /**
162
+ * @example
163
+ * null
164
+ */
165
+ dataType?: string;
166
+ /**
167
+ * @example
168
+ * 0
169
+ */
170
+ errCode?: string;
171
+ /**
172
+ * @example
173
+ * ok
174
+ */
175
+ message?: string;
176
+ /**
177
+ * @example
178
+ * 003D019A-1BB3-53EC-A0D2-CE76DA5D73B1
179
+ */
180
+ requestId?: string;
181
+ /**
182
+ * @example
183
+ * true
184
+ */
185
+ success?: boolean;
186
+ /**
187
+ * @example
188
+ * 2024-01-01 00:00:00
189
+ */
190
+ time?: string;
191
+ static names(): {
192
+ [key: string]: string;
193
+ };
194
+ static types(): {
195
+ [key: string]: any;
196
+ };
197
+ constructor(map?: {
198
+ [key: string]: any;
199
+ });
200
+ }
201
+ export declare class CreateDialogResponse extends $tea.Model {
202
+ headers?: {
203
+ [key: string]: string;
204
+ };
205
+ statusCode?: number;
206
+ body?: CreateDialogResponseBody;
207
+ static names(): {
208
+ [key: string]: string;
209
+ };
210
+ static types(): {
211
+ [key: string]: any;
212
+ };
213
+ constructor(map?: {
214
+ [key: string]: any;
215
+ });
216
+ }
109
217
  export declare class CreateDocsSummaryTaskRequest extends $tea.Model {
110
218
  /**
111
219
  * @remarks
@@ -964,13 +1072,48 @@ export declare class EvictTaskResponse extends $tea.Model {
964
1072
  [key: string]: any;
965
1073
  });
966
1074
  }
967
- export declare class GetAppConfigResponseBody extends $tea.Model {
1075
+ export declare class GenDocQaResultRequest extends $tea.Model {
1076
+ /**
1077
+ * @remarks
1078
+ * This parameter is required.
1079
+ *
1080
+ * @example
1081
+ * 182364872346
1082
+ */
1083
+ docId?: string;
1084
+ /**
1085
+ * @remarks
1086
+ * This parameter is required.
1087
+ *
1088
+ * @example
1089
+ * sjdgdsfg
1090
+ */
1091
+ libraryId?: string;
1092
+ /**
1093
+ * @remarks
1094
+ * This parameter is required.
1095
+ *
1096
+ * @example
1097
+ * 0FC6636E-380A-5369-AE01-D1C15BB9B254
1098
+ */
1099
+ requestId?: string;
1100
+ static names(): {
1101
+ [key: string]: string;
1102
+ };
1103
+ static types(): {
1104
+ [key: string]: any;
1105
+ };
1106
+ constructor(map?: {
1107
+ [key: string]: any;
1108
+ });
1109
+ }
1110
+ export declare class GenDocQaResultResponseBody extends $tea.Model {
968
1111
  /**
969
1112
  * @example
970
1113
  * null
971
1114
  */
972
1115
  cost?: number;
973
- data?: GetAppConfigResponseBodyData;
1116
+ data?: GenDocQaResultResponseBodyData;
974
1117
  /**
975
1118
  * @example
976
1119
  * null
@@ -983,17 +1126,17 @@ export declare class GetAppConfigResponseBody extends $tea.Model {
983
1126
  errCode?: string;
984
1127
  /**
985
1128
  * @example
986
- * None
1129
+ * ok
987
1130
  */
988
1131
  message?: string;
989
1132
  /**
990
1133
  * @example
991
- * EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258
1134
+ * 44BD277A-87F9-5310-8D63-3E6645F1DA85
992
1135
  */
993
1136
  requestId?: string;
994
1137
  /**
995
1138
  * @example
996
- * True
1139
+ * true
997
1140
  */
998
1141
  success?: boolean;
999
1142
  /**
@@ -1011,65 +1154,12 @@ export declare class GetAppConfigResponseBody extends $tea.Model {
1011
1154
  [key: string]: any;
1012
1155
  });
1013
1156
  }
1014
- export declare class GetAppConfigResponse extends $tea.Model {
1157
+ export declare class GenDocQaResultResponse extends $tea.Model {
1015
1158
  headers?: {
1016
1159
  [key: string]: string;
1017
1160
  };
1018
1161
  statusCode?: number;
1019
- body?: GetAppConfigResponseBody;
1020
- static names(): {
1021
- [key: string]: string;
1022
- };
1023
- static types(): {
1024
- [key: string]: any;
1025
- };
1026
- constructor(map?: {
1027
- [key: string]: any;
1028
- });
1029
- }
1030
- export declare class GetDocumentChunkListRequest extends $tea.Model {
1031
- chunkIdList?: string[];
1032
- /**
1033
- * @remarks
1034
- * This parameter is required.
1035
- *
1036
- * @example
1037
- * 182364872346
1038
- */
1039
- docId?: string;
1040
- /**
1041
- * @remarks
1042
- * This parameter is required.
1043
- *
1044
- * @example
1045
- * dsjgfdjgfxxx
1046
- */
1047
- libraryId?: string;
1048
- /**
1049
- * @example
1050
- * desc
1051
- */
1052
- order?: string;
1053
- /**
1054
- * @example
1055
- * gmtCreate
1056
- */
1057
- orderBy?: string;
1058
- /**
1059
- * @example
1060
- * 1
1061
- */
1062
- page?: number;
1063
- /**
1064
- * @example
1065
- * 10
1066
- */
1067
- pageSize?: number;
1068
- /**
1069
- * @example
1070
- * test
1071
- */
1072
- searchQuery?: string;
1162
+ body?: GenDocQaResultResponseBody;
1073
1163
  static names(): {
1074
1164
  [key: string]: string;
1075
1165
  };
@@ -1080,13 +1170,13 @@ export declare class GetDocumentChunkListRequest extends $tea.Model {
1080
1170
  [key: string]: any;
1081
1171
  });
1082
1172
  }
1083
- export declare class GetDocumentChunkListResponseBody extends $tea.Model {
1173
+ export declare class GetAppConfigResponseBody extends $tea.Model {
1084
1174
  /**
1085
1175
  * @example
1086
1176
  * null
1087
1177
  */
1088
1178
  cost?: number;
1089
- data?: GetDocumentChunkListResponseBodyData;
1179
+ data?: GetAppConfigResponseBodyData;
1090
1180
  /**
1091
1181
  * @example
1092
1182
  * null
@@ -1099,17 +1189,17 @@ export declare class GetDocumentChunkListResponseBody extends $tea.Model {
1099
1189
  errCode?: string;
1100
1190
  /**
1101
1191
  * @example
1102
- * ok
1192
+ * None
1103
1193
  */
1104
1194
  message?: string;
1105
1195
  /**
1106
1196
  * @example
1107
- * 2B8F6DC9-6FAF-576F-9095-CCD90FB2BDDF
1197
+ * EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258
1108
1198
  */
1109
1199
  requestId?: string;
1110
1200
  /**
1111
1201
  * @example
1112
- * true
1202
+ * True
1113
1203
  */
1114
1204
  success?: boolean;
1115
1205
  /**
@@ -1127,12 +1217,12 @@ export declare class GetDocumentChunkListResponseBody extends $tea.Model {
1127
1217
  [key: string]: any;
1128
1218
  });
1129
1219
  }
1130
- export declare class GetDocumentChunkListResponse extends $tea.Model {
1220
+ export declare class GetAppConfigResponse extends $tea.Model {
1131
1221
  headers?: {
1132
1222
  [key: string]: string;
1133
1223
  };
1134
1224
  statusCode?: number;
1135
- body?: GetDocumentChunkListResponseBody;
1225
+ body?: GetAppConfigResponseBody;
1136
1226
  static names(): {
1137
1227
  [key: string]: string;
1138
1228
  };
@@ -1143,26 +1233,23 @@ export declare class GetDocumentChunkListResponse extends $tea.Model {
1143
1233
  [key: string]: any;
1144
1234
  });
1145
1235
  }
1146
- export declare class GetDocumentListRequest extends $tea.Model {
1236
+ export declare class GetChatQuestionRespRequest extends $tea.Model {
1147
1237
  /**
1148
1238
  * @remarks
1149
1239
  * This parameter is required.
1150
1240
  *
1151
1241
  * @example
1152
- * 3akzl28vap
1153
- */
1154
- libraryId?: string;
1155
- /**
1156
- * @example
1157
- * 1
1242
+ * 1869307330227937280
1158
1243
  */
1159
- page?: number;
1244
+ batchId?: string;
1160
1245
  /**
1246
+ * @remarks
1247
+ * This parameter is required.
1248
+ *
1161
1249
  * @example
1162
- * 10
1250
+ * 237645726354
1163
1251
  */
1164
- pageSize?: number;
1165
- status?: string;
1252
+ sessionId?: string;
1166
1253
  static names(): {
1167
1254
  [key: string]: string;
1168
1255
  };
@@ -1173,13 +1260,13 @@ export declare class GetDocumentListRequest extends $tea.Model {
1173
1260
  [key: string]: any;
1174
1261
  });
1175
1262
  }
1176
- export declare class GetDocumentListResponseBody extends $tea.Model {
1263
+ export declare class GetChatQuestionRespResponseBody extends $tea.Model {
1177
1264
  /**
1178
1265
  * @example
1179
1266
  * null
1180
1267
  */
1181
1268
  cost?: number;
1182
- data?: GetDocumentListResponseBodyData;
1269
+ data?: GetChatQuestionRespResponseBodyData;
1183
1270
  /**
1184
1271
  * @example
1185
1272
  * null
@@ -1197,7 +1284,7 @@ export declare class GetDocumentListResponseBody extends $tea.Model {
1197
1284
  message?: string;
1198
1285
  /**
1199
1286
  * @example
1200
- * 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
1287
+ * 44BD277A-87F9-5310-8D63-3E6645F1DA85
1201
1288
  */
1202
1289
  requestId?: string;
1203
1290
  /**
@@ -1207,7 +1294,7 @@ export declare class GetDocumentListResponseBody extends $tea.Model {
1207
1294
  success?: boolean;
1208
1295
  /**
1209
1296
  * @example
1210
- * 2024-04-24 11:54:34
1297
+ * 2024-01-01 00:00:00
1211
1298
  */
1212
1299
  time?: string;
1213
1300
  static names(): {
@@ -1220,12 +1307,12 @@ export declare class GetDocumentListResponseBody extends $tea.Model {
1220
1307
  [key: string]: any;
1221
1308
  });
1222
1309
  }
1223
- export declare class GetDocumentListResponse extends $tea.Model {
1310
+ export declare class GetChatQuestionRespResponse extends $tea.Model {
1224
1311
  headers?: {
1225
1312
  [key: string]: string;
1226
1313
  };
1227
1314
  statusCode?: number;
1228
- body?: GetDocumentListResponseBody;
1315
+ body?: GetChatQuestionRespResponseBody;
1229
1316
  static names(): {
1230
1317
  [key: string]: string;
1231
1318
  };
@@ -1236,34 +1323,243 @@ export declare class GetDocumentListResponse extends $tea.Model {
1236
1323
  [key: string]: any;
1237
1324
  });
1238
1325
  }
1239
- export declare class GetDocumentUrlRequest extends $tea.Model {
1326
+ export declare class GetDocumentChunkListRequest extends $tea.Model {
1327
+ chunkIdList?: string[];
1240
1328
  /**
1241
1329
  * @remarks
1242
1330
  * This parameter is required.
1243
1331
  *
1244
1332
  * @example
1245
- * 12681367362
1333
+ * 182364872346
1246
1334
  */
1247
- documentId?: string;
1248
- static names(): {
1249
- [key: string]: string;
1250
- };
1251
- static types(): {
1252
- [key: string]: any;
1253
- };
1254
- constructor(map?: {
1255
- [key: string]: any;
1256
- });
1257
- }
1258
- export declare class GetDocumentUrlResponseBody extends $tea.Model {
1335
+ docId?: string;
1259
1336
  /**
1337
+ * @remarks
1338
+ * This parameter is required.
1339
+ *
1260
1340
  * @example
1261
- * null
1341
+ * dsjgfdjgfxxx
1262
1342
  */
1263
- cost?: number;
1343
+ libraryId?: string;
1264
1344
  /**
1265
1345
  * @example
1266
- * https://path_to_file
1346
+ * desc
1347
+ */
1348
+ order?: string;
1349
+ /**
1350
+ * @example
1351
+ * gmtCreate
1352
+ */
1353
+ orderBy?: string;
1354
+ /**
1355
+ * @example
1356
+ * 1
1357
+ */
1358
+ page?: number;
1359
+ /**
1360
+ * @example
1361
+ * 10
1362
+ */
1363
+ pageSize?: number;
1364
+ /**
1365
+ * @example
1366
+ * test
1367
+ */
1368
+ searchQuery?: string;
1369
+ static names(): {
1370
+ [key: string]: string;
1371
+ };
1372
+ static types(): {
1373
+ [key: string]: any;
1374
+ };
1375
+ constructor(map?: {
1376
+ [key: string]: any;
1377
+ });
1378
+ }
1379
+ export declare class GetDocumentChunkListResponseBody extends $tea.Model {
1380
+ /**
1381
+ * @example
1382
+ * null
1383
+ */
1384
+ cost?: number;
1385
+ data?: GetDocumentChunkListResponseBodyData;
1386
+ /**
1387
+ * @example
1388
+ * null
1389
+ */
1390
+ dataType?: string;
1391
+ /**
1392
+ * @example
1393
+ * 0
1394
+ */
1395
+ errCode?: string;
1396
+ /**
1397
+ * @example
1398
+ * ok
1399
+ */
1400
+ message?: string;
1401
+ /**
1402
+ * @example
1403
+ * 2B8F6DC9-6FAF-576F-9095-CCD90FB2BDDF
1404
+ */
1405
+ requestId?: string;
1406
+ /**
1407
+ * @example
1408
+ * true
1409
+ */
1410
+ success?: boolean;
1411
+ /**
1412
+ * @example
1413
+ * 2024-04-24 11:54:34
1414
+ */
1415
+ time?: string;
1416
+ static names(): {
1417
+ [key: string]: string;
1418
+ };
1419
+ static types(): {
1420
+ [key: string]: any;
1421
+ };
1422
+ constructor(map?: {
1423
+ [key: string]: any;
1424
+ });
1425
+ }
1426
+ export declare class GetDocumentChunkListResponse extends $tea.Model {
1427
+ headers?: {
1428
+ [key: string]: string;
1429
+ };
1430
+ statusCode?: number;
1431
+ body?: GetDocumentChunkListResponseBody;
1432
+ static names(): {
1433
+ [key: string]: string;
1434
+ };
1435
+ static types(): {
1436
+ [key: string]: any;
1437
+ };
1438
+ constructor(map?: {
1439
+ [key: string]: any;
1440
+ });
1441
+ }
1442
+ export declare class GetDocumentListRequest extends $tea.Model {
1443
+ /**
1444
+ * @remarks
1445
+ * This parameter is required.
1446
+ *
1447
+ * @example
1448
+ * 3akzl28vap
1449
+ */
1450
+ libraryId?: string;
1451
+ /**
1452
+ * @example
1453
+ * 1
1454
+ */
1455
+ page?: number;
1456
+ /**
1457
+ * @example
1458
+ * 10
1459
+ */
1460
+ pageSize?: number;
1461
+ status?: string;
1462
+ static names(): {
1463
+ [key: string]: string;
1464
+ };
1465
+ static types(): {
1466
+ [key: string]: any;
1467
+ };
1468
+ constructor(map?: {
1469
+ [key: string]: any;
1470
+ });
1471
+ }
1472
+ export declare class GetDocumentListResponseBody extends $tea.Model {
1473
+ /**
1474
+ * @example
1475
+ * null
1476
+ */
1477
+ cost?: number;
1478
+ data?: GetDocumentListResponseBodyData;
1479
+ /**
1480
+ * @example
1481
+ * null
1482
+ */
1483
+ dataType?: string;
1484
+ /**
1485
+ * @example
1486
+ * 0
1487
+ */
1488
+ errCode?: string;
1489
+ /**
1490
+ * @example
1491
+ * ok
1492
+ */
1493
+ message?: string;
1494
+ /**
1495
+ * @example
1496
+ * 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
1497
+ */
1498
+ requestId?: string;
1499
+ /**
1500
+ * @example
1501
+ * true
1502
+ */
1503
+ success?: boolean;
1504
+ /**
1505
+ * @example
1506
+ * 2024-04-24 11:54:34
1507
+ */
1508
+ time?: string;
1509
+ static names(): {
1510
+ [key: string]: string;
1511
+ };
1512
+ static types(): {
1513
+ [key: string]: any;
1514
+ };
1515
+ constructor(map?: {
1516
+ [key: string]: any;
1517
+ });
1518
+ }
1519
+ export declare class GetDocumentListResponse extends $tea.Model {
1520
+ headers?: {
1521
+ [key: string]: string;
1522
+ };
1523
+ statusCode?: number;
1524
+ body?: GetDocumentListResponseBody;
1525
+ static names(): {
1526
+ [key: string]: string;
1527
+ };
1528
+ static types(): {
1529
+ [key: string]: any;
1530
+ };
1531
+ constructor(map?: {
1532
+ [key: string]: any;
1533
+ });
1534
+ }
1535
+ export declare class GetDocumentUrlRequest extends $tea.Model {
1536
+ /**
1537
+ * @remarks
1538
+ * This parameter is required.
1539
+ *
1540
+ * @example
1541
+ * 12681367362
1542
+ */
1543
+ documentId?: string;
1544
+ static names(): {
1545
+ [key: string]: string;
1546
+ };
1547
+ static types(): {
1548
+ [key: string]: any;
1549
+ };
1550
+ constructor(map?: {
1551
+ [key: string]: any;
1552
+ });
1553
+ }
1554
+ export declare class GetDocumentUrlResponseBody extends $tea.Model {
1555
+ /**
1556
+ * @example
1557
+ * null
1558
+ */
1559
+ cost?: number;
1560
+ /**
1561
+ * @example
1562
+ * https://path_to_file
1267
1563
  */
1268
1564
  data?: string;
1269
1565
  /**
@@ -2337,6 +2633,106 @@ export declare class ReIndexResponse extends $tea.Model {
2337
2633
  [key: string]: any;
2338
2634
  });
2339
2635
  }
2636
+ export declare class RealTimeDialogRequest extends $tea.Model {
2637
+ /**
2638
+ * @example
2639
+ * false
2640
+ */
2641
+ analysis?: boolean;
2642
+ /**
2643
+ * @example
2644
+ * mixIntentChat
2645
+ */
2646
+ bizType?: string;
2647
+ /**
2648
+ * @remarks
2649
+ * This parameter is required.
2650
+ */
2651
+ conversationModel?: RealTimeDialogRequestConversationModel[];
2652
+ /**
2653
+ * @example
2654
+ * 3
2655
+ */
2656
+ dialogMemoryTurns?: number;
2657
+ metaData?: {
2658
+ [key: string]: any;
2659
+ };
2660
+ /**
2661
+ * @example
2662
+ * false
2663
+ */
2664
+ recommend?: boolean;
2665
+ /**
2666
+ * @remarks
2667
+ * This parameter is required.
2668
+ *
2669
+ * @example
2670
+ * 237645726354
2671
+ */
2672
+ sessionId?: string;
2673
+ /**
2674
+ * @example
2675
+ * false
2676
+ */
2677
+ stream?: boolean;
2678
+ static names(): {
2679
+ [key: string]: string;
2680
+ };
2681
+ static types(): {
2682
+ [key: string]: any;
2683
+ };
2684
+ constructor(map?: {
2685
+ [key: string]: any;
2686
+ });
2687
+ }
2688
+ export declare class RealTimeDialogResponseBody extends $tea.Model {
2689
+ choices?: RealTimeDialogResponseBodyChoices[];
2690
+ /**
2691
+ * @example
2692
+ * 1735139569523
2693
+ */
2694
+ created?: string;
2695
+ /**
2696
+ * @example
2697
+ * eb2b6139-ddf1-91a0-a47f-df7617ae9032
2698
+ */
2699
+ id?: string;
2700
+ /**
2701
+ * @example
2702
+ * 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
2703
+ */
2704
+ requestId?: string;
2705
+ /**
2706
+ * @example
2707
+ * true
2708
+ */
2709
+ success?: boolean;
2710
+ static names(): {
2711
+ [key: string]: string;
2712
+ };
2713
+ static types(): {
2714
+ [key: string]: any;
2715
+ };
2716
+ constructor(map?: {
2717
+ [key: string]: any;
2718
+ });
2719
+ }
2720
+ export declare class RealTimeDialogResponse extends $tea.Model {
2721
+ headers?: {
2722
+ [key: string]: string;
2723
+ };
2724
+ statusCode?: number;
2725
+ body?: RealTimeDialogResponseBody;
2726
+ static names(): {
2727
+ [key: string]: string;
2728
+ };
2729
+ static types(): {
2730
+ [key: string]: any;
2731
+ };
2732
+ constructor(map?: {
2733
+ [key: string]: any;
2734
+ });
2735
+ }
2340
2736
  export declare class RebuildTaskRequest extends $tea.Model {
2341
2737
  /**
2342
2738
  * @remarks
@@ -2868,6 +3264,119 @@ export declare class RunLibraryChatGenerationResponse extends $tea.Model {
2868
3264
  [key: string]: any;
2869
3265
  });
2870
3266
  }
3267
+ export declare class SubmitChatQuestionRequest extends $tea.Model {
3268
+ /**
3269
+ * @remarks
3270
+ * This parameter is required.
3271
+ *
3272
+ * @example
3273
+ * 2024-09-27 11:23:20
3274
+ */
3275
+ gmtService?: string;
3276
+ /**
3277
+ * @remarks
3278
+ * This parameter is required.
3279
+ */
3280
+ liveScriptContent?: string;
3281
+ /**
3282
+ * @example
3283
+ * true
3284
+ */
3285
+ openSmallTalk?: boolean;
3286
+ /**
3287
+ * @remarks
3288
+ * This parameter is required.
3289
+ */
3290
+ questionList?: SubmitChatQuestionRequestQuestionList[];
3291
+ /**
3292
+ * @remarks
3293
+ * This parameter is required.
3294
+ *
3295
+ * @example
3296
+ * 0FC6636E-380A-5369-AE01-D1C15BB9B254
3297
+ */
3298
+ requestId?: string;
3299
+ /**
3300
+ * @remarks
3301
+ * This parameter is required.
3302
+ *
3303
+ * @example
3304
+ * 237645726354
3305
+ */
3306
+ sessionId?: string;
3307
+ static names(): {
3308
+ [key: string]: string;
3309
+ };
3310
+ static types(): {
3311
+ [key: string]: any;
3312
+ };
3313
+ constructor(map?: {
3314
+ [key: string]: any;
3315
+ });
3316
+ }
3317
+ export declare class SubmitChatQuestionResponseBody extends $tea.Model {
3318
+ /**
3319
+ * @example
3320
+ * null
3321
+ */
3322
+ cost?: number;
3323
+ data?: SubmitChatQuestionResponseBodyData;
3324
+ /**
3325
+ * @example
3326
+ * null
3327
+ */
3328
+ dataType?: string;
3329
+ /**
3330
+ * @example
3331
+ * 0
3332
+ */
3333
+ errCode?: string;
3334
+ /**
3335
+ * @example
3336
+ * ok
3337
+ */
3338
+ message?: string;
3339
+ /**
3340
+ * @example
3341
+ * 915AAAB9-4908-5224-9E53-9E9D7D0AA94B
3342
+ */
3343
+ requestId?: string;
3344
+ /**
3345
+ * @example
3346
+ * true
3347
+ */
3348
+ success?: boolean;
3349
+ /**
3350
+ * @example
3351
+ * 2024-04-24 11:54:34
3352
+ */
3353
+ time?: string;
3354
+ static names(): {
3355
+ [key: string]: string;
3356
+ };
3357
+ static types(): {
3358
+ [key: string]: any;
3359
+ };
3360
+ constructor(map?: {
3361
+ [key: string]: any;
3362
+ });
3363
+ }
3364
+ export declare class SubmitChatQuestionResponse extends $tea.Model {
3365
+ headers?: {
3366
+ [key: string]: string;
3367
+ };
3368
+ statusCode?: number;
3369
+ body?: SubmitChatQuestionResponseBody;
3370
+ static names(): {
3371
+ [key: string]: string;
3372
+ };
3373
+ static types(): {
3374
+ [key: string]: any;
3375
+ };
3376
+ constructor(map?: {
3377
+ [key: string]: any;
3378
+ });
3379
+ }
2871
3380
  export declare class UpdateDocumentRequest extends $tea.Model {
2872
3381
  /**
2873
3382
  * @remarks
@@ -3026,7 +3535,99 @@ export declare class UpdateLibraryResponseBody extends $tea.Model {
3026
3535
  message?: string;
3027
3536
  /**
3028
3537
  * @example
3029
- * eb2b6139-ddf1-91a0-a47f-df7617ae9032
3538
+ * eb2b6139-ddf1-91a0-a47f-df7617ae9032
3539
+ */
3540
+ requestId?: string;
3541
+ /**
3542
+ * @example
3543
+ * true
3544
+ */
3545
+ success?: boolean;
3546
+ /**
3547
+ * @example
3548
+ * 2024-04-24 11:54:34
3549
+ */
3550
+ time?: string;
3551
+ static names(): {
3552
+ [key: string]: string;
3553
+ };
3554
+ static types(): {
3555
+ [key: string]: any;
3556
+ };
3557
+ constructor(map?: {
3558
+ [key: string]: any;
3559
+ });
3560
+ }
3561
+ export declare class UpdateLibraryResponse extends $tea.Model {
3562
+ headers?: {
3563
+ [key: string]: string;
3564
+ };
3565
+ statusCode?: number;
3566
+ body?: UpdateLibraryResponseBody;
3567
+ static names(): {
3568
+ [key: string]: string;
3569
+ };
3570
+ static types(): {
3571
+ [key: string]: any;
3572
+ };
3573
+ constructor(map?: {
3574
+ [key: string]: any;
3575
+ });
3576
+ }
3577
+ export declare class UpdateQaLibraryRequest extends $tea.Model {
3578
+ /**
3579
+ * @remarks
3580
+ * This parameter is required.
3581
+ */
3582
+ parseQaResults?: UpdateQaLibraryRequestParseQaResults[];
3583
+ /**
3584
+ * @example
3585
+ * 6jh378d
3586
+ */
3587
+ qaLibraryId?: string;
3588
+ /**
3589
+ * @remarks
3590
+ * This parameter is required.
3591
+ *
3592
+ * @example
3593
+ * 0FC6636E-380A-5369-AE01-D1C15BB9B254
3594
+ */
3595
+ requestId?: string;
3596
+ static names(): {
3597
+ [key: string]: string;
3598
+ };
3599
+ static types(): {
3600
+ [key: string]: any;
3601
+ };
3602
+ constructor(map?: {
3603
+ [key: string]: any;
3604
+ });
3605
+ }
3606
+ export declare class UpdateQaLibraryResponseBody extends $tea.Model {
3607
+ /**
3608
+ * @example
3609
+ * null
3610
+ */
3611
+ cost?: number;
3612
+ data?: UpdateQaLibraryResponseBodyData;
3613
+ /**
3614
+ * @example
3615
+ * null
3616
+ */
3617
+ dataType?: string;
3618
+ /**
3619
+ * @example
3620
+ * 0
3621
+ */
3622
+ errCode?: string;
3623
+ /**
3624
+ * @example
3625
+ * ok
3626
+ */
3627
+ message?: string;
3628
+ /**
3629
+ * @example
3630
+ * EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258
3030
3631
  */
3031
3632
  requestId?: string;
3032
3633
  /**
@@ -3049,12 +3650,12 @@ export declare class UpdateLibraryResponseBody extends $tea.Model {
3049
3650
  [key: string]: any;
3050
3651
  });
3051
3652
  }
3052
- export declare class UpdateLibraryResponse extends $tea.Model {
3653
+ export declare class UpdateQaLibraryResponse extends $tea.Model {
3053
3654
  headers?: {
3054
3655
  [key: string]: string;
3055
3656
  };
3056
3657
  statusCode?: number;
3057
- body?: UpdateLibraryResponseBody;
3658
+ body?: UpdateQaLibraryResponseBody;
3058
3659
  static names(): {
3059
3660
  [key: string]: string;
3060
3661
  };
@@ -3249,6 +3850,23 @@ export declare class CreateAnnualDocSummaryTaskRequestDocInfos extends $tea.Mode
3249
3850
  [key: string]: any;
3250
3851
  });
3251
3852
  }
3853
+ export declare class CreateDialogResponseBodyData extends $tea.Model {
3854
+ openingRemarks?: string;
3855
+ /**
3856
+ * @example
3857
+ * 1728545917713234
3858
+ */
3859
+ sessionId?: string;
3860
+ static names(): {
3861
+ [key: string]: string;
3862
+ };
3863
+ static types(): {
3864
+ [key: string]: any;
3865
+ };
3866
+ constructor(map?: {
3867
+ [key: string]: any;
3868
+ });
3869
+ }
3252
3870
  export declare class CreateDocsSummaryTaskRequestDocInfos extends $tea.Model {
3253
3871
  /**
3254
3872
  * @remarks
@@ -3677,6 +4295,46 @@ export declare class CreateQualityCheckTaskResponseBodyData extends $tea.Model {
3677
4295
  [key: string]: any;
3678
4296
  });
3679
4297
  }
4298
+ export declare class GenDocQaResultResponseBodyDataParseQaResults extends $tea.Model {
4299
+ answer?: string;
4300
+ question?: string;
4301
+ static names(): {
4302
+ [key: string]: string;
4303
+ };
4304
+ static types(): {
4305
+ [key: string]: any;
4306
+ };
4307
+ constructor(map?: {
4308
+ [key: string]: any;
4309
+ });
4310
+ }
4311
+ export declare class GenDocQaResultResponseBodyData extends $tea.Model {
4312
+ /**
4313
+ * @example
4314
+ * PROCESSING
4315
+ */
4316
+ currentStatus?: string;
4317
+ /**
4318
+ * @example
4319
+ * 873648346573245
4320
+ */
4321
+ docId?: string;
4322
+ /**
4323
+ * @example
4324
+ * 7wxwrjpabj
4325
+ */
4326
+ libraryId?: string;
4327
+ parseQaResults?: GenDocQaResultResponseBodyDataParseQaResults[];
4328
+ static names(): {
4329
+ [key: string]: string;
4330
+ };
4331
+ static types(): {
4332
+ [key: string]: any;
4333
+ };
4334
+ constructor(map?: {
4335
+ [key: string]: any;
4336
+ });
4337
+ }
3680
4338
  export declare class GetAppConfigResponseBodyData extends $tea.Model {
3681
4339
  embeddingTypeList?: {
3682
4340
  [key: string]: string;
@@ -3702,6 +4360,57 @@ export declare class GetAppConfigResponseBodyData extends $tea.Model {
3702
4360
  [key: string]: any;
3703
4361
  });
3704
4362
  }
4363
+ export declare class GetChatQuestionRespResponseBodyDataQuestionList extends $tea.Model {
4364
+ content?: string;
4365
+ /**
4366
+ * @example
4367
+ * 2024-11-17 10:05:00
4368
+ */
4369
+ gmtCreate?: string;
4370
+ reply?: string;
4371
+ /**
4372
+ * @example
4373
+ * 1732846760323001
4374
+ */
4375
+ sessionId?: string;
4376
+ /**
4377
+ * @example
4378
+ * PRODUCT_QA
4379
+ */
4380
+ type?: string;
4381
+ /**
4382
+ * @example
4383
+ * 39847834568436
4384
+ */
4385
+ userId?: string;
4386
+ userName?: string;
4387
+ static names(): {
4388
+ [key: string]: string;
4389
+ };
4390
+ static types(): {
4391
+ [key: string]: any;
4392
+ };
4393
+ constructor(map?: {
4394
+ [key: string]: any;
4395
+ });
4396
+ }
4397
+ export declare class GetChatQuestionRespResponseBodyData extends $tea.Model {
4398
+ /**
4399
+ * @example
4400
+ * PROCESSING
4401
+ */
4402
+ currentState?: string;
4403
+ questionList?: GetChatQuestionRespResponseBodyDataQuestionList[];
4404
+ static names(): {
4405
+ [key: string]: string;
4406
+ };
4407
+ static types(): {
4408
+ [key: string]: any;
4409
+ };
4410
+ constructor(map?: {
4411
+ [key: string]: any;
4412
+ });
4413
+ }
3705
4414
  export declare class GetDocumentChunkListResponseBodyDataRecordsPos extends $tea.Model {
3706
4415
  axisArray?: number[];
3707
4416
  /**
@@ -5010,34 +5719,206 @@ export declare class GetSummaryTaskResultResponseBodyDataChoicesMessage extends
5010
5719
  content?: string;
5011
5720
  /**
5012
5721
  * @example
5013
- * assistant
5722
+ * assistant
5723
+ */
5724
+ role?: string;
5725
+ toolCalls?: {
5726
+ [key: string]: any;
5727
+ }[];
5728
+ static names(): {
5729
+ [key: string]: string;
5730
+ };
5731
+ static types(): {
5732
+ [key: string]: any;
5733
+ };
5734
+ constructor(map?: {
5735
+ [key: string]: any;
5736
+ });
5737
+ }
5738
+ export declare class GetSummaryTaskResultResponseBodyDataChoices extends $tea.Model {
5739
+ /**
5740
+ * @example
5741
+ * stop
5742
+ */
5743
+ finishReason?: string;
5744
+ /**
5745
+ * @example
5746
+ * 0
5747
+ */
5748
+ index?: number;
5749
+ message?: GetSummaryTaskResultResponseBodyDataChoicesMessage;
5750
+ static names(): {
5751
+ [key: string]: string;
5752
+ };
5753
+ static types(): {
5754
+ [key: string]: any;
5755
+ };
5756
+ constructor(map?: {
5757
+ [key: string]: any;
5758
+ });
5759
+ }
5760
+ export declare class GetSummaryTaskResultResponseBodyDataUsage extends $tea.Model {
5761
+ /**
5762
+ * @example
5763
+ * 0
5764
+ */
5765
+ imageCount?: number;
5766
+ /**
5767
+ * @example
5768
+ * 0
5769
+ */
5770
+ imageTokens?: number;
5771
+ /**
5772
+ * @example
5773
+ * 100
5774
+ */
5775
+ inputTokens?: number;
5776
+ /**
5777
+ * @example
5778
+ * 200
5779
+ */
5780
+ outputTokens?: number;
5781
+ /**
5782
+ * @example
5783
+ * 300
5784
+ */
5785
+ totalTokens?: number;
5786
+ static names(): {
5787
+ [key: string]: string;
5788
+ };
5789
+ static types(): {
5790
+ [key: string]: any;
5791
+ };
5792
+ constructor(map?: {
5793
+ [key: string]: any;
5794
+ });
5795
+ }
5796
+ export declare class GetSummaryTaskResultResponseBodyData extends $tea.Model {
5797
+ choices?: GetSummaryTaskResultResponseBodyDataChoices[];
5798
+ /**
5799
+ * @example
5800
+ * 1726285125915
5801
+ */
5802
+ created?: number;
5803
+ /**
5804
+ * @example
5805
+ * 1202
5806
+ */
5807
+ id?: string;
5808
+ /**
5809
+ * @example
5810
+ * qwen-max
5811
+ */
5812
+ modelId?: string;
5813
+ /**
5814
+ * @example
5815
+ * 0bc13a9517168617617186457e401f
5816
+ */
5817
+ requestId?: string;
5818
+ /**
5819
+ * @example
5820
+ * 2024-04-24 11:54:34
5821
+ */
5822
+ time?: string;
5823
+ /**
5824
+ * @example
5825
+ * 300
5826
+ */
5827
+ totalTokens?: number;
5828
+ usage?: GetSummaryTaskResultResponseBodyDataUsage;
5829
+ static names(): {
5830
+ [key: string]: string;
5831
+ };
5832
+ static types(): {
5833
+ [key: string]: any;
5834
+ };
5835
+ constructor(map?: {
5836
+ [key: string]: any;
5837
+ });
5838
+ }
5839
+ export declare class PreviewDocumentResponseBodyData extends $tea.Model {
5840
+ /**
5841
+ * @example
5842
+ * pdf
5843
+ */
5844
+ previewType?: string;
5845
+ /**
5846
+ * @example
5847
+ * test
5848
+ */
5849
+ title?: string;
5850
+ /**
5851
+ * @example
5852
+ * 2024-01-01 00:00:00
5853
+ */
5854
+ uploadTime?: string;
5855
+ /**
5856
+ * @example
5857
+ * https://agi.alicdn.com/user/d0o/d3c1f50d-a6c2-49b3-b0c8-3e613c3f20ee_16872_3236784461.png
5858
+ */
5859
+ url?: string;
5860
+ static names(): {
5861
+ [key: string]: string;
5862
+ };
5863
+ static types(): {
5864
+ [key: string]: any;
5865
+ };
5866
+ constructor(map?: {
5867
+ [key: string]: any;
5868
+ });
5869
+ }
5870
+ export declare class RealTimeDialogRequestConversationModel extends $tea.Model {
5871
+ /**
5872
+ * @example
5873
+ * 5
5874
+ */
5875
+ begin?: number;
5876
+ /**
5877
+ * @example
5878
+ * 2024-11-08 09:51:16
5879
+ */
5880
+ beginTime?: string;
5881
+ /**
5882
+ * @remarks
5883
+ * This parameter is required.
5884
+ */
5885
+ content?: string;
5886
+ /**
5887
+ * @example
5888
+ * 98457834685635
5889
+ */
5890
+ customerId?: string;
5891
+ /**
5892
+ * @example
5893
+ * 1374683645635
5014
5894
  */
5015
- role?: string;
5016
- toolCalls?: {
5017
- [key: string]: any;
5018
- }[];
5019
- static names(): {
5020
- [key: string]: string;
5021
- };
5022
- static types(): {
5023
- [key: string]: any;
5024
- };
5025
- constructor(map?: {
5026
- [key: string]: any;
5027
- });
5028
- }
5029
- export declare class GetSummaryTaskResultResponseBodyDataChoices extends $tea.Model {
5895
+ customerServiceId?: string;
5030
5896
  /**
5031
5897
  * @example
5032
- * stop
5898
+ * 0
5033
5899
  */
5034
- finishReason?: string;
5900
+ customerServiceType?: string;
5901
+ /**
5902
+ * @example
5903
+ * 10
5904
+ */
5905
+ end?: number;
5035
5906
  /**
5907
+ * @remarks
5908
+ * This parameter is required.
5909
+ *
5036
5910
  * @example
5037
5911
  * 0
5038
5912
  */
5039
- index?: number;
5040
- message?: GetSummaryTaskResultResponseBodyDataChoicesMessage;
5913
+ role?: number;
5914
+ /**
5915
+ * @remarks
5916
+ * This parameter is required.
5917
+ *
5918
+ * @example
5919
+ * audio
5920
+ */
5921
+ type?: string;
5041
5922
  static names(): {
5042
5923
  [key: string]: string;
5043
5924
  };
@@ -5048,32 +5929,44 @@ export declare class GetSummaryTaskResultResponseBodyDataChoices extends $tea.Mo
5048
5929
  [key: string]: any;
5049
5930
  });
5050
5931
  }
5051
- export declare class GetSummaryTaskResultResponseBodyDataUsage extends $tea.Model {
5932
+ export declare class RealTimeDialogResponseBodyChoicesDelta extends $tea.Model {
5052
5933
  /**
5053
5934
  * @example
5054
- * 0
5935
+ * null
5055
5936
  */
5056
- imageCount?: number;
5937
+ analysisProcess?: string;
5057
5938
  /**
5939
+ * @remarks
5940
+ * time
5941
+ *
5058
5942
  * @example
5059
- * 0
5943
+ * null
5060
5944
  */
5061
- imageTokens?: number;
5945
+ callTime?: string;
5062
5946
  /**
5063
5947
  * @example
5064
- * 100
5948
+ * false
5065
5949
  */
5066
- inputTokens?: number;
5950
+ hangUpDialog?: boolean;
5067
5951
  /**
5068
5952
  * @example
5069
- * 200
5953
+ * 1853360771162058752
5070
5954
  */
5071
- outputTokens?: number;
5955
+ intentionCode?: string;
5956
+ intentionName?: string;
5957
+ intentionScript?: string;
5072
5958
  /**
5073
5959
  * @example
5074
- * 300
5960
+ * null
5075
5961
  */
5076
- totalTokens?: number;
5962
+ recommendIntention?: string;
5963
+ /**
5964
+ * @example
5965
+ * null
5966
+ */
5967
+ recommendScript?: string;
5968
+ selfDirectedScript?: string;
5969
+ selfDirectedScriptFullContent?: string;
5077
5970
  static names(): {
5078
5971
  [key: string]: string;
5079
5972
  };
@@ -5084,39 +5977,48 @@ export declare class GetSummaryTaskResultResponseBodyDataUsage extends $tea.Mode
5084
5977
  [key: string]: any;
5085
5978
  });
5086
5979
  }
5087
- export declare class GetSummaryTaskResultResponseBodyData extends $tea.Model {
5088
- choices?: GetSummaryTaskResultResponseBodyDataChoices[];
5980
+ export declare class RealTimeDialogResponseBodyChoicesMessage extends $tea.Model {
5089
5981
  /**
5090
5982
  * @example
5091
- * 1726285125915
5983
+ * null
5092
5984
  */
5093
- created?: number;
5985
+ analysisProcess?: string;
5094
5986
  /**
5987
+ * @remarks
5988
+ * time
5989
+ *
5095
5990
  * @example
5096
- * 1202
5991
+ * 1735139569523
5097
5992
  */
5098
- id?: string;
5993
+ callTime?: string;
5099
5994
  /**
5100
5995
  * @example
5101
- * qwen-max
5996
+ * false
5102
5997
  */
5103
- modelId?: string;
5998
+ hangUpDialog?: boolean;
5104
5999
  /**
5105
6000
  * @example
5106
- * 0bc13a9517168617617186457e401f
6001
+ * 1853360771162058752
5107
6002
  */
5108
- requestId?: string;
6003
+ intentionCode?: string;
6004
+ intentionName?: string;
6005
+ intentionScript?: string;
5109
6006
  /**
5110
6007
  * @example
5111
- * 2024-04-24 11:54:34
6008
+ * null
5112
6009
  */
5113
- time?: string;
6010
+ recommendIntention?: string;
5114
6011
  /**
5115
6012
  * @example
5116
- * 300
6013
+ * null
5117
6014
  */
5118
- totalTokens?: number;
5119
- usage?: GetSummaryTaskResultResponseBodyDataUsage;
6015
+ recommendScript?: string;
6016
+ /**
6017
+ * @example
6018
+ * null
6019
+ */
6020
+ selfDirectedScript?: string;
6021
+ selfDirectedScriptFullContent?: string;
5120
6022
  static names(): {
5121
6023
  [key: string]: string;
5122
6024
  };
@@ -5127,27 +6029,19 @@ export declare class GetSummaryTaskResultResponseBodyData extends $tea.Model {
5127
6029
  [key: string]: any;
5128
6030
  });
5129
6031
  }
5130
- export declare class PreviewDocumentResponseBodyData extends $tea.Model {
5131
- /**
5132
- * @example
5133
- * pdf
5134
- */
5135
- previewType?: string;
5136
- /**
5137
- * @example
5138
- * test
5139
- */
5140
- title?: string;
6032
+ export declare class RealTimeDialogResponseBodyChoices extends $tea.Model {
6033
+ delta?: RealTimeDialogResponseBodyChoicesDelta;
5141
6034
  /**
5142
6035
  * @example
5143
- * 2024-01-01 00:00:00
6036
+ * stop
5144
6037
  */
5145
- uploadTime?: string;
6038
+ finishReason?: string;
5146
6039
  /**
5147
6040
  * @example
5148
- * https://agi.alicdn.com/user/d0o/d3c1f50d-a6c2-49b3-b0c8-3e613c3f20ee_16872_3236784461.png
6041
+ * 0
5149
6042
  */
5150
- url?: string;
6043
+ index?: number;
6044
+ message?: RealTimeDialogResponseBodyChoicesMessage;
5151
6045
  static names(): {
5152
6046
  [key: string]: string;
5153
6047
  };
@@ -6025,6 +6919,73 @@ export declare class RunLibraryChatGenerationRequestVectorSearchParameter extend
6025
6919
  [key: string]: any;
6026
6920
  });
6027
6921
  }
6922
+ export declare class SubmitChatQuestionRequestQuestionList extends $tea.Model {
6923
+ /**
6924
+ * @remarks
6925
+ * This parameter is required.
6926
+ */
6927
+ content?: string;
6928
+ /**
6929
+ * @remarks
6930
+ * This parameter is required.
6931
+ *
6932
+ * @example
6933
+ * 2024-11-17 10:05:00
6934
+ */
6935
+ gmtCreate?: string;
6936
+ reply?: string;
6937
+ /**
6938
+ * @remarks
6939
+ * This parameter is required.
6940
+ *
6941
+ * @example
6942
+ * 1869300950603128834
6943
+ */
6944
+ sessionId?: string;
6945
+ /**
6946
+ * @example
6947
+ * PRODUCT_QA
6948
+ */
6949
+ type?: string;
6950
+ /**
6951
+ * @remarks
6952
+ * This parameter is required.
6953
+ *
6954
+ * @example
6955
+ * 39485783475638465
6956
+ */
6957
+ userId?: string;
6958
+ /**
6959
+ * @remarks
6960
+ * This parameter is required.
6961
+ */
6962
+ userName?: string;
6963
+ static names(): {
6964
+ [key: string]: string;
6965
+ };
6966
+ static types(): {
6967
+ [key: string]: any;
6968
+ };
6969
+ constructor(map?: {
6970
+ [key: string]: any;
6971
+ });
6972
+ }
6973
+ export declare class SubmitChatQuestionResponseBodyData extends $tea.Model {
6974
+ /**
6975
+ * @example
6976
+ * 1869307330227937280
6977
+ */
6978
+ batchId?: string;
6979
+ static names(): {
6980
+ [key: string]: string;
6981
+ };
6982
+ static types(): {
6983
+ [key: string]: any;
6984
+ };
6985
+ constructor(map?: {
6986
+ [key: string]: any;
6987
+ });
6988
+ }
6028
6989
  export declare class UpdateLibraryRequestIndexSettingChunkStrategy extends $tea.Model {
6029
6990
  /**
6030
6991
  * @example
@@ -6267,6 +7228,43 @@ export declare class UpdateLibraryRequestIndexSetting extends $tea.Model {
6267
7228
  [key: string]: any;
6268
7229
  });
6269
7230
  }
7231
+ export declare class UpdateQaLibraryRequestParseQaResults extends $tea.Model {
7232
+ /**
7233
+ * @remarks
7234
+ * This parameter is required.
7235
+ */
7236
+ answer?: string;
7237
+ /**
7238
+ * @remarks
7239
+ * This parameter is required.
7240
+ */
7241
+ question?: string;
7242
+ static names(): {
7243
+ [key: string]: string;
7244
+ };
7245
+ static types(): {
7246
+ [key: string]: any;
7247
+ };
7248
+ constructor(map?: {
7249
+ [key: string]: any;
7250
+ });
7251
+ }
7252
+ export declare class UpdateQaLibraryResponseBodyData extends $tea.Model {
7253
+ /**
7254
+ * @example
7255
+ * 6jh378d
7256
+ */
7257
+ qaLibraryId?: string;
7258
+ static names(): {
7259
+ [key: string]: string;
7260
+ };
7261
+ static types(): {
7262
+ [key: string]: any;
7263
+ };
7264
+ constructor(map?: {
7265
+ [key: string]: any;
7266
+ });
7267
+ }
6270
7268
  export default class Client extends OpenApi {
6271
7269
  constructor(config: $OpenApi.Config);
6272
7270
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
@@ -6290,6 +7288,24 @@ export default class Client extends OpenApi {
6290
7288
  * @returns CreateAnnualDocSummaryTaskResponse
6291
7289
  */
6292
7290
  createAnnualDocSummaryTask(workspaceId: string, request: CreateAnnualDocSummaryTaskRequest): Promise<CreateAnnualDocSummaryTaskResponse>;
7291
+ /**
7292
+ * 创建外呼会话
7293
+ *
7294
+ * @param request - CreateDialogRequest
7295
+ * @param headers - map
7296
+ * @param runtime - runtime options for this request RuntimeOptions
7297
+ * @returns CreateDialogResponse
7298
+ */
7299
+ createDialogWithOptions(workspaceId: string, request: CreateDialogRequest, headers: {
7300
+ [key: string]: string;
7301
+ }, runtime: $Util.RuntimeOptions): Promise<CreateDialogResponse>;
7302
+ /**
7303
+ * 创建外呼会话
7304
+ *
7305
+ * @param request - CreateDialogRequest
7306
+ * @returns CreateDialogResponse
7307
+ */
7308
+ createDialog(workspaceId: string, request: CreateDialogRequest): Promise<CreateDialogResponse>;
6293
7309
  /**
6294
7310
  * 创建财报总结任务
6295
7311
  *
@@ -6452,6 +7468,24 @@ export default class Client extends OpenApi {
6452
7468
  * @returns EvictTaskResponse
6453
7469
  */
6454
7470
  evictTask(workspaceId: string, request: EvictTaskRequest): Promise<EvictTaskResponse>;
7471
+ /**
7472
+ * 根据文档解析问答QA
7473
+ *
7474
+ * @param request - GenDocQaResultRequest
7475
+ * @param headers - map
7476
+ * @param runtime - runtime options for this request RuntimeOptions
7477
+ * @returns GenDocQaResultResponse
7478
+ */
7479
+ genDocQaResultWithOptions(workspaceId: string, request: GenDocQaResultRequest, headers: {
7480
+ [key: string]: string;
7481
+ }, runtime: $Util.RuntimeOptions): Promise<GenDocQaResultResponse>;
7482
+ /**
7483
+ * 根据文档解析问答QA
7484
+ *
7485
+ * @param request - GenDocQaResultRequest
7486
+ * @returns GenDocQaResultResponse
7487
+ */
7488
+ genDocQaResult(workspaceId: string, request: GenDocQaResultRequest): Promise<GenDocQaResultResponse>;
6455
7489
  /**
6456
7490
  * 获取app配置
6457
7491
  *
@@ -6467,6 +7501,24 @@ export default class Client extends OpenApi {
6467
7501
  * @returns GetAppConfigResponse
6468
7502
  */
6469
7503
  getAppConfig(workspaceId: string): Promise<GetAppConfigResponse>;
7504
+ /**
7505
+ * 获取问答结果
7506
+ *
7507
+ * @param request - GetChatQuestionRespRequest
7508
+ * @param headers - map
7509
+ * @param runtime - runtime options for this request RuntimeOptions
7510
+ * @returns GetChatQuestionRespResponse
7511
+ */
7512
+ getChatQuestionRespWithOptions(workspaceId: string, request: GetChatQuestionRespRequest, headers: {
7513
+ [key: string]: string;
7514
+ }, runtime: $Util.RuntimeOptions): Promise<GetChatQuestionRespResponse>;
7515
+ /**
7516
+ * 获取问答结果
7517
+ *
7518
+ * @param request - GetChatQuestionRespRequest
7519
+ * @returns GetChatQuestionRespResponse
7520
+ */
7521
+ getChatQuestionResp(workspaceId: string, request: GetChatQuestionRespRequest): Promise<GetChatQuestionRespResponse>;
6470
7522
  /**
6471
7523
  * 获取文档的chunk列表
6472
7524
  *
@@ -6737,6 +7789,24 @@ export default class Client extends OpenApi {
6737
7789
  * @returns ReIndexResponse
6738
7790
  */
6739
7791
  reIndex(workspaceId: string, request: ReIndexRequest): Promise<ReIndexResponse>;
7792
+ /**
7793
+ * 实时对话
7794
+ *
7795
+ * @param request - RealTimeDialogRequest
7796
+ * @param headers - map
7797
+ * @param runtime - runtime options for this request RuntimeOptions
7798
+ * @returns RealTimeDialogResponse
7799
+ */
7800
+ realTimeDialogWithOptions(workspaceId: string, request: RealTimeDialogRequest, headers: {
7801
+ [key: string]: string;
7802
+ }, runtime: $Util.RuntimeOptions): Promise<RealTimeDialogResponse>;
7803
+ /**
7804
+ * 实时对话
7805
+ *
7806
+ * @param request - RealTimeDialogRequest
7807
+ * @returns RealTimeDialogResponse
7808
+ */
7809
+ realTimeDialog(workspaceId: string, request: RealTimeDialogRequest): Promise<RealTimeDialogResponse>;
6740
7810
  /**
6741
7811
  * 重建任务
6742
7812
  *
@@ -6827,6 +7897,24 @@ export default class Client extends OpenApi {
6827
7897
  * @returns RunLibraryChatGenerationResponse
6828
7898
  */
6829
7899
  runLibraryChatGeneration(workspaceId: string, request: RunLibraryChatGenerationRequest): Promise<RunLibraryChatGenerationResponse>;
7900
+ /**
7901
+ * 提交问题列表
7902
+ *
7903
+ * @param request - SubmitChatQuestionRequest
7904
+ * @param headers - map
7905
+ * @param runtime - runtime options for this request RuntimeOptions
7906
+ * @returns SubmitChatQuestionResponse
7907
+ */
7908
+ submitChatQuestionWithOptions(workspaceId: string, request: SubmitChatQuestionRequest, headers: {
7909
+ [key: string]: string;
7910
+ }, runtime: $Util.RuntimeOptions): Promise<SubmitChatQuestionResponse>;
7911
+ /**
7912
+ * 提交问题列表
7913
+ *
7914
+ * @param request - SubmitChatQuestionRequest
7915
+ * @returns SubmitChatQuestionResponse
7916
+ */
7917
+ submitChatQuestion(workspaceId: string, request: SubmitChatQuestionRequest): Promise<SubmitChatQuestionResponse>;
6830
7918
  /**
6831
7919
  * 更新文档
6832
7920
  *
@@ -6863,6 +7951,24 @@ export default class Client extends OpenApi {
6863
7951
  * @returns UpdateLibraryResponse
6864
7952
  */
6865
7953
  updateLibrary(workspaceId: string, request: UpdateLibraryRequest): Promise<UpdateLibraryResponse>;
7954
+ /**
7955
+ * 更新QA问答库
7956
+ *
7957
+ * @param request - UpdateQaLibraryRequest
7958
+ * @param headers - map
7959
+ * @param runtime - runtime options for this request RuntimeOptions
7960
+ * @returns UpdateQaLibraryResponse
7961
+ */
7962
+ updateQaLibraryWithOptions(workspaceId: string, request: UpdateQaLibraryRequest, headers: {
7963
+ [key: string]: string;
7964
+ }, runtime: $Util.RuntimeOptions): Promise<UpdateQaLibraryResponse>;
7965
+ /**
7966
+ * 更新QA问答库
7967
+ *
7968
+ * @param request - UpdateQaLibraryRequest
7969
+ * @returns UpdateQaLibraryResponse
7970
+ */
7971
+ updateQaLibrary(workspaceId: string, request: UpdateQaLibraryRequest): Promise<UpdateQaLibraryResponse>;
6866
7972
  /**
6867
7973
  * 上传文档到文档库
6868
7974
  *