@alicloud/dianjin20240628 1.6.5 → 1.8.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,15 +1323,28 @@ 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 GetDialogAnalysisResultRequest extends $tea.Model {
1240
1327
  /**
1241
- * @remarks
1242
- * This parameter is required.
1243
- *
1244
1328
  * @example
1245
- * 12681367362
1329
+ * true
1246
1330
  */
1247
- documentId?: string;
1331
+ asc?: boolean;
1332
+ /**
1333
+ * @example
1334
+ * 2024-09-23 09:20:02
1335
+ */
1336
+ endTime?: string;
1337
+ sessionIds?: string[];
1338
+ /**
1339
+ * @example
1340
+ * 2024-09-14 09:11:00
1341
+ */
1342
+ startTime?: string;
1343
+ /**
1344
+ * @example
1345
+ * true
1346
+ */
1347
+ useUrl?: boolean;
1248
1348
  static names(): {
1249
1349
  [key: string]: string;
1250
1350
  };
@@ -1255,17 +1355,13 @@ export declare class GetDocumentUrlRequest extends $tea.Model {
1255
1355
  [key: string]: any;
1256
1356
  });
1257
1357
  }
1258
- export declare class GetDocumentUrlResponseBody extends $tea.Model {
1358
+ export declare class GetDialogAnalysisResultResponseBody extends $tea.Model {
1259
1359
  /**
1260
1360
  * @example
1261
1361
  * null
1262
1362
  */
1263
1363
  cost?: number;
1264
- /**
1265
- * @example
1266
- * https://path_to_file
1267
- */
1268
- data?: string;
1364
+ data?: GetDialogAnalysisResultResponseBodyData;
1269
1365
  /**
1270
1366
  * @example
1271
1367
  * null
@@ -1283,7 +1379,7 @@ export declare class GetDocumentUrlResponseBody extends $tea.Model {
1283
1379
  message?: string;
1284
1380
  /**
1285
1381
  * @example
1286
- * 66249B43-8C2B-5EE7-AE78-B382306621C6
1382
+ * 88A006F0-B565-53BA-B38A-DBDF9D0B2935
1287
1383
  */
1288
1384
  requestId?: string;
1289
1385
  /**
@@ -1293,7 +1389,302 @@ export declare class GetDocumentUrlResponseBody extends $tea.Model {
1293
1389
  success?: boolean;
1294
1390
  /**
1295
1391
  * @example
1296
- * 2024-01-01 00:00:00
1392
+ * 2024-04-24 11:54:34
1393
+ */
1394
+ time?: string;
1395
+ static names(): {
1396
+ [key: string]: string;
1397
+ };
1398
+ static types(): {
1399
+ [key: string]: any;
1400
+ };
1401
+ constructor(map?: {
1402
+ [key: string]: any;
1403
+ });
1404
+ }
1405
+ export declare class GetDialogAnalysisResultResponse extends $tea.Model {
1406
+ headers?: {
1407
+ [key: string]: string;
1408
+ };
1409
+ statusCode?: number;
1410
+ body?: GetDialogAnalysisResultResponseBody;
1411
+ static names(): {
1412
+ [key: string]: string;
1413
+ };
1414
+ static types(): {
1415
+ [key: string]: any;
1416
+ };
1417
+ constructor(map?: {
1418
+ [key: string]: any;
1419
+ });
1420
+ }
1421
+ export declare class GetDocumentChunkListRequest extends $tea.Model {
1422
+ chunkIdList?: string[];
1423
+ /**
1424
+ * @remarks
1425
+ * This parameter is required.
1426
+ *
1427
+ * @example
1428
+ * 182364872346
1429
+ */
1430
+ docId?: string;
1431
+ /**
1432
+ * @remarks
1433
+ * This parameter is required.
1434
+ *
1435
+ * @example
1436
+ * dsjgfdjgfxxx
1437
+ */
1438
+ libraryId?: string;
1439
+ /**
1440
+ * @example
1441
+ * desc
1442
+ */
1443
+ order?: string;
1444
+ /**
1445
+ * @example
1446
+ * gmtCreate
1447
+ */
1448
+ orderBy?: string;
1449
+ /**
1450
+ * @example
1451
+ * 1
1452
+ */
1453
+ page?: number;
1454
+ /**
1455
+ * @example
1456
+ * 10
1457
+ */
1458
+ pageSize?: number;
1459
+ /**
1460
+ * @example
1461
+ * test
1462
+ */
1463
+ searchQuery?: string;
1464
+ static names(): {
1465
+ [key: string]: string;
1466
+ };
1467
+ static types(): {
1468
+ [key: string]: any;
1469
+ };
1470
+ constructor(map?: {
1471
+ [key: string]: any;
1472
+ });
1473
+ }
1474
+ export declare class GetDocumentChunkListResponseBody extends $tea.Model {
1475
+ /**
1476
+ * @example
1477
+ * null
1478
+ */
1479
+ cost?: number;
1480
+ data?: GetDocumentChunkListResponseBodyData;
1481
+ /**
1482
+ * @example
1483
+ * null
1484
+ */
1485
+ dataType?: string;
1486
+ /**
1487
+ * @example
1488
+ * 0
1489
+ */
1490
+ errCode?: string;
1491
+ /**
1492
+ * @example
1493
+ * ok
1494
+ */
1495
+ message?: string;
1496
+ /**
1497
+ * @example
1498
+ * 2B8F6DC9-6FAF-576F-9095-CCD90FB2BDDF
1499
+ */
1500
+ requestId?: string;
1501
+ /**
1502
+ * @example
1503
+ * true
1504
+ */
1505
+ success?: boolean;
1506
+ /**
1507
+ * @example
1508
+ * 2024-04-24 11:54:34
1509
+ */
1510
+ time?: string;
1511
+ static names(): {
1512
+ [key: string]: string;
1513
+ };
1514
+ static types(): {
1515
+ [key: string]: any;
1516
+ };
1517
+ constructor(map?: {
1518
+ [key: string]: any;
1519
+ });
1520
+ }
1521
+ export declare class GetDocumentChunkListResponse extends $tea.Model {
1522
+ headers?: {
1523
+ [key: string]: string;
1524
+ };
1525
+ statusCode?: number;
1526
+ body?: GetDocumentChunkListResponseBody;
1527
+ static names(): {
1528
+ [key: string]: string;
1529
+ };
1530
+ static types(): {
1531
+ [key: string]: any;
1532
+ };
1533
+ constructor(map?: {
1534
+ [key: string]: any;
1535
+ });
1536
+ }
1537
+ export declare class GetDocumentListRequest extends $tea.Model {
1538
+ /**
1539
+ * @remarks
1540
+ * This parameter is required.
1541
+ *
1542
+ * @example
1543
+ * 3akzl28vap
1544
+ */
1545
+ libraryId?: string;
1546
+ /**
1547
+ * @example
1548
+ * 1
1549
+ */
1550
+ page?: number;
1551
+ /**
1552
+ * @example
1553
+ * 10
1554
+ */
1555
+ pageSize?: number;
1556
+ status?: string;
1557
+ static names(): {
1558
+ [key: string]: string;
1559
+ };
1560
+ static types(): {
1561
+ [key: string]: any;
1562
+ };
1563
+ constructor(map?: {
1564
+ [key: string]: any;
1565
+ });
1566
+ }
1567
+ export declare class GetDocumentListResponseBody extends $tea.Model {
1568
+ /**
1569
+ * @example
1570
+ * null
1571
+ */
1572
+ cost?: number;
1573
+ data?: GetDocumentListResponseBodyData;
1574
+ /**
1575
+ * @example
1576
+ * null
1577
+ */
1578
+ dataType?: string;
1579
+ /**
1580
+ * @example
1581
+ * 0
1582
+ */
1583
+ errCode?: string;
1584
+ /**
1585
+ * @example
1586
+ * ok
1587
+ */
1588
+ message?: string;
1589
+ /**
1590
+ * @example
1591
+ * 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
1592
+ */
1593
+ requestId?: string;
1594
+ /**
1595
+ * @example
1596
+ * true
1597
+ */
1598
+ success?: boolean;
1599
+ /**
1600
+ * @example
1601
+ * 2024-04-24 11:54:34
1602
+ */
1603
+ time?: string;
1604
+ static names(): {
1605
+ [key: string]: string;
1606
+ };
1607
+ static types(): {
1608
+ [key: string]: any;
1609
+ };
1610
+ constructor(map?: {
1611
+ [key: string]: any;
1612
+ });
1613
+ }
1614
+ export declare class GetDocumentListResponse extends $tea.Model {
1615
+ headers?: {
1616
+ [key: string]: string;
1617
+ };
1618
+ statusCode?: number;
1619
+ body?: GetDocumentListResponseBody;
1620
+ static names(): {
1621
+ [key: string]: string;
1622
+ };
1623
+ static types(): {
1624
+ [key: string]: any;
1625
+ };
1626
+ constructor(map?: {
1627
+ [key: string]: any;
1628
+ });
1629
+ }
1630
+ export declare class GetDocumentUrlRequest extends $tea.Model {
1631
+ /**
1632
+ * @remarks
1633
+ * This parameter is required.
1634
+ *
1635
+ * @example
1636
+ * 12681367362
1637
+ */
1638
+ documentId?: string;
1639
+ static names(): {
1640
+ [key: string]: string;
1641
+ };
1642
+ static types(): {
1643
+ [key: string]: any;
1644
+ };
1645
+ constructor(map?: {
1646
+ [key: string]: any;
1647
+ });
1648
+ }
1649
+ export declare class GetDocumentUrlResponseBody extends $tea.Model {
1650
+ /**
1651
+ * @example
1652
+ * null
1653
+ */
1654
+ cost?: number;
1655
+ /**
1656
+ * @example
1657
+ * https://path_to_file
1658
+ */
1659
+ data?: string;
1660
+ /**
1661
+ * @example
1662
+ * null
1663
+ */
1664
+ dataType?: string;
1665
+ /**
1666
+ * @example
1667
+ * 0
1668
+ */
1669
+ errCode?: string;
1670
+ /**
1671
+ * @example
1672
+ * ok
1673
+ */
1674
+ message?: string;
1675
+ /**
1676
+ * @example
1677
+ * 66249B43-8C2B-5EE7-AE78-B382306621C6
1678
+ */
1679
+ requestId?: string;
1680
+ /**
1681
+ * @example
1682
+ * true
1683
+ */
1684
+ success?: boolean;
1685
+ /**
1686
+ * @example
1687
+ * 2024-01-01 00:00:00
1297
1688
  */
1298
1689
  time?: string;
1299
1690
  static names(): {
@@ -2337,6 +2728,106 @@ export declare class ReIndexResponse extends $tea.Model {
2337
2728
  [key: string]: any;
2338
2729
  });
2339
2730
  }
2731
+ export declare class RealTimeDialogRequest extends $tea.Model {
2732
+ /**
2733
+ * @example
2734
+ * false
2735
+ */
2736
+ analysis?: boolean;
2737
+ /**
2738
+ * @example
2739
+ * mixIntentChat
2740
+ */
2741
+ bizType?: string;
2742
+ /**
2743
+ * @remarks
2744
+ * This parameter is required.
2745
+ */
2746
+ conversationModel?: RealTimeDialogRequestConversationModel[];
2747
+ /**
2748
+ * @example
2749
+ * 3
2750
+ */
2751
+ dialogMemoryTurns?: number;
2752
+ metaData?: {
2753
+ [key: string]: any;
2754
+ };
2755
+ /**
2756
+ * @example
2757
+ * false
2758
+ */
2759
+ recommend?: boolean;
2760
+ /**
2761
+ * @remarks
2762
+ * This parameter is required.
2763
+ *
2764
+ * @example
2765
+ * 237645726354
2766
+ */
2767
+ sessionId?: string;
2768
+ /**
2769
+ * @example
2770
+ * false
2771
+ */
2772
+ stream?: boolean;
2773
+ static names(): {
2774
+ [key: string]: string;
2775
+ };
2776
+ static types(): {
2777
+ [key: string]: any;
2778
+ };
2779
+ constructor(map?: {
2780
+ [key: string]: any;
2781
+ });
2782
+ }
2783
+ export declare class RealTimeDialogResponseBody extends $tea.Model {
2784
+ choices?: RealTimeDialogResponseBodyChoices[];
2785
+ /**
2786
+ * @example
2787
+ * 1735139569523
2788
+ */
2789
+ created?: string;
2790
+ /**
2791
+ * @example
2792
+ * eb2b6139-ddf1-91a0-a47f-df7617ae9032
2793
+ */
2794
+ id?: string;
2795
+ /**
2796
+ * @example
2797
+ * 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
2798
+ */
2799
+ requestId?: string;
2800
+ /**
2801
+ * @example
2802
+ * true
2803
+ */
2804
+ success?: boolean;
2805
+ static names(): {
2806
+ [key: string]: string;
2807
+ };
2808
+ static types(): {
2809
+ [key: string]: any;
2810
+ };
2811
+ constructor(map?: {
2812
+ [key: string]: any;
2813
+ });
2814
+ }
2815
+ export declare class RealTimeDialogResponse extends $tea.Model {
2816
+ headers?: {
2817
+ [key: string]: string;
2818
+ };
2819
+ statusCode?: number;
2820
+ body?: RealTimeDialogResponseBody;
2821
+ static names(): {
2822
+ [key: string]: string;
2823
+ };
2824
+ static types(): {
2825
+ [key: string]: any;
2826
+ };
2827
+ constructor(map?: {
2828
+ [key: string]: any;
2829
+ });
2830
+ }
2340
2831
  export declare class RebuildTaskRequest extends $tea.Model {
2341
2832
  /**
2342
2833
  * @remarks
@@ -2742,59 +3233,172 @@ export declare class RunLibraryChatGenerationRequest extends $tea.Model {
2742
3233
  * This parameter is required.
2743
3234
  *
2744
3235
  * @example
2745
- * 3akzl28vap
3236
+ * 3akzl28vap
3237
+ */
3238
+ libraryId?: string;
3239
+ /**
3240
+ * @remarks
3241
+ * This parameter is required.
3242
+ *
3243
+ * @example
3244
+ * qwen-max
3245
+ */
3246
+ llmType?: string;
3247
+ /**
3248
+ * @example
3249
+ * qwen-max
3250
+ */
3251
+ multiQueryLlm?: string;
3252
+ /**
3253
+ * @remarks
3254
+ * This parameter is required.
3255
+ */
3256
+ query?: string;
3257
+ queryCriteria?: RunLibraryChatGenerationRequestQueryCriteria;
3258
+ /**
3259
+ * @example
3260
+ * linear
3261
+ */
3262
+ rerankType?: string;
3263
+ /**
3264
+ * @remarks
3265
+ * sessionId
3266
+ *
3267
+ * @example
3268
+ * null
3269
+ */
3270
+ sessionId?: string;
3271
+ /**
3272
+ * @example
3273
+ * false
3274
+ */
3275
+ stream?: boolean;
3276
+ subQueryList?: string[];
3277
+ textSearchParameter?: RunLibraryChatGenerationRequestTextSearchParameter;
3278
+ /**
3279
+ * @example
3280
+ * 1
3281
+ */
3282
+ topK?: number;
3283
+ vectorSearchParameter?: RunLibraryChatGenerationRequestVectorSearchParameter;
3284
+ /**
3285
+ * @example
3286
+ * false
3287
+ */
3288
+ withDocumentReference?: boolean;
3289
+ static names(): {
3290
+ [key: string]: string;
3291
+ };
3292
+ static types(): {
3293
+ [key: string]: any;
3294
+ };
3295
+ constructor(map?: {
3296
+ [key: string]: any;
3297
+ });
3298
+ }
3299
+ export declare class RunLibraryChatGenerationResponseBody extends $tea.Model {
3300
+ /**
3301
+ * @example
3302
+ * null
3303
+ */
3304
+ cost?: number;
3305
+ data?: any;
3306
+ /**
3307
+ * @example
3308
+ * null
3309
+ */
3310
+ dataType?: string;
3311
+ /**
3312
+ * @example
3313
+ * 0
3314
+ */
3315
+ errCode?: string;
3316
+ /**
3317
+ * @example
3318
+ * ok
3319
+ */
3320
+ message?: string;
3321
+ /**
3322
+ * @example
3323
+ * 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
3324
+ */
3325
+ requestId?: string;
3326
+ /**
3327
+ * @example
3328
+ * true
3329
+ */
3330
+ success?: boolean;
3331
+ /**
3332
+ * @example
3333
+ * 2024-04-24 11:54:34
3334
+ */
3335
+ time?: string;
3336
+ static names(): {
3337
+ [key: string]: string;
3338
+ };
3339
+ static types(): {
3340
+ [key: string]: any;
3341
+ };
3342
+ constructor(map?: {
3343
+ [key: string]: any;
3344
+ });
3345
+ }
3346
+ export declare class RunLibraryChatGenerationResponse extends $tea.Model {
3347
+ headers?: {
3348
+ [key: string]: string;
3349
+ };
3350
+ statusCode?: number;
3351
+ body?: RunLibraryChatGenerationResponseBody;
3352
+ static names(): {
3353
+ [key: string]: string;
3354
+ };
3355
+ static types(): {
3356
+ [key: string]: any;
3357
+ };
3358
+ constructor(map?: {
3359
+ [key: string]: any;
3360
+ });
3361
+ }
3362
+ export declare class SubmitChatQuestionRequest extends $tea.Model {
3363
+ /**
3364
+ * @remarks
3365
+ * This parameter is required.
3366
+ *
3367
+ * @example
3368
+ * 2024-09-27 11:23:20
2746
3369
  */
2747
- libraryId?: string;
3370
+ gmtService?: string;
2748
3371
  /**
2749
3372
  * @remarks
2750
3373
  * This parameter is required.
2751
- *
2752
- * @example
2753
- * qwen-max
2754
3374
  */
2755
- llmType?: string;
3375
+ liveScriptContent?: string;
2756
3376
  /**
2757
3377
  * @example
2758
- * qwen-max
3378
+ * true
2759
3379
  */
2760
- multiQueryLlm?: string;
3380
+ openSmallTalk?: boolean;
2761
3381
  /**
2762
3382
  * @remarks
2763
3383
  * This parameter is required.
2764
3384
  */
2765
- query?: string;
2766
- queryCriteria?: RunLibraryChatGenerationRequestQueryCriteria;
3385
+ questionList?: SubmitChatQuestionRequestQuestionList[];
2767
3386
  /**
3387
+ * @remarks
3388
+ * This parameter is required.
3389
+ *
2768
3390
  * @example
2769
- * linear
3391
+ * 0FC6636E-380A-5369-AE01-D1C15BB9B254
2770
3392
  */
2771
- rerankType?: string;
3393
+ requestId?: string;
2772
3394
  /**
2773
3395
  * @remarks
2774
- * sessionId
3396
+ * This parameter is required.
2775
3397
  *
2776
3398
  * @example
2777
- * null
3399
+ * 237645726354
2778
3400
  */
2779
3401
  sessionId?: string;
2780
- /**
2781
- * @example
2782
- * false
2783
- */
2784
- stream?: boolean;
2785
- subQueryList?: string[];
2786
- textSearchParameter?: RunLibraryChatGenerationRequestTextSearchParameter;
2787
- /**
2788
- * @example
2789
- * 1
2790
- */
2791
- topK?: number;
2792
- vectorSearchParameter?: RunLibraryChatGenerationRequestVectorSearchParameter;
2793
- /**
2794
- * @example
2795
- * false
2796
- */
2797
- withDocumentReference?: boolean;
2798
3402
  static names(): {
2799
3403
  [key: string]: string;
2800
3404
  };
@@ -2805,13 +3409,13 @@ export declare class RunLibraryChatGenerationRequest extends $tea.Model {
2805
3409
  [key: string]: any;
2806
3410
  });
2807
3411
  }
