@alicloud/bailian20231229 1.7.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +742 -48
- package/dist/client.js +936 -13
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +1239 -35
package/dist/client.d.ts
CHANGED
|
@@ -554,6 +554,108 @@ export declare class CreateIndexResponse extends $tea.Model {
|
|
|
554
554
|
[key: string]: any;
|
|
555
555
|
});
|
|
556
556
|
}
|
|
557
|
+
export declare class CreateMemoryRequest extends $tea.Model {
|
|
558
|
+
description?: string;
|
|
559
|
+
static names(): {
|
|
560
|
+
[key: string]: string;
|
|
561
|
+
};
|
|
562
|
+
static types(): {
|
|
563
|
+
[key: string]: any;
|
|
564
|
+
};
|
|
565
|
+
constructor(map?: {
|
|
566
|
+
[key: string]: any;
|
|
567
|
+
});
|
|
568
|
+
}
|
|
569
|
+
export declare class CreateMemoryResponseBody extends $tea.Model {
|
|
570
|
+
/**
|
|
571
|
+
* @example
|
|
572
|
+
* 6bff4f317a14442fbc9f73d29dbd5fc3
|
|
573
|
+
*/
|
|
574
|
+
memoryId?: string;
|
|
575
|
+
/**
|
|
576
|
+
* @example
|
|
577
|
+
* 6a71f2d9-f1c9-913b-818b-114029103cad
|
|
578
|
+
*/
|
|
579
|
+
requestId?: string;
|
|
580
|
+
static names(): {
|
|
581
|
+
[key: string]: string;
|
|
582
|
+
};
|
|
583
|
+
static types(): {
|
|
584
|
+
[key: string]: any;
|
|
585
|
+
};
|
|
586
|
+
constructor(map?: {
|
|
587
|
+
[key: string]: any;
|
|
588
|
+
});
|
|
589
|
+
}
|
|
590
|
+
export declare class CreateMemoryResponse extends $tea.Model {
|
|
591
|
+
headers?: {
|
|
592
|
+
[key: string]: string;
|
|
593
|
+
};
|
|
594
|
+
statusCode?: number;
|
|
595
|
+
body?: CreateMemoryResponseBody;
|
|
596
|
+
static names(): {
|
|
597
|
+
[key: string]: string;
|
|
598
|
+
};
|
|
599
|
+
static types(): {
|
|
600
|
+
[key: string]: any;
|
|
601
|
+
};
|
|
602
|
+
constructor(map?: {
|
|
603
|
+
[key: string]: any;
|
|
604
|
+
});
|
|
605
|
+
}
|
|
606
|
+
export declare class CreateMemoryNodeRequest extends $tea.Model {
|
|
607
|
+
/**
|
|
608
|
+
* @remarks
|
|
609
|
+
* This parameter is required.
|
|
610
|
+
*/
|
|
611
|
+
content?: string;
|
|
612
|
+
static names(): {
|
|
613
|
+
[key: string]: string;
|
|
614
|
+
};
|
|
615
|
+
static types(): {
|
|
616
|
+
[key: string]: any;
|
|
617
|
+
};
|
|
618
|
+
constructor(map?: {
|
|
619
|
+
[key: string]: any;
|
|
620
|
+
});
|
|
621
|
+
}
|
|
622
|
+
export declare class CreateMemoryNodeResponseBody extends $tea.Model {
|
|
623
|
+
/**
|
|
624
|
+
* @example
|
|
625
|
+
* 68de06c95368463a8be4a84efc872cc5
|
|
626
|
+
*/
|
|
627
|
+
memoryNodeId?: string;
|
|
628
|
+
/**
|
|
629
|
+
* @example
|
|
630
|
+
* 8C56C7AF-6573-19CE-B018-E05E1EDCF4C5
|
|
631
|
+
*/
|
|
632
|
+
requestId?: string;
|
|
633
|
+
static names(): {
|
|
634
|
+
[key: string]: string;
|
|
635
|
+
};
|
|
636
|
+
static types(): {
|
|
637
|
+
[key: string]: any;
|
|
638
|
+
};
|
|
639
|
+
constructor(map?: {
|
|
640
|
+
[key: string]: any;
|
|
641
|
+
});
|
|
642
|
+
}
|
|
643
|
+
export declare class CreateMemoryNodeResponse extends $tea.Model {
|
|
644
|
+
headers?: {
|
|
645
|
+
[key: string]: string;
|
|
646
|
+
};
|
|
647
|
+
statusCode?: number;
|
|
648
|
+
body?: CreateMemoryNodeResponseBody;
|
|
649
|
+
static names(): {
|
|
650
|
+
[key: string]: string;
|
|
651
|
+
};
|
|
652
|
+
static types(): {
|
|
653
|
+
[key: string]: any;
|
|
654
|
+
};
|
|
655
|
+
constructor(map?: {
|
|
656
|
+
[key: string]: any;
|
|
657
|
+
});
|
|
658
|
+
}
|
|
557
659
|
export declare class DeleteAgentResponseBody extends $tea.Model {
|
|
558
660
|
code?: string;
|
|
559
661
|
data?: string;
|
|
@@ -881,6 +983,70 @@ export declare class DeleteIndexDocumentResponse extends $tea.Model {
|
|
|
881
983
|
[key: string]: any;
|
|
882
984
|
});
|
|
883
985
|
}
|
|
986
|
+
export declare class DeleteMemoryResponseBody extends $tea.Model {
|
|
987
|
+
/**
|
|
988
|
+
* @example
|
|
989
|
+
* 6a71f2d9-f1c9-913b-818b-114029103cad
|
|
990
|
+
*/
|
|
991
|
+
requestId?: string;
|
|
992
|
+
static names(): {
|
|
993
|
+
[key: string]: string;
|
|
994
|
+
};
|
|
995
|
+
static types(): {
|
|
996
|
+
[key: string]: any;
|
|
997
|
+
};
|
|
998
|
+
constructor(map?: {
|
|
999
|
+
[key: string]: any;
|
|
1000
|
+
});
|
|
1001
|
+
}
|
|
1002
|
+
export declare class DeleteMemoryResponse extends $tea.Model {
|
|
1003
|
+
headers?: {
|
|
1004
|
+
[key: string]: string;
|
|
1005
|
+
};
|
|
1006
|
+
statusCode?: number;
|
|
1007
|
+
body?: DeleteMemoryResponseBody;
|
|
1008
|
+
static names(): {
|
|
1009
|
+
[key: string]: string;
|
|
1010
|
+
};
|
|
1011
|
+
static types(): {
|
|
1012
|
+
[key: string]: any;
|
|
1013
|
+
};
|
|
1014
|
+
constructor(map?: {
|
|
1015
|
+
[key: string]: any;
|
|
1016
|
+
});
|
|
1017
|
+
}
|
|
1018
|
+
export declare class DeleteMemoryNodeResponseBody extends $tea.Model {
|
|
1019
|
+
/**
|
|
1020
|
+
* @example
|
|
1021
|
+
* 8C56C7AF-6573-19CE-B018-E05E1EDCF4C5
|
|
1022
|
+
*/
|
|
1023
|
+
requestId?: string;
|
|
1024
|
+
static names(): {
|
|
1025
|
+
[key: string]: string;
|
|
1026
|
+
};
|
|
1027
|
+
static types(): {
|
|
1028
|
+
[key: string]: any;
|
|
1029
|
+
};
|
|
1030
|
+
constructor(map?: {
|
|
1031
|
+
[key: string]: any;
|
|
1032
|
+
});
|
|
1033
|
+
}
|
|
1034
|
+
export declare class DeleteMemoryNodeResponse extends $tea.Model {
|
|
1035
|
+
headers?: {
|
|
1036
|
+
[key: string]: string;
|
|
1037
|
+
};
|
|
1038
|
+
statusCode?: number;
|
|
1039
|
+
body?: DeleteMemoryNodeResponseBody;
|
|
1040
|
+
static names(): {
|
|
1041
|
+
[key: string]: string;
|
|
1042
|
+
};
|
|
1043
|
+
static types(): {
|
|
1044
|
+
[key: string]: any;
|
|
1045
|
+
};
|
|
1046
|
+
constructor(map?: {
|
|
1047
|
+
[key: string]: any;
|
|
1048
|
+
});
|
|
1049
|
+
}
|
|
884
1050
|
export declare class DescribeFileResponseBody extends $tea.Model {
|
|
885
1051
|
/**
|
|
886
1052
|
* @example
|
|
@@ -1014,6 +1180,97 @@ export declare class GetIndexJobStatusResponse extends $tea.Model {
|
|
|
1014
1180
|
[key: string]: any;
|
|
1015
1181
|
});
|
|
1016
1182
|
}
|
|
1183
|
+
export declare class GetMemoryResponseBody extends $tea.Model {
|
|
1184
|
+
description?: string;
|
|
1185
|
+
/**
|
|
1186
|
+
* @example
|
|
1187
|
+
* 6bff4f317a14442fbc9f73d29dbd5fc3
|
|
1188
|
+
*/
|
|
1189
|
+
memoryId?: string;
|
|
1190
|
+
/**
|
|
1191
|
+
* @example
|
|
1192
|
+
* 6a71f2d9-f1c9-913b-818b-114029103cad
|
|
1193
|
+
*/
|
|
1194
|
+
requestId?: string;
|
|
1195
|
+
/**
|
|
1196
|
+
* @example
|
|
1197
|
+
* llm-us9hjmt32nysdm5v
|
|
1198
|
+
*/
|
|
1199
|
+
workspaceId?: string;
|
|
1200
|
+
static names(): {
|
|
1201
|
+
[key: string]: string;
|
|
1202
|
+
};
|
|
1203
|
+
static types(): {
|
|
1204
|
+
[key: string]: any;
|
|
1205
|
+
};
|
|
1206
|
+
constructor(map?: {
|
|
1207
|
+
[key: string]: any;
|
|
1208
|
+
});
|
|
1209
|
+
}
|
|
1210
|
+
export declare class GetMemoryResponse extends $tea.Model {
|
|
1211
|
+
headers?: {
|
|
1212
|
+
[key: string]: string;
|
|
1213
|
+
};
|
|
1214
|
+
statusCode?: number;
|
|
1215
|
+
body?: GetMemoryResponseBody;
|
|
1216
|
+
static names(): {
|
|
1217
|
+
[key: string]: string;
|
|
1218
|
+
};
|
|
1219
|
+
static types(): {
|
|
1220
|
+
[key: string]: any;
|
|
1221
|
+
};
|
|
1222
|
+
constructor(map?: {
|
|
1223
|
+
[key: string]: any;
|
|
1224
|
+
});
|
|
1225
|
+
}
|
|
1226
|
+
export declare class GetMemoryNodeResponseBody extends $tea.Model {
|
|
1227
|
+
content?: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* @example
|
|
1230
|
+
* 6bff4f317a14442fbc9f73d29dbd5fc3
|
|
1231
|
+
*/
|
|
1232
|
+
memoryId?: string;
|
|
1233
|
+
/**
|
|
1234
|
+
* @example
|
|
1235
|
+
* 68de06c95368463a8be4a84efc872cc5
|
|
1236
|
+
*/
|
|
1237
|
+
memoryNodeId?: string;
|
|
1238
|
+
/**
|
|
1239
|
+
* @example
|
|
1240
|
+
* 8C56C7AF-6573-19CE-B018-E05E1EDCF4C5
|
|
1241
|
+
*/
|
|
1242
|
+
requestId?: string;
|
|
1243
|
+
/**
|
|
1244
|
+
* @example
|
|
1245
|
+
* llm-us9hjmt32nysdm5v
|
|
1246
|
+
*/
|
|
1247
|
+
workspaceId?: 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 GetMemoryNodeResponse extends $tea.Model {
|
|
1259
|
+
headers?: {
|
|
1260
|
+
[key: string]: string;
|
|
1261
|
+
};
|
|
1262
|
+
statusCode?: number;
|
|
1263
|
+
body?: GetMemoryNodeResponseBody;
|
|
1264
|
+
static names(): {
|
|
1265
|
+
[key: string]: string;
|
|
1266
|
+
};
|
|
1267
|
+
static types(): {
|
|
1268
|
+
[key: string]: any;
|
|
1269
|
+
};
|
|
1270
|
+
constructor(map?: {
|
|
1271
|
+
[key: string]: any;
|
|
1272
|
+
});
|
|
1273
|
+
}
|
|
1017
1274
|
export declare class GetPublishedAgentResponseBody extends $tea.Model {
|
|
1018
1275
|
code?: string;
|
|
1019
1276
|
data?: GetPublishedAgentResponseBodyData;
|
|
@@ -1332,12 +1589,171 @@ export declare class ListIndexDocumentsRequest extends $tea.Model {
|
|
|
1332
1589
|
* @example
|
|
1333
1590
|
* 1
|
|
1334
1591
|
*/
|
|
1335
|
-
pageNumber?: number;
|
|
1592
|
+
pageNumber?: number;
|
|
1593
|
+
/**
|
|
1594
|
+
* @example
|
|
1595
|
+
* 10
|
|
1596
|
+
*/
|
|
1597
|
+
pageSize?: number;
|
|
1598
|
+
static names(): {
|
|
1599
|
+
[key: string]: string;
|
|
1600
|
+
};
|
|
1601
|
+
static types(): {
|
|
1602
|
+
[key: string]: any;
|
|
1603
|
+
};
|
|
1604
|
+
constructor(map?: {
|
|
1605
|
+
[key: string]: any;
|
|
1606
|
+
});
|
|
1607
|
+
}
|
|
1608
|
+
export declare class ListIndexDocumentsResponseBody extends $tea.Model {
|
|
1609
|
+
/**
|
|
1610
|
+
* @example
|
|
1611
|
+
* InvalidParameter
|
|
1612
|
+
*/
|
|
1613
|
+
code?: string;
|
|
1614
|
+
data?: ListIndexDocumentsResponseBodyData;
|
|
1615
|
+
/**
|
|
1616
|
+
* @example
|
|
1617
|
+
* Required parameter(%s) missing or invalid, please check the request parameters.
|
|
1618
|
+
*/
|
|
1619
|
+
message?: string;
|
|
1620
|
+
/**
|
|
1621
|
+
* @remarks
|
|
1622
|
+
* Id of the request
|
|
1623
|
+
*
|
|
1624
|
+
* @example
|
|
1625
|
+
* 35A267BF-xxxx-54DB-8394-AA3B0742D833
|
|
1626
|
+
*/
|
|
1627
|
+
requestId?: string;
|
|
1628
|
+
/**
|
|
1629
|
+
* @example
|
|
1630
|
+
* 200
|
|
1631
|
+
*/
|
|
1632
|
+
status?: string;
|
|
1633
|
+
/**
|
|
1634
|
+
* @example
|
|
1635
|
+
* true
|
|
1636
|
+
*/
|
|
1637
|
+
success?: boolean;
|
|
1638
|
+
static names(): {
|
|
1639
|
+
[key: string]: string;
|
|
1640
|
+
};
|
|
1641
|
+
static types(): {
|
|
1642
|
+
[key: string]: any;
|
|
1643
|
+
};
|
|
1644
|
+
constructor(map?: {
|
|
1645
|
+
[key: string]: any;
|
|
1646
|
+
});
|
|
1647
|
+
}
|
|
1648
|
+
export declare class ListIndexDocumentsResponse extends $tea.Model {
|
|
1649
|
+
headers?: {
|
|
1650
|
+
[key: string]: string;
|
|
1651
|
+
};
|
|
1652
|
+
statusCode?: number;
|
|
1653
|
+
body?: ListIndexDocumentsResponseBody;
|
|
1654
|
+
static names(): {
|
|
1655
|
+
[key: string]: string;
|
|
1656
|
+
};
|
|
1657
|
+
static types(): {
|
|
1658
|
+
[key: string]: any;
|
|
1659
|
+
};
|
|
1660
|
+
constructor(map?: {
|
|
1661
|
+
[key: string]: any;
|
|
1662
|
+
});
|
|
1663
|
+
}
|
|
1664
|
+
export declare class ListIndicesRequest extends $tea.Model {
|
|
1665
|
+
/**
|
|
1666
|
+
* @example
|
|
1667
|
+
* idx_status_score
|
|
1668
|
+
*/
|
|
1669
|
+
indexName?: string;
|
|
1670
|
+
/**
|
|
1671
|
+
* @example
|
|
1672
|
+
* 1
|
|
1673
|
+
*/
|
|
1674
|
+
pageNumber?: string;
|
|
1675
|
+
/**
|
|
1676
|
+
* @example
|
|
1677
|
+
* 10
|
|
1678
|
+
*/
|
|
1679
|
+
pageSize?: string;
|
|
1680
|
+
static names(): {
|
|
1681
|
+
[key: string]: string;
|
|
1682
|
+
};
|
|
1683
|
+
static types(): {
|
|
1684
|
+
[key: string]: any;
|
|
1685
|
+
};
|
|
1686
|
+
constructor(map?: {
|
|
1687
|
+
[key: string]: any;
|
|
1688
|
+
});
|
|
1689
|
+
}
|
|
1690
|
+
export declare class ListIndicesResponseBody extends $tea.Model {
|
|
1691
|
+
/**
|
|
1692
|
+
* @example
|
|
1693
|
+
* Index.InvalidParameter
|
|
1694
|
+
*/
|
|
1695
|
+
code?: string;
|
|
1696
|
+
data?: ListIndicesResponseBodyData;
|
|
1697
|
+
/**
|
|
1698
|
+
* @example
|
|
1699
|
+
* Required parameter(%s) missing or invalid, please check the request parameters.
|
|
1700
|
+
*/
|
|
1701
|
+
message?: string;
|
|
1702
|
+
/**
|
|
1703
|
+
* @remarks
|
|
1704
|
+
* Id of the request
|
|
1705
|
+
*
|
|
1706
|
+
* @example
|
|
1707
|
+
* 17204B98-xxxx-4F9A-8464-2446A84821CA
|
|
1708
|
+
*/
|
|
1709
|
+
requestId?: string;
|
|
1710
|
+
/**
|
|
1711
|
+
* @example
|
|
1712
|
+
* 200
|
|
1713
|
+
*/
|
|
1714
|
+
status?: string;
|
|
1715
|
+
/**
|
|
1716
|
+
* @example
|
|
1717
|
+
* true
|
|
1718
|
+
*/
|
|
1719
|
+
success?: boolean;
|
|
1720
|
+
static names(): {
|
|
1721
|
+
[key: string]: string;
|
|
1722
|
+
};
|
|
1723
|
+
static types(): {
|
|
1724
|
+
[key: string]: any;
|
|
1725
|
+
};
|
|
1726
|
+
constructor(map?: {
|
|
1727
|
+
[key: string]: any;
|
|
1728
|
+
});
|
|
1729
|
+
}
|
|
1730
|
+
export declare class ListIndicesResponse extends $tea.Model {
|
|
1731
|
+
headers?: {
|
|
1732
|
+
[key: string]: string;
|
|
1733
|
+
};
|
|
1734
|
+
statusCode?: number;
|
|
1735
|
+
body?: ListIndicesResponseBody;
|
|
1736
|
+
static names(): {
|
|
1737
|
+
[key: string]: string;
|
|
1738
|
+
};
|
|
1739
|
+
static types(): {
|
|
1740
|
+
[key: string]: any;
|
|
1741
|
+
};
|
|
1742
|
+
constructor(map?: {
|
|
1743
|
+
[key: string]: any;
|
|
1744
|
+
});
|
|
1745
|
+
}
|
|
1746
|
+
export declare class ListMemoriesRequest extends $tea.Model {
|
|
1747
|
+
/**
|
|
1748
|
+
* @example
|
|
1749
|
+
* 10
|
|
1750
|
+
*/
|
|
1751
|
+
maxResults?: number;
|
|
1336
1752
|
/**
|
|
1337
1753
|
* @example
|
|
1338
|
-
*
|
|
1754
|
+
* dc270401186b433f975d7e1faaa34e0e
|
|
1339
1755
|
*/
|
|
1340
|
-
|
|
1756
|
+
nextToken?: string;
|
|
1341
1757
|
static names(): {
|
|
1342
1758
|
[key: string]: string;
|
|
1343
1759
|
};
|
|
@@ -1348,36 +1764,33 @@ export declare class ListIndexDocumentsRequest extends $tea.Model {
|
|
|
1348
1764
|
[key: string]: any;
|
|
1349
1765
|
});
|
|
1350
1766
|
}
|
|
1351
|
-
export declare class
|
|
1767
|
+
export declare class ListMemoriesResponseBody extends $tea.Model {
|
|
1352
1768
|
/**
|
|
1353
1769
|
* @example
|
|
1354
|
-
*
|
|
1770
|
+
* 10
|
|
1355
1771
|
*/
|
|
1356
|
-
|
|
1357
|
-
|
|
1772
|
+
maxResults?: number;
|
|
1773
|
+
memories?: ListMemoriesResponseBodyMemories[];
|
|
1358
1774
|
/**
|
|
1359
1775
|
* @example
|
|
1360
|
-
*
|
|
1776
|
+
* dc270401186b433f975d7e1faaa34e0e
|
|
1361
1777
|
*/
|
|
1362
|
-
|
|
1778
|
+
nextToken?: string;
|
|
1363
1779
|
/**
|
|
1364
|
-
* @remarks
|
|
1365
|
-
* Id of the request
|
|
1366
|
-
*
|
|
1367
1780
|
* @example
|
|
1368
|
-
*
|
|
1781
|
+
* 6a71f2d9-f1c9-913b-818b-114029103cad
|
|
1369
1782
|
*/
|
|
1370
1783
|
requestId?: string;
|
|
1371
1784
|
/**
|
|
1372
1785
|
* @example
|
|
1373
|
-
*
|
|
1786
|
+
* 105
|
|
1374
1787
|
*/
|
|
1375
|
-
|
|
1788
|
+
totalCount?: number;
|
|
1376
1789
|
/**
|
|
1377
1790
|
* @example
|
|
1378
|
-
*
|
|
1791
|
+
* llm-us9hjmt32nysdm5v
|
|
1379
1792
|
*/
|
|
1380
|
-
|
|
1793
|
+
workspaceId?: string;
|
|
1381
1794
|
static names(): {
|
|
1382
1795
|
[key: string]: string;
|
|
1383
1796
|
};
|
|
@@ -1388,12 +1801,12 @@ export declare class ListIndexDocumentsResponseBody extends $tea.Model {
|
|
|
1388
1801
|
[key: string]: any;
|
|
1389
1802
|
});
|
|
1390
1803
|
}
|
|
1391
|
-
export declare class
|
|
1804
|
+
export declare class ListMemoriesResponse extends $tea.Model {
|
|
1392
1805
|
headers?: {
|
|
1393
1806
|
[key: string]: string;
|
|
1394
1807
|
};
|
|
1395
1808
|
statusCode?: number;
|
|
1396
|
-
body?:
|
|
1809
|
+
body?: ListMemoriesResponseBody;
|
|
1397
1810
|
static names(): {
|
|
1398
1811
|
[key: string]: string;
|
|
1399
1812
|
};
|
|
@@ -1404,22 +1817,17 @@ export declare class ListIndexDocumentsResponse extends $tea.Model {
|
|
|
1404
1817
|
[key: string]: any;
|
|
1405
1818
|
});
|
|
1406
1819
|
}
|
|
1407
|
-
export declare class
|
|
1408
|
-
/**
|
|
1409
|
-
* @example
|
|
1410
|
-
* idx_status_score
|
|
1411
|
-
*/
|
|
1412
|
-
indexName?: string;
|
|
1820
|
+
export declare class ListMemoryNodesRequest extends $tea.Model {
|
|
1413
1821
|
/**
|
|
1414
1822
|
* @example
|
|
1415
|
-
*
|
|
1823
|
+
* 20
|
|
1416
1824
|
*/
|
|
1417
|
-
|
|
1825
|
+
maxResults?: number;
|
|
1418
1826
|
/**
|
|
1419
1827
|
* @example
|
|
1420
|
-
*
|
|
1828
|
+
* dc270401186b433f975d7e1faaa34e0e
|
|
1421
1829
|
*/
|
|
1422
|
-
|
|
1830
|
+
nextToken?: string;
|
|
1423
1831
|
static names(): {
|
|
1424
1832
|
[key: string]: string;
|
|
1425
1833
|
};
|
|
@@ -1430,36 +1838,28 @@ export declare class ListIndicesRequest extends $tea.Model {
|
|
|
1430
1838
|
[key: string]: any;
|
|
1431
1839
|
});
|
|
1432
1840
|
}
|
|
1433
|
-
export declare class
|
|
1841
|
+
export declare class ListMemoryNodesResponseBody extends $tea.Model {
|
|
1434
1842
|
/**
|
|
1435
1843
|
* @example
|
|
1436
|
-
*
|
|
1844
|
+
* 20
|
|
1437
1845
|
*/
|
|
1438
|
-
|
|
1439
|
-
|
|
1846
|
+
maxResults?: number;
|
|
1847
|
+
memoryNodes?: ListMemoryNodesResponseBodyMemoryNodes[];
|
|
1440
1848
|
/**
|
|
1441
1849
|
* @example
|
|
1442
|
-
*
|
|
1850
|
+
* dc270401186b433f975d7e1faaa34e0e
|
|
1443
1851
|
*/
|
|
1444
|
-
|
|
1852
|
+
nextToken?: string;
|
|
1445
1853
|
/**
|
|
1446
|
-
* @remarks
|
|
1447
|
-
* Id of the request
|
|
1448
|
-
*
|
|
1449
1854
|
* @example
|
|
1450
|
-
*
|
|
1855
|
+
* 6a71f2d9-f1c9-913b-818b-114029103cad
|
|
1451
1856
|
*/
|
|
1452
1857
|
requestId?: string;
|
|
1453
1858
|
/**
|
|
1454
1859
|
* @example
|
|
1455
|
-
*
|
|
1456
|
-
*/
|
|
1457
|
-
status?: string;
|
|
1458
|
-
/**
|
|
1459
|
-
* @example
|
|
1460
|
-
* true
|
|
1860
|
+
* 100
|
|
1461
1861
|
*/
|
|
1462
|
-
|
|
1862
|
+
totalCount?: number;
|
|
1463
1863
|
static names(): {
|
|
1464
1864
|
[key: string]: string;
|
|
1465
1865
|
};
|
|
@@ -1470,12 +1870,12 @@ export declare class ListIndicesResponseBody extends $tea.Model {
|
|
|
1470
1870
|
[key: string]: any;
|
|
1471
1871
|
});
|
|
1472
1872
|
}
|
|
1473
|
-
export declare class
|
|
1873
|
+
export declare class ListMemoryNodesResponse extends $tea.Model {
|
|
1474
1874
|
headers?: {
|
|
1475
1875
|
[key: string]: string;
|
|
1476
1876
|
};
|
|
1477
1877
|
statusCode?: number;
|
|
1478
|
-
body?:
|
|
1878
|
+
body?: ListMemoryNodesResponseBody;
|
|
1479
1879
|
static names(): {
|
|
1480
1880
|
[key: string]: string;
|
|
1481
1881
|
};
|
|
@@ -1958,6 +2358,98 @@ export declare class UpdateAndPublishAgentResponse extends $tea.Model {
|
|
|
1958
2358
|
[key: string]: any;
|
|
1959
2359
|
});
|
|
1960
2360
|
}
|
|
2361
|
+
export declare class UpdateMemoryRequest extends $tea.Model {
|
|
2362
|
+
description?: string;
|
|
2363
|
+
static names(): {
|
|
2364
|
+
[key: string]: string;
|
|
2365
|
+
};
|
|
2366
|
+
static types(): {
|
|
2367
|
+
[key: string]: any;
|
|
2368
|
+
};
|
|
2369
|
+
constructor(map?: {
|
|
2370
|
+
[key: string]: any;
|
|
2371
|
+
});
|
|
2372
|
+
}
|
|
2373
|
+
export declare class UpdateMemoryResponseBody extends $tea.Model {
|
|
2374
|
+
/**
|
|
2375
|
+
* @example
|
|
2376
|
+
* 6a71f2d9-f1c9-913b-818b-114029103cad
|
|
2377
|
+
*/
|
|
2378
|
+
requestId?: string;
|
|
2379
|
+
static names(): {
|
|
2380
|
+
[key: string]: string;
|
|
2381
|
+
};
|
|
2382
|
+
static types(): {
|
|
2383
|
+
[key: string]: any;
|
|
2384
|
+
};
|
|
2385
|
+
constructor(map?: {
|
|
2386
|
+
[key: string]: any;
|
|
2387
|
+
});
|
|
2388
|
+
}
|
|
2389
|
+
export declare class UpdateMemoryResponse extends $tea.Model {
|
|
2390
|
+
headers?: {
|
|
2391
|
+
[key: string]: string;
|
|
2392
|
+
};
|
|
2393
|
+
statusCode?: number;
|
|
2394
|
+
body?: UpdateMemoryResponseBody;
|
|
2395
|
+
static names(): {
|
|
2396
|
+
[key: string]: string;
|
|
2397
|
+
};
|
|
2398
|
+
static types(): {
|
|
2399
|
+
[key: string]: any;
|
|
2400
|
+
};
|
|
2401
|
+
constructor(map?: {
|
|
2402
|
+
[key: string]: any;
|
|
2403
|
+
});
|
|
2404
|
+
}
|
|
2405
|
+
export declare class UpdateMemoryNodeRequest extends $tea.Model {
|
|
2406
|
+
/**
|
|
2407
|
+
* @remarks
|
|
2408
|
+
* This parameter is required.
|
|
2409
|
+
*/
|
|
2410
|
+
content?: string;
|
|
2411
|
+
static names(): {
|
|
2412
|
+
[key: string]: string;
|
|
2413
|
+
};
|
|
2414
|
+
static types(): {
|
|
2415
|
+
[key: string]: any;
|
|
2416
|
+
};
|
|
2417
|
+
constructor(map?: {
|
|
2418
|
+
[key: string]: any;
|
|
2419
|
+
});
|
|
2420
|
+
}
|
|
2421
|
+
export declare class UpdateMemoryNodeResponseBody extends $tea.Model {
|
|
2422
|
+
/**
|
|
2423
|
+
* @example
|
|
2424
|
+
* 8C56C7AF-6573-19CE-B018-E05E1EDCF4C5
|
|
2425
|
+
*/
|
|
2426
|
+
requestId?: string;
|
|
2427
|
+
static names(): {
|
|
2428
|
+
[key: string]: string;
|
|
2429
|
+
};
|
|
2430
|
+
static types(): {
|
|
2431
|
+
[key: string]: any;
|
|
2432
|
+
};
|
|
2433
|
+
constructor(map?: {
|
|
2434
|
+
[key: string]: any;
|
|
2435
|
+
});
|
|
2436
|
+
}
|
|
2437
|
+
export declare class UpdateMemoryNodeResponse extends $tea.Model {
|
|
2438
|
+
headers?: {
|
|
2439
|
+
[key: string]: string;
|
|
2440
|
+
};
|
|
2441
|
+
statusCode?: number;
|
|
2442
|
+
body?: UpdateMemoryNodeResponseBody;
|
|
2443
|
+
static names(): {
|
|
2444
|
+
[key: string]: string;
|
|
2445
|
+
};
|
|
2446
|
+
static types(): {
|
|
2447
|
+
[key: string]: any;
|
|
2448
|
+
};
|
|
2449
|
+
constructor(map?: {
|
|
2450
|
+
[key: string]: any;
|
|
2451
|
+
});
|
|
2452
|
+
}
|
|
1961
2453
|
export declare class AddCategoryResponseBodyData extends $tea.Model {
|
|
1962
2454
|
/**
|
|
1963
2455
|
* @example
|
|
@@ -2834,6 +3326,40 @@ export declare class ListIndicesResponseBodyData extends $tea.Model {
|
|
|
2834
3326
|
[key: string]: any;
|
|
2835
3327
|
});
|
|
2836
3328
|
}
|
|
3329
|
+
export declare class ListMemoriesResponseBodyMemories extends $tea.Model {
|
|
3330
|
+
description?: string;
|
|
3331
|
+
/**
|
|
3332
|
+
* @example
|
|
3333
|
+
* 3fc531f4519444beaafffa4538f60667
|
|
3334
|
+
*/
|
|
3335
|
+
memoryId?: 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 ListMemoryNodesResponseBodyMemoryNodes extends $tea.Model {
|
|
3347
|
+
content?: string;
|
|
3348
|
+
/**
|
|
3349
|
+
* @example
|
|
3350
|
+
* 68de06c95368463a8be4a84efc872cc5
|
|
3351
|
+
*/
|
|
3352
|
+
memoryNodeId?: string;
|
|
3353
|
+
static names(): {
|
|
3354
|
+
[key: string]: string;
|
|
3355
|
+
};
|
|
3356
|
+
static types(): {
|
|
3357
|
+
[key: string]: any;
|
|
3358
|
+
};
|
|
3359
|
+
constructor(map?: {
|
|
3360
|
+
[key: string]: any;
|
|
3361
|
+
});
|
|
3362
|
+
}
|
|
2837
3363
|
export declare class ListPublishedAgentResponseBodyDataListApplicationConfigHistoryConfig extends $tea.Model {
|
|
2838
3364
|
enableAdbRecord?: boolean;
|
|
2839
3365
|
enableRecord?: boolean;
|
|
@@ -3273,6 +3799,42 @@ export default class Client extends OpenApi {
|
|
|
3273
3799
|
* @returns CreateIndexResponse
|
|
3274
3800
|
*/
|
|
3275
3801
|
createIndex(WorkspaceId: string, request: CreateIndexRequest): Promise<CreateIndexResponse>;
|
|
3802
|
+
/**
|
|
3803
|
+
* 创建Memory
|
|
3804
|
+
*
|
|
3805
|
+
* @param request - CreateMemoryRequest
|
|
3806
|
+
* @param headers - map
|
|
3807
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3808
|
+
* @returns CreateMemoryResponse
|
|
3809
|
+
*/
|
|
3810
|
+
createMemoryWithOptions(workspaceId: string, request: CreateMemoryRequest, headers: {
|
|
3811
|
+
[key: string]: string;
|
|
3812
|
+
}, runtime: $Util.RuntimeOptions): Promise<CreateMemoryResponse>;
|
|
3813
|
+
/**
|
|
3814
|
+
* 创建Memory
|
|
3815
|
+
*
|
|
3816
|
+
* @param request - CreateMemoryRequest
|
|
3817
|
+
* @returns CreateMemoryResponse
|
|
3818
|
+
*/
|
|
3819
|
+
createMemory(workspaceId: string, request: CreateMemoryRequest): Promise<CreateMemoryResponse>;
|
|
3820
|
+
/**
|
|
3821
|
+
* 创建记忆Node
|
|
3822
|
+
*
|
|
3823
|
+
* @param request - CreateMemoryNodeRequest
|
|
3824
|
+
* @param headers - map
|
|
3825
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3826
|
+
* @returns CreateMemoryNodeResponse
|
|
3827
|
+
*/
|
|
3828
|
+
createMemoryNodeWithOptions(workspaceId: string, memoryId: string, request: CreateMemoryNodeRequest, headers: {
|
|
3829
|
+
[key: string]: string;
|
|
3830
|
+
}, runtime: $Util.RuntimeOptions): Promise<CreateMemoryNodeResponse>;
|
|
3831
|
+
/**
|
|
3832
|
+
* 创建记忆Node
|
|
3833
|
+
*
|
|
3834
|
+
* @param request - CreateMemoryNodeRequest
|
|
3835
|
+
* @returns CreateMemoryNodeResponse
|
|
3836
|
+
*/
|
|
3837
|
+
createMemoryNode(workspaceId: string, memoryId: string, request: CreateMemoryNodeRequest): Promise<CreateMemoryNodeResponse>;
|
|
3276
3838
|
/**
|
|
3277
3839
|
* 删除智能体
|
|
3278
3840
|
*
|
|
@@ -3351,6 +3913,36 @@ export default class Client extends OpenApi {
|
|
|
3351
3913
|
* @returns DeleteIndexDocumentResponse
|
|
3352
3914
|
*/
|
|
3353
3915
|
deleteIndexDocument(WorkspaceId: string, request: DeleteIndexDocumentRequest): Promise<DeleteIndexDocumentResponse>;
|
|
3916
|
+
/**
|
|
3917
|
+
* 删除memory
|
|
3918
|
+
*
|
|
3919
|
+
* @param headers - map
|
|
3920
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3921
|
+
* @returns DeleteMemoryResponse
|
|
3922
|
+
*/
|
|
3923
|
+
deleteMemoryWithOptions(workspaceId: string, memoryId: string, headers: {
|
|
3924
|
+
[key: string]: string;
|
|
3925
|
+
}, runtime: $Util.RuntimeOptions): Promise<DeleteMemoryResponse>;
|
|
3926
|
+
/**
|
|
3927
|
+
* 删除memory
|
|
3928
|
+
* @returns DeleteMemoryResponse
|
|
3929
|
+
*/
|
|
3930
|
+
deleteMemory(workspaceId: string, memoryId: string): Promise<DeleteMemoryResponse>;
|
|
3931
|
+
/**
|
|
3932
|
+
* 删除记忆Node
|
|
3933
|
+
*
|
|
3934
|
+
* @param headers - map
|
|
3935
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3936
|
+
* @returns DeleteMemoryNodeResponse
|
|
3937
|
+
*/
|
|
3938
|
+
deleteMemoryNodeWithOptions(workspaceId: string, memoryId: string, memoryNodeId: string, headers: {
|
|
3939
|
+
[key: string]: string;
|
|
3940
|
+
}, runtime: $Util.RuntimeOptions): Promise<DeleteMemoryNodeResponse>;
|
|
3941
|
+
/**
|
|
3942
|
+
* 删除记忆Node
|
|
3943
|
+
* @returns DeleteMemoryNodeResponse
|
|
3944
|
+
*/
|
|
3945
|
+
deleteMemoryNode(workspaceId: string, memoryId: string, memoryNodeId: string): Promise<DeleteMemoryNodeResponse>;
|
|
3354
3946
|
/**
|
|
3355
3947
|
* 获取文档基本信息,包括文档名称、类型、状态等。
|
|
3356
3948
|
*
|
|
@@ -3384,6 +3976,36 @@ export default class Client extends OpenApi {
|
|
|
3384
3976
|
* @returns GetIndexJobStatusResponse
|
|
3385
3977
|
*/
|
|
3386
3978
|
getIndexJobStatus(WorkspaceId: string, request: GetIndexJobStatusRequest): Promise<GetIndexJobStatusResponse>;
|
|
3979
|
+
/**
|
|
3980
|
+
* 获取memory
|
|
3981
|
+
*
|
|
3982
|
+
* @param headers - map
|
|
3983
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3984
|
+
* @returns GetMemoryResponse
|
|
3985
|
+
*/
|
|
3986
|
+
getMemoryWithOptions(workspaceId: string, memoryId: string, headers: {
|
|
3987
|
+
[key: string]: string;
|
|
3988
|
+
}, runtime: $Util.RuntimeOptions): Promise<GetMemoryResponse>;
|
|
3989
|
+
/**
|
|
3990
|
+
* 获取memory
|
|
3991
|
+
* @returns GetMemoryResponse
|
|
3992
|
+
*/
|
|
3993
|
+
getMemory(workspaceId: string, memoryId: string): Promise<GetMemoryResponse>;
|
|
3994
|
+
/**
|
|
3995
|
+
* 获取记忆Node
|
|
3996
|
+
*
|
|
3997
|
+
* @param headers - map
|
|
3998
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3999
|
+
* @returns GetMemoryNodeResponse
|
|
4000
|
+
*/
|
|
4001
|
+
getMemoryNodeWithOptions(workspaceId: string, memoryId: string, memoryNodeId: string, headers: {
|
|
4002
|
+
[key: string]: string;
|
|
4003
|
+
}, runtime: $Util.RuntimeOptions): Promise<GetMemoryNodeResponse>;
|
|
4004
|
+
/**
|
|
4005
|
+
* 获取记忆Node
|
|
4006
|
+
* @returns GetMemoryNodeResponse
|
|
4007
|
+
*/
|
|
4008
|
+
getMemoryNode(workspaceId: string, memoryId: string, memoryNodeId: string): Promise<GetMemoryNodeResponse>;
|
|
3387
4009
|
/**
|
|
3388
4010
|
* 获取发布态智能体应用
|
|
3389
4011
|
*
|
|
@@ -3489,6 +4111,42 @@ export default class Client extends OpenApi {
|
|
|
3489
4111
|
* @returns ListIndicesResponse
|
|
3490
4112
|
*/
|
|
3491
4113
|
listIndices(WorkspaceId: string, request: ListIndicesRequest): Promise<ListIndicesResponse>;
|
|
4114
|
+
/**
|
|
4115
|
+
* 获取memory
|
|
4116
|
+
*
|
|
4117
|
+
* @param request - ListMemoriesRequest
|
|
4118
|
+
* @param headers - map
|
|
4119
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4120
|
+
* @returns ListMemoriesResponse
|
|
4121
|
+
*/
|
|
4122
|
+
listMemoriesWithOptions(workspaceId: string, request: ListMemoriesRequest, headers: {
|
|
4123
|
+
[key: string]: string;
|
|
4124
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListMemoriesResponse>;
|
|
4125
|
+
/**
|
|
4126
|
+
* 获取memory
|
|
4127
|
+
*
|
|
4128
|
+
* @param request - ListMemoriesRequest
|
|
4129
|
+
* @returns ListMemoriesResponse
|
|
4130
|
+
*/
|
|
4131
|
+
listMemories(workspaceId: string, request: ListMemoriesRequest): Promise<ListMemoriesResponse>;
|
|
4132
|
+
/**
|
|
4133
|
+
* 获取记忆Node列表
|
|
4134
|
+
*
|
|
4135
|
+
* @param request - ListMemoryNodesRequest
|
|
4136
|
+
* @param headers - map
|
|
4137
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4138
|
+
* @returns ListMemoryNodesResponse
|
|
4139
|
+
*/
|
|
4140
|
+
listMemoryNodesWithOptions(workspaceId: string, memoryId: string, request: ListMemoryNodesRequest, headers: {
|
|
4141
|
+
[key: string]: string;
|
|
4142
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListMemoryNodesResponse>;
|
|
4143
|
+
/**
|
|
4144
|
+
* 获取记忆Node列表
|
|
4145
|
+
*
|
|
4146
|
+
* @param request - ListMemoryNodesRequest
|
|
4147
|
+
* @returns ListMemoryNodesResponse
|
|
4148
|
+
*/
|
|
4149
|
+
listMemoryNodes(workspaceId: string, memoryId: string, request: ListMemoryNodesRequest): Promise<ListMemoryNodesResponse>;
|
|
3492
4150
|
/**
|
|
3493
4151
|
* 查询已发布的智能体应用列表
|
|
3494
4152
|
*
|
|
@@ -3579,4 +4237,40 @@ export default class Client extends OpenApi {
|
|
|
3579
4237
|
* @returns UpdateAndPublishAgentResponse
|
|
3580
4238
|
*/
|
|
3581
4239
|
updateAndPublishAgent(workspaceId: string, appCode: string, request: UpdateAndPublishAgentRequest): Promise<UpdateAndPublishAgentResponse>;
|
|
4240
|
+
/**
|
|
4241
|
+
* 更新memory
|
|
4242
|
+
*
|
|
4243
|
+
* @param request - UpdateMemoryRequest
|
|
4244
|
+
* @param headers - map
|
|
4245
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4246
|
+
* @returns UpdateMemoryResponse
|
|
4247
|
+
*/
|
|
4248
|
+
updateMemoryWithOptions(workspaceId: string, memoryId: string, request: UpdateMemoryRequest, headers: {
|
|
4249
|
+
[key: string]: string;
|
|
4250
|
+
}, runtime: $Util.RuntimeOptions): Promise<UpdateMemoryResponse>;
|
|
4251
|
+
/**
|
|
4252
|
+
* 更新memory
|
|
4253
|
+
*
|
|
4254
|
+
* @param request - UpdateMemoryRequest
|
|
4255
|
+
* @returns UpdateMemoryResponse
|
|
4256
|
+
*/
|
|
4257
|
+
updateMemory(workspaceId: string, memoryId: string, request: UpdateMemoryRequest): Promise<UpdateMemoryResponse>;
|
|
4258
|
+
/**
|
|
4259
|
+
* 更新记忆Node
|
|
4260
|
+
*
|
|
4261
|
+
* @param request - UpdateMemoryNodeRequest
|
|
4262
|
+
* @param headers - map
|
|
4263
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4264
|
+
* @returns UpdateMemoryNodeResponse
|
|
4265
|
+
*/
|
|
4266
|
+
updateMemoryNodeWithOptions(workspaceId: string, memoryId: string, memoryNodeId: string, request: UpdateMemoryNodeRequest, headers: {
|
|
4267
|
+
[key: string]: string;
|
|
4268
|
+
}, runtime: $Util.RuntimeOptions): Promise<UpdateMemoryNodeResponse>;
|
|
4269
|
+
/**
|
|
4270
|
+
* 更新记忆Node
|
|
4271
|
+
*
|
|
4272
|
+
* @param request - UpdateMemoryNodeRequest
|
|
4273
|
+
* @returns UpdateMemoryNodeResponse
|
|
4274
|
+
*/
|
|
4275
|
+
updateMemoryNode(workspaceId: string, memoryId: string, memoryNodeId: string, request: UpdateMemoryNodeRequest): Promise<UpdateMemoryNodeResponse>;
|
|
3582
4276
|
}
|