2808
- export declare class RunLibraryChatGenerationResponseBody extends $tea.Model {
3412
+ export declare class SubmitChatQuestionResponseBody extends $tea.Model {
2809
3413
  /**
2810
3414
  * @example
2811
3415
  * null
2812
3416
  */
2813
3417
  cost?: number;
2814
- data?: any;
3418
+ data?: SubmitChatQuestionResponseBodyData;
2815
3419
  /**
2816
3420
  * @example
2817
3421
  * null
@@ -2829,7 +3433,7 @@ export declare class RunLibraryChatGenerationResponseBody extends $tea.Model {
2829
3433
  message?: string;
2830
3434
  /**
2831
3435
  * @example
2832
- * 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
3436
+ * 915AAAB9-4908-5224-9E53-9E9D7D0AA94B
2833
3437
  */
2834
3438
  requestId?: string;
2835
3439
  /**
@@ -2852,12 +3456,12 @@ export declare class RunLibraryChatGenerationResponseBody extends $tea.Model {
2852
3456
  [key: string]: any;
2853
3457
  });
2854
3458
  }
2855
- export declare class RunLibraryChatGenerationResponse extends $tea.Model {
3459
+ export declare class SubmitChatQuestionResponse extends $tea.Model {
2856
3460
  headers?: {
2857
3461
  [key: string]: string;
2858
3462
  };
2859
3463
  statusCode?: number;
2860
- body?: RunLibraryChatGenerationResponseBody;
3464
+ body?: SubmitChatQuestionResponseBody;
2861
3465
  static names(): {
2862
3466
  [key: string]: string;
2863
3467
  };
@@ -3065,6 +3669,98 @@ export declare class UpdateLibraryResponse extends $tea.Model {
3065
3669
  [key: string]: any;
3066
3670
  });
3067
3671
  }
3672
+ export declare class UpdateQaLibraryRequest extends $tea.Model {
3673
+ /**
3674
+ * @remarks
3675
+ * This parameter is required.
3676
+ */
3677
+ parseQaResults?: UpdateQaLibraryRequestParseQaResults[];
3678
+ /**
3679
+ * @example
3680
+ * 6jh378d
3681
+ */
3682
+ qaLibraryId?: string;
3683
+ /**
3684
+ * @remarks
3685
+ * This parameter is required.
3686
+ *
3687
+ * @example
3688
+ * 0FC6636E-380A-5369-AE01-D1C15BB9B254
3689
+ */
3690
+ requestId?: string;
3691
+ static names(): {
3692
+ [key: string]: string;
3693
+ };
3694
+ static types(): {
3695
+ [key: string]: any;
3696
+ };
3697
+ constructor(map?: {
3698
+ [key: string]: any;
3699
+ });
3700
+ }
3701
+ export declare class UpdateQaLibraryResponseBody extends $tea.Model {
3702
+ /**
3703
+ * @example
3704
+ * null
3705
+ */
3706
+ cost?: number;
3707
+ data?: UpdateQaLibraryResponseBodyData;
3708
+ /**
3709
+ * @example
3710
+ * null
3711
+ */
3712
+ dataType?: string;
3713
+ /**
3714
+ * @example
3715
+ * 0
3716
+ */
3717
+ errCode?: string;
3718
+ /**
3719
+ * @example
3720
+ * ok
3721
+ */
3722
+ message?: string;
3723
+ /**
3724
+ * @example
3725
+ * EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258
3726
+ */
3727
+ requestId?: string;
3728
+ /**
3729
+ * @example
3730
+ * true
3731
+ */
3732
+ success?: boolean;
3733
+ /**
3734
+ * @example
3735
+ * 2024-04-24 11:54:34
3736
+ */
3737
+ time?: string;
3738
+ static names(): {
3739
+ [key: string]: string;
3740
+ };
3741
+ static types(): {
3742
+ [key: string]: any;
3743
+ };
3744
+ constructor(map?: {
3745
+ [key: string]: any;
3746
+ });
3747
+ }
3748
+ export declare class UpdateQaLibraryResponse extends $tea.Model {
3749
+ headers?: {
3750
+ [key: string]: string;
3751
+ };
3752
+ statusCode?: number;
3753
+ body?: UpdateQaLibraryResponseBody;
3754
+ static names(): {
3755
+ [key: string]: string;
3756
+ };
3757
+ static types(): {
3758
+ [key: string]: any;
3759
+ };
3760
+ constructor(map?: {
3761
+ [key: string]: any;
3762
+ });
3763
+ }
3068
3764
  export declare class UploadDocumentRequest extends $tea.Model {
3069
3765
  data?: string;
3070
3766
  /**
@@ -3249,6 +3945,23 @@ export declare class CreateAnnualDocSummaryTaskRequestDocInfos extends $tea.Mode
3249
3945
  [key: string]: any;
3250
3946
  });
3251
3947
  }
3948
+ export declare class CreateDialogResponseBodyData extends $tea.Model {
3949
+ openingRemarks?: string;
3950
+ /**
3951
+ * @example
3952
+ * 1728545917713234
3953
+ */
3954
+ sessionId?: string;
3955
+ static names(): {
3956
+ [key: string]: string;
3957
+ };
3958
+ static types(): {
3959
+ [key: string]: any;
3960
+ };
3961
+ constructor(map?: {
3962
+ [key: string]: any;
3963
+ });
3964
+ }
3252
3965
  export declare class CreateDocsSummaryTaskRequestDocInfos extends $tea.Model {
3253
3966
  /**
3254
3967
  * @remarks
@@ -3607,9 +4320,106 @@ export declare class CreateQualityCheckTaskRequestConversationListDialogueList e
3607
4320
  * This parameter is required.
3608
4321
  *
3609
4322
  * @example
3610
- * TEXT
4323
+ * TEXT
4324
+ */
4325
+ type?: string;
4326
+ static names(): {
4327
+ [key: string]: string;
4328
+ };
4329
+ static types(): {
4330
+ [key: string]: any;
4331
+ };
4332
+ constructor(map?: {
4333
+ [key: string]: any;
4334
+ });
4335
+ }
4336
+ export declare class CreateQualityCheckTaskRequestConversationList extends $tea.Model {
4337
+ /**
4338
+ * @example
4339
+ * 1
4340
+ */
4341
+ callType?: string;
4342
+ /**
4343
+ * @example
4344
+ * 1
4345
+ */
4346
+ customerId?: string;
4347
+ customerName?: string;
4348
+ /**
4349
+ * @example
4350
+ * xxx
4351
+ */
4352
+ customerServiceId?: string;
4353
+ customerServiceName?: string;
4354
+ /**
4355
+ * @remarks
4356
+ * This parameter is required.
4357
+ */
4358
+ dialogueList?: CreateQualityCheckTaskRequestConversationListDialogueList[];
4359
+ /**
4360
+ * @example
4361
+ * 2024-09-27 11:23:20
4362
+ */
4363
+ gmtService?: string;
4364
+ static names(): {
4365
+ [key: string]: string;
4366
+ };
4367
+ static types(): {
4368
+ [key: string]: any;
4369
+ };
4370
+ constructor(map?: {
4371
+ [key: string]: any;
4372
+ });
4373
+ }
4374
+ export declare class CreateQualityCheckTaskResponseBodyData extends $tea.Model {
4375
+ /**
4376
+ * @remarks
4377
+ * taskId
4378
+ *
4379
+ * @example
4380
+ * 172373500521
4381
+ */
4382
+ taskId?: string;
4383
+ static names(): {
4384
+ [key: string]: string;
4385
+ };
4386
+ static types(): {
4387
+ [key: string]: any;
4388
+ };
4389
+ constructor(map?: {
4390
+ [key: string]: any;
4391
+ });
4392
+ }
4393
+ export declare class GenDocQaResultResponseBodyDataParseQaResults extends $tea.Model {
4394
+ answer?: string;
4395
+ question?: string;
4396
+ static names(): {
4397
+ [key: string]: string;
4398
+ };
4399
+ static types(): {
4400
+ [key: string]: any;
4401
+ };
4402
+ constructor(map?: {
4403
+ [key: string]: any;
4404
+ });
4405
+ }
4406
+ export declare class GenDocQaResultResponseBodyData extends $tea.Model {
4407
+ /**
4408
+ * @example
4409
+ * PROCESSING
4410
+ */
4411
+ currentStatus?: string;
4412
+ /**
4413
+ * @example
4414
+ * 873648346573245
4415
+ */
4416
+ docId?: string;
4417
+ /**
4418
+ * @example
4419
+ * 7wxwrjpabj
3611
4420
  */
3612
- type?: string;
4421
+ libraryId?: string;
4422
+ parseQaResults?: GenDocQaResultResponseBodyDataParseQaResults[];
3613
4423
  static names(): {
3614
4424
  [key: string]: string;
3615
4425
  };
@@ -3620,34 +4430,72 @@ export declare class CreateQualityCheckTaskRequestConversationListDialogueList e
3620
4430
  [key: string]: any;
3621
4431
  });
3622
4432
  }
3623
- export declare class CreateQualityCheckTaskRequestConversationList extends $tea.Model {
4433
+ export declare class GetAppConfigResponseBodyData extends $tea.Model {
4434
+ embeddingTypeList?: {
4435
+ [key: string]: string;
4436
+ }[];
4437
+ frontendConfig?: {
4438
+ [key: string]: boolean;
4439
+ };
4440
+ libraryDocumentStatusList?: {
4441
+ [key: string]: string;
4442
+ }[];
4443
+ llmHelperTypeList?: {
4444
+ [key: string]: string;
4445
+ }[];
4446
+ textIndexCategoryList?: string[];
4447
+ vectorIndexCategoryList?: string[];
4448
+ static names(): {
4449
+ [key: string]: string;
4450
+ };
4451
+ static types(): {
4452
+ [key: string]: any;
4453
+ };
4454
+ constructor(map?: {
4455
+ [key: string]: any;
4456
+ });
4457
+ }
4458
+ export declare class GetChatQuestionRespResponseBodyDataQuestionList extends $tea.Model {
4459
+ content?: string;
3624
4460
  /**
3625
4461
  * @example
3626
- * 1
4462
+ * 2024-11-17 10:05:00
3627
4463
  */
3628
- callType?: string;
4464
+ gmtCreate?: string;
4465
+ reply?: string;
3629
4466
  /**
3630
4467
  * @example
3631
- * 1
4468
+ * 1732846760323001
3632
4469
  */
3633
- customerId?: string;
3634
- customerName?: string;
4470
+ sessionId?: string;
3635
4471
  /**
3636
4472
  * @example
3637
- * xxx
4473
+ * PRODUCT_QA
3638
4474
  */
3639
- customerServiceId?: string;
3640
- customerServiceName?: string;
4475
+ type?: string;
3641
4476
  /**
3642
- * @remarks
3643
- * This parameter is required.
4477
+ * @example
4478
+ * 39847834568436
3644
4479
  */
3645
- dialogueList?: CreateQualityCheckTaskRequestConversationListDialogueList[];
4480
+ userId?: string;
4481
+ userName?: string;
4482
+ static names(): {
4483
+ [key: string]: string;
4484
+ };
4485
+ static types(): {
4486
+ [key: string]: any;
4487
+ };
4488
+ constructor(map?: {
4489
+ [key: string]: any;
4490
+ });
4491
+ }
4492
+ export declare class GetChatQuestionRespResponseBodyData extends $tea.Model {
3646
4493
  /**
3647
4494
  * @example
3648
- * 2024-09-27 11:23:20
4495
+ * PROCESSING
3649
4496
  */
3650
- gmtService?: string;
4497
+ currentState?: string;
4498
+ questionList?: GetChatQuestionRespResponseBodyDataQuestionList[];
3651
4499
  static names(): {
3652
4500
  [key: string]: string;
3653
4501
  };
@@ -3658,15 +4506,13 @@ export declare class CreateQualityCheckTaskRequestConversationList extends $tea.
3658
4506
  [key: string]: any;
3659
4507
  });
3660
4508
  }
3661
- export declare class CreateQualityCheckTaskResponseBodyData extends $tea.Model {
4509
+ export declare class GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisRespDialogLabels extends $tea.Model {
4510
+ name?: string;
3662
4511
  /**
3663
- * @remarks
3664
- * taskId
3665
- *
3666
4512
  * @example
3667
- * 172373500521
4513
+ * 0
3668
4514
  */
3669
- taskId?: string;
4515
+ value?: string;
3670
4516
  static names(): {
3671
4517
  [key: string]: string;
3672
4518
  };
@@ -3677,21 +4523,54 @@ export declare class CreateQualityCheckTaskResponseBodyData extends $tea.Model {
3677
4523
  [key: string]: any;
3678
4524
  });
3679
4525
  }
3680
- export declare class GetAppConfigResponseBodyData extends $tea.Model {
3681
- embeddingTypeList?: {
4526
+ export declare class GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisResp extends $tea.Model {
4527
+ dialogExecPlan?: string;
4528
+ dialogLabels?: GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisRespDialogLabels[];
4529
+ dialogSummary?: string;
4530
+ static names(): {
3682
4531
  [key: string]: string;
3683
- }[];
3684
- frontendConfig?: {
3685
- [key: string]: boolean;
3686
4532
  };
3687
- libraryDocumentStatusList?: {
3688
- [key: string]: string;
3689
- }[];
3690
- llmHelperTypeList?: {
4533
+ static types(): {
4534
+ [key: string]: any;
4535
+ };
4536
+ constructor(map?: {
4537
+ [key: string]: any;
4538
+ });
4539
+ }
4540
+ export declare class GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespList extends $tea.Model {
4541
+ analysisResp?: GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisResp;
4542
+ /**
4543
+ * @example
4544
+ * 2024-04-24 11:54:34
4545
+ */
4546
+ gmtCreate?: string;
4547
+ /**
4548
+ * @example
4549
+ * https://xxx.oss-cn-beijing.aliyuncs.com/dialog-analysis/2024-12-30/2/1826661605606129665
4550
+ */
4551
+ ossUrl?: string;
4552
+ /**
4553
+ * @example
4554
+ * 183764873624
4555
+ */
4556
+ sessionId?: string;
4557
+ /**
4558
+ * @example
4559
+ * running
4560
+ */
4561
+ status?: string;
4562
+ static names(): {
3691
4563
  [key: string]: string;
3692
- }[];
3693
- textIndexCategoryList?: string[];
3694
- vectorIndexCategoryList?: string[];
4564
+ };
4565
+ static types(): {
4566
+ [key: string]: any;
4567
+ };
4568
+ constructor(map?: {
4569
+ [key: string]: any;
4570
+ });
4571
+ }
4572
+ export declare class GetDialogAnalysisResultResponseBodyData extends $tea.Model {
4573
+ dialogAnalysisRespList?: GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespList[];
3695
4574
  static names(): {
3696
4575
  [key: string]: string;
3697
4576
  };
@@ -5029,15 +5908,187 @@ export declare class GetSummaryTaskResultResponseBodyDataChoicesMessage extends
5029
5908
  export declare class GetSummaryTaskResultResponseBodyDataChoices extends $tea.Model {
5030
5909
  /**
5031
5910
  * @example
5032
- * stop
5911
+ * stop
5912
+ */
5913
+ finishReason?: string;
5914
+ /**
5915
+ * @example
5916
+ * 0
5917
+ */
5918
+ index?: number;
5919
+ message?: GetSummaryTaskResultResponseBodyDataChoicesMessage;
5920
+ static names(): {
5921
+ [key: string]: string;
5922
+ };
5923
+ static types(): {
5924
+ [key: string]: any;
5925
+ };
5926
+ constructor(map?: {
5927
+ [key: string]: any;
5928
+ });
5929
+ }
5930
+ export declare class GetSummaryTaskResultResponseBodyDataUsage extends $tea.Model {
5931
+ /**
5932
+ * @example
5933
+ * 0
5934
+ */
5935
+ imageCount?: number;
5936
+ /**
5937
+ * @example
5938
+ * 0
5939
+ */
5940
+ imageTokens?: number;
5941
+ /**
5942
+ * @example
5943
+ * 100
5944
+ */
5945
+ inputTokens?: number;
5946
+ /**
5947
+ * @example
5948
+ * 200
5949
+ */
5950
+ outputTokens?: number;
5951
+ /**
5952
+ * @example
5953
+ * 300
5954
+ */
5955
+ totalTokens?: number;
5956
+ static names(): {
5957
+ [key: string]: string;
5958
+ };
5959
+ static types(): {
5960
+ [key: string]: any;
5961
+ };
5962
+ constructor(map?: {
5963
+ [key: string]: any;
5964
+ });
5965
+ }
5966
+ export declare class GetSummaryTaskResultResponseBodyData extends $tea.Model {
5967
+ choices?: GetSummaryTaskResultResponseBodyDataChoices[];
5968
+ /**
5969
+ * @example
5970
+ * 1726285125915
5971
+ */
5972
+ created?: number;
5973
+ /**
5974
+ * @example
5975
+ * 1202
5976
+ */
5977
+ id?: string;
5978
+ /**
5979
+ * @example
5980
+ * qwen-max
5981
+ */
5982
+ modelId?: string;
5983
+ /**
5984
+ * @example
5985
+ * 0bc13a9517168617617186457e401f
5986
+ */
5987
+ requestId?: string;
5988
+ /**
5989
+ * @example
5990
+ * 2024-04-24 11:54:34
5991
+ */
5992
+ time?: string;
5993
+ /**
5994
+ * @example
5995
+ * 300
5996
+ */
5997
+ totalTokens?: number;
5998
+ usage?: GetSummaryTaskResultResponseBodyDataUsage;
5999
+ static names(): {
6000
+ [key: string]: string;
6001
+ };
6002
+ static types(): {
6003
+ [key: string]: any;
6004
+ };
6005
+ constructor(map?: {
6006
+ [key: string]: any;
6007
+ });
6008
+ }
6009
+ export declare class PreviewDocumentResponseBodyData extends $tea.Model {
6010
+ /**
6011
+ * @example
6012
+ * pdf
6013
+ */
6014
+ previewType?: string;
6015
+ /**
6016
+ * @example
6017
+ * test
6018
+ */
6019
+ title?: string;
6020
+ /**
6021
+ * @example
6022
+ * 2024-01-01 00:00:00
6023
+ */
6024
+ uploadTime?: string;
6025
+ /**
6026
+ * @example
6027
+ * https://agi.alicdn.com/user/d0o/d3c1f50d-a6c2-49b3-b0c8-3e613c3f20ee_16872_3236784461.png
6028
+ */
6029
+ url?: string;
6030
+ static names(): {
6031
+ [key: string]: string;
6032
+ };
6033
+ static types(): {
6034
+ [key: string]: any;
6035
+ };
6036
+ constructor(map?: {
6037
+ [key: string]: any;
6038
+ });
6039
+ }
6040
+ export declare class RealTimeDialogRequestConversationModel extends $tea.Model {
6041
+ /**
6042
+ * @example
6043
+ * 5
6044
+ */
6045
+ begin?: number;
6046
+ /**
6047
+ * @example
6048
+ * 2024-11-08 09:51:16
6049
+ */
6050
+ beginTime?: string;
6051
+ /**
6052
+ * @remarks
6053
+ * This parameter is required.
6054
+ */
6055
+ content?: string;
6056
+ /**
6057
+ * @example
6058
+ * 98457834685635
5033
6059
  */
5034
- finishReason?: string;
6060
+ customerId?: string;
6061
+ /**
6062
+ * @example
6063
+ * 1374683645635
6064
+ */
6065
+ customerServiceId?: string;
5035
6066
  /**
5036
6067
  * @example
5037
6068
  * 0
5038
6069
  */
5039
- index?: number;
5040
- message?: GetSummaryTaskResultResponseBodyDataChoicesMessage;
6070
+ customerServiceType?: string;
6071
+ /**
6072
+ * @example
6073
+ * 10
6074
+ */
6075
+ end?: number;
6076
+ /**
6077
+ * @remarks
6078
+ * This parameter is required.
6079
+ *
6080
+ * @example
6081
+ * 0
6082
+ */
6083
+ role?: number;
6084
+ /**
6085
+ * @remarks
6086
+ * This parameter is required.
6087
+ *
6088
+ * @example
6089
+ * audio
6090
+ */
6091
+ type?: string;
5041
6092
  static names(): {
5042
6093
  [key: string]: string;
5043
6094
  };
@@ -5048,32 +6099,44 @@ export declare class GetSummaryTaskResultResponseBodyDataChoices extends $tea.Mo
5048
6099
  [key: string]: any;
5049
6100
  });
5050
6101
  }
5051
- export declare class GetSummaryTaskResultResponseBodyDataUsage extends $tea.Model {
6102
+ export declare class RealTimeDialogResponseBodyChoicesDelta extends $tea.Model {
5052
6103
  /**
5053
6104
  * @example
5054
- * 0
6105
+ * null
5055
6106
  */
5056
- imageCount?: number;
6107
+ analysisProcess?: string;
5057
6108
  /**
6109
+ * @remarks
6110
+ * time
6111
+ *
5058
6112
  * @example
5059
- * 0
6113
+ * null
5060
6114
  */
5061
- imageTokens?: number;
6115
+ callTime?: string;
5062
6116
  /**
5063
6117
  * @example
5064
- * 100
6118
+ * false
5065
6119
  */
5066
- inputTokens?: number;
6120
+ hangUpDialog?: boolean;
5067
6121
  /**
5068
6122
  * @example
5069
- * 200
6123
+ * 1853360771162058752
5070
6124
  */
5071
- outputTokens?: number;
6125
+ intentionCode?: string;
6126
+ intentionName?: string;
6127
+ intentionScript?: string;
5072
6128
  /**
5073
6129
  * @example
5074
- * 300
6130
+ * null
5075
6131
  */
5076
- totalTokens?: number;
6132
+ recommendIntention?: string;
6133
+ /**
6134
+ * @example
6135
+ * null
6136
+ */
6137
+ recommendScript?: string;
6138
+ selfDirectedScript?: string;
6139
+ selfDirectedScriptFullContent?: string;
5077
6140
  static names(): {
5078
6141
  [key: string]: string;
5079
6142
  };
@@ -5084,39 +6147,48 @@ export declare class GetSummaryTaskResultResponseBodyDataUsage extends $tea.Mode
5084
6147
  [key: string]: any;
5085
6148
  });
5086
6149
  }
5087
- export declare class GetSummaryTaskResultResponseBodyData extends $tea.Model {
5088
- choices?: GetSummaryTaskResultResponseBodyDataChoices[];
6150
+ export declare class RealTimeDialogResponseBodyChoicesMessage extends $tea.Model {
5089
6151
  /**
5090
6152
  * @example
5091
- * 1726285125915
6153
+ * null
5092
6154
  */
5093
- created?: number;
6155
+ analysisProcess?: string;
6156
+ /**
6157
+ * @remarks
6158
+ * time
6159
+ *
6160
+ * @example
6161
+ * 1735139569523
6162
+ */
6163
+ callTime?: string;
5094
6164
  /**
5095
6165
  * @example
5096
- * 1202
6166
+ * false
5097
6167
  */
5098
- id?: string;
6168
+ hangUpDialog?: boolean;
5099
6169
  /**
5100
6170
  * @example
5101
- * qwen-max
6171
+ * 1853360771162058752
5102
6172
  */
5103
- modelId?: string;
6173
+ intentionCode?: string;
6174
+ intentionName?: string;
6175
+ intentionScript?: string;
5104
6176
  /**
5105
6177
  * @example
5106
- * 0bc13a9517168617617186457e401f
6178
+ * null
5107
6179
  */
5108
- requestId?: string;
6180
+ recommendIntention?: string;
5109
6181
  /**
5110
6182
  * @example
5111
- * 2024-04-24 11:54:34
6183
+ * null
5112
6184
  */
5113
- time?: string;
6185
+ recommendScript?: string;
5114
6186
  /**
5115
6187
  * @example
5116
- * 300
6188
+ * null
5117
6189
  */
5118
- totalTokens?: number;
5119
- usage?: GetSummaryTaskResultResponseBodyDataUsage;
6190
+ selfDirectedScript?: string;
6191
+ selfDirectedScriptFullContent?: string;
5120
6192
  static names(): {
5121
6193
  [key: string]: string;
5122
6194
  };
@@ -5127,27 +6199,19 @@ export declare class GetSummaryTaskResultResponseBodyData extends $tea.Model {
5127
6199
  [key: string]: any;
5128
6200
  });
5129
6201
  }
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;
6202
+ export declare class RealTimeDialogResponseBodyChoices extends $tea.Model {
6203
+ delta?: RealTimeDialogResponseBodyChoicesDelta;
5141
6204
  /**
5142
6205
  * @example
5143
- * 2024-01-01 00:00:00
6206
+ * stop
5144
6207
  */
5145
- uploadTime?: string;
6208
+ finishReason?: string;
5146
6209
  /**
5147
6210
  * @example
5148
- * https://agi.alicdn.com/user/d0o/d3c1f50d-a6c2-49b3-b0c8-3e613c3f20ee_16872_3236784461.png
6211
+ * 0
5149
6212
  */
5150
- url?: string;
6213
+ index?: number;
6214
+ message?: RealTimeDialogResponseBodyChoicesMessage;
5151
6215
  static names(): {
5152
6216
  [key: string]: string;
5153
6217
  };
@@ -6025,6 +7089,73 @@ export declare class RunLibraryChatGenerationRequestVectorSearchParameter extend
6025
7089
  [key: string]: any;
6026
7090
  });
6027
7091
  }
7092
+ export declare class SubmitChatQuestionRequestQuestionList extends $tea.Model {
7093
+ /**
7094
+ * @remarks
7095
+ * This parameter is required.
7096
+ */
7097
+ content?: string;
7098
+ /**
7099
+ * @remarks
7100
+ * This parameter is required.
7101
+ *
7102
+ * @example
7103
+ * 2024-11-17 10:05:00
7104
+ */
7105
+ gmtCreate?: string;
7106
+ reply?: string;
7107
+ /**
7108
+ * @remarks
7109
+ * This parameter is required.
7110
+ *
7111
+ * @example
7112
+ * 1869300950603128834
7113
+ */
7114
+ sessionId?: string;
7115
+ /**
7116
+ * @example
7117
+ * PRODUCT_QA
7118
+ */
7119
+ type?: string;
7120
+ /**
7121
+ * @remarks
7122
+ * This parameter is required.
7123
+ *
7124
+ * @example
7125
+ * 39485783475638465
7126
+ */
7127
+ userId?: string;
7128
+ /**
7129
+ * @remarks
7130
+ * This parameter is required.
7131
+ */
7132
+ userName?: string;
7133
+ static names(): {
7134
+ [key: string]: string;
7135
+ };
7136
+ static types(): {
7137
+ [key: string]: any;
7138
+ };
7139
+ constructor(map?: {
7140
+ [key: string]: any;
7141
+ });
7142
+ }
7143
+ export declare class SubmitChatQuestionResponseBodyData extends $tea.Model {
7144
+ /**
7145
+ * @example
7146
+ * 1869307330227937280
7147
+ */
7148
+ batchId?: string;
7149
+ static names(): {
7150
+ [key: string]: string;
7151
+ };
7152
+ static types(): {
7153
+ [key: string]: any;
7154
+ };
7155
+ constructor(map?: {
7156
+ [key: string]: any;
7157
+ });
7158
+ }
6028
7159
  export declare class UpdateLibraryRequestIndexSettingChunkStrategy extends $tea.Model {
6029
7160
  /**
6030
7161
  * @example
@@ -6267,6 +7398,43 @@ export declare class UpdateLibraryRequestIndexSetting extends $tea.Model {
6267
7398
  [key: string]: any;
6268
7399
  });
6269
7400
  }
7401
+ export declare class UpdateQaLibraryRequestParseQaResults extends $tea.Model {
7402
+ /**
7403
+ * @remarks
7404
+ * This parameter is required.
7405
+ */
7406
+ answer?: string;
7407
+ /**
7408
+ * @remarks
7409
+ * This parameter is required.
7410
+ */
7411
+ question?: string;
7412
+ static names(): {
7413
+ [key: string]: string;
7414
+ };
7415
+ static types(): {
7416
+ [key: string]: any;
7417
+ };
7418
+ constructor(map?: {
7419
+ [key: string]: any;
7420
+ });
7421
+ }
7422
+ export declare class UpdateQaLibraryResponseBodyData extends $tea.Model {
7423
+ /**
7424
+ * @example
7425
+ * 6jh378d
7426
+ */
7427
+ qaLibraryId?: string;
7428
+ static names(): {
7429
+ [key: string]: string;
7430
+ };
7431
+ static types(): {
7432
+ [key: string]: any;
7433
+ };
7434
+ constructor(map?: {
7435
+ [key: string]: any;
7436
+ });
7437
+ }
6270
7438
  export default class Client extends OpenApi {
6271
7439
  constructor(config: $OpenApi.Config);
6272
7440
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
@@ -6290,6 +7458,24 @@ export default class Client extends OpenApi {
6290
7458
  * @returns CreateAnnualDocSummaryTaskResponse
6291
7459
  */
6292
7460
  createAnnualDocSummaryTask(workspaceId: string, request: CreateAnnualDocSummaryTaskRequest): Promise<CreateAnnualDocSummaryTaskResponse>;
7461
+ /**
7462
+ * 创建外呼会话
7463
+ *
7464
+ * @param request - CreateDialogRequest
7465
+ * @param headers - map
7466
+ * @param runtime - runtime options for this request RuntimeOptions
7467
+ * @returns CreateDialogResponse
7468
+ */
7469
+ createDialogWithOptions(workspaceId: string, request: CreateDialogRequest, headers: {
7470
+ [key: string]: string;
7471
+ }, runtime: $Util.RuntimeOptions): Promise<CreateDialogResponse>;
7472
+ /**
7473
+ * 创建外呼会话
7474
+ *
7475
+ * @param request - CreateDialogRequest
7476
+ * @returns CreateDialogResponse
7477
+ */
7478
+ createDialog(workspaceId: string, request: CreateDialogRequest): Promise<CreateDialogResponse>;
6293
7479
  /**
6294
7480
  * 创建财报总结任务
6295
7481
  *
@@ -6452,6 +7638,24 @@ export default class Client extends OpenApi {
6452
7638
  * @returns EvictTaskResponse
6453
7639
  */
6454
7640
  evictTask(workspaceId: string, request: EvictTaskRequest): Promise<EvictTaskResponse>;
7641
+ /**
7642
+ * 根据文档解析问答QA
7643
+ *
7644
+ * @param request - GenDocQaResultRequest
7645
+ * @param headers - map
7646
+ * @param runtime - runtime options for this request RuntimeOptions
7647
+ * @returns GenDocQaResultResponse
7648
+ */
7649
+ genDocQaResultWithOptions(workspaceId: string, request: GenDocQaResultRequest, headers: {
7650
+ [key: string]: string;
7651
+ }, runtime: $Util.RuntimeOptions): Promise<GenDocQaResultResponse>;
7652
+ /**
7653
+ * 根据文档解析问答QA
7654
+ *
7655
+ * @param request - GenDocQaResultRequest
7656
+ * @returns GenDocQaResultResponse
7657
+ */
7658
+ genDocQaResult(workspaceId: string, request: GenDocQaResultRequest): Promise<GenDocQaResultResponse>;
6455
7659
  /**
6456
7660
  * 获取app配置
6457
7661
  *
@@ -6467,6 +7671,42 @@ export default class Client extends OpenApi {
6467
7671
  * @returns GetAppConfigResponse
6468
7672
  */
6469
7673
  getAppConfig(workspaceId: string): Promise<GetAppConfigResponse>;
7674
+ /**
7675
+ * 获取问答结果
7676
+ *
7677
+ * @param request - GetChatQuestionRespRequest
7678
+ * @param headers - map
7679
+ * @param runtime - runtime options for this request RuntimeOptions
7680
+ * @returns GetChatQuestionRespResponse
7681
+ */
7682
+ getChatQuestionRespWithOptions(workspaceId: string, request: GetChatQuestionRespRequest, headers: {
7683
+ [key: string]: string;
7684
+ }, runtime: $Util.RuntimeOptions): Promise<GetChatQuestionRespResponse>;
7685
+ /**
7686
+ * 获取问答结果
7687
+ *
7688
+ * @param request - GetChatQuestionRespRequest
7689
+ * @returns GetChatQuestionRespResponse
7690
+ */
7691
+ getChatQuestionResp(workspaceId: string, request: GetChatQuestionRespRequest): Promise<GetChatQuestionRespResponse>;
7692
+ /**
7693
+ * 获取外呼会话分析结果
7694
+ *
7695
+ * @param request - GetDialogAnalysisResultRequest
7696
+ * @param headers - map
7697
+ * @param runtime - runtime options for this request RuntimeOptions
7698
+ * @returns GetDialogAnalysisResultResponse
7699
+ */
7700
+ getDialogAnalysisResultWithOptions(workspaceId: string, request: GetDialogAnalysisResultRequest, headers: {
7701
+ [key: string]: string;
7702
+ }, runtime: $Util.RuntimeOptions): Promise<GetDialogAnalysisResultResponse>;
7703
+ /**
7704
+ * 获取外呼会话分析结果
7705
+ *
7706
+ * @param request - GetDialogAnalysisResultRequest
7707
+ * @returns GetDialogAnalysisResultResponse
7708
+ */
7709
+ getDialogAnalysisResult(workspaceId: string, request: GetDialogAnalysisResultRequest): Promise<GetDialogAnalysisResultResponse>;
6470
7710
  /**
6471
7711
  * 获取文档的chunk列表
6472
7712
  *
@@ -6737,6 +7977,24 @@ export default class Client extends OpenApi {
6737
7977
  * @returns ReIndexResponse
6738
7978
  */
6739
7979
  reIndex(workspaceId: string, request: ReIndexRequest): Promise<ReIndexResponse>;
7980
+ /**
7981
+ * 实时对话
7982
+ *
7983
+ * @param request - RealTimeDialogRequest
7984
+ * @param headers - map
7985
+ * @param runtime - runtime options for this request RuntimeOptions
7986
+ * @returns RealTimeDialogResponse
7987
+ */
7988
+ realTimeDialogWithOptions(workspaceId: string, request: RealTimeDialogRequest, headers: {
7989
+ [key: string]: string;
7990
+ }, runtime: $Util.RuntimeOptions): Promise<RealTimeDialogResponse>;
7991
+ /**
7992
+ * 实时对话
7993
+ *
7994
+ * @param request - RealTimeDialogRequest
7995
+ * @returns RealTimeDialogResponse
7996
+ */
7997
+ realTimeDialog(workspaceId: string, request: RealTimeDialogRequest): Promise<RealTimeDialogResponse>;
6740
7998
  /**
6741
7999
  * 重建任务
6742
8000
  *
@@ -6827,6 +8085,24 @@ export default class Client extends OpenApi {
6827
8085
  * @returns RunLibraryChatGenerationResponse
6828
8086
  */
6829
8087
  runLibraryChatGeneration(workspaceId: string, request: RunLibraryChatGenerationRequest): Promise<RunLibraryChatGenerationResponse>;
8088
+ /**
8089
+ * 提交问题列表
8090
+ *
8091
+ * @param request - SubmitChatQuestionRequest
8092
+ * @param headers - map
8093
+ * @param runtime - runtime options for this request RuntimeOptions
8094
+ * @returns SubmitChatQuestionResponse
8095
+ */
8096
+ submitChatQuestionWithOptions(workspaceId: string, request: SubmitChatQuestionRequest, headers: {
8097
+ [key: string]: string;
8098
+ }, runtime: $Util.RuntimeOptions): Promise<SubmitChatQuestionResponse>;
8099
+ /**
8100
+ * 提交问题列表
8101
+ *
8102
+ * @param request - SubmitChatQuestionRequest
8103
+ * @returns SubmitChatQuestionResponse
8104
+ */
8105
+ submitChatQuestion(workspaceId: string, request: SubmitChatQuestionRequest): Promise<SubmitChatQuestionResponse>;
6830
8106
  /**
6831
8107
  * 更新文档
6832
8108
  *
@@ -6863,6 +8139,24 @@ export default class Client extends OpenApi {
6863
8139
  * @returns UpdateLibraryResponse
6864
8140
  */
6865
8141
  updateLibrary(workspaceId: string, request: UpdateLibraryRequest): Promise<UpdateLibraryResponse>;
8142
+ /**
8143
+ * 更新QA问答库
8144
+ *
8145
+ * @param request - UpdateQaLibraryRequest
8146
+ * @param headers - map
8147
+ * @param runtime - runtime options for this request RuntimeOptions
8148
+ * @returns UpdateQaLibraryResponse
8149
+ */
8150
+ updateQaLibraryWithOptions(workspaceId: string, request: UpdateQaLibraryRequest, headers: {
8151
+ [key: string]: string;
8152
+ }, runtime: $Util.RuntimeOptions): Promise<UpdateQaLibraryResponse>;
8153
+ /**
8154
+ * 更新QA问答库
8155
+ *
8156
+ * @param request - UpdateQaLibraryRequest
8157
+ * @returns UpdateQaLibraryResponse
8158
+ */
8159
+ updateQaLibrary(workspaceId: string, request: UpdateQaLibraryRequest): Promise<UpdateQaLibraryResponse>;
6866
8160
  /**
6867
8161
  * 上传文档到文档库
6868
8162
  *