@alicloud/bailian20231229 1.6.0 → 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 +900 -20
- package/dist/client.js +1130 -39
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +1764 -266
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;
|
|
@@ -1228,6 +1485,91 @@ export declare class ListChunksResponse extends $tea.Model {
|
|
|
1228
1485
|
[key: string]: any;
|
|
1229
1486
|
});
|
|
1230
1487
|
}
|
|
1488
|
+
export declare class ListFileRequest extends $tea.Model {
|
|
1489
|
+
/**
|
|
1490
|
+
* @remarks
|
|
1491
|
+
* This parameter is required.
|
|
1492
|
+
*
|
|
1493
|
+
* @example
|
|
1494
|
+
* cate_cdd11b1b79a74e8bbd675c356a91ee3510024405
|
|
1495
|
+
*/
|
|
1496
|
+
categoryId?: string;
|
|
1497
|
+
/**
|
|
1498
|
+
* @example
|
|
1499
|
+
* 20
|
|
1500
|
+
*/
|
|
1501
|
+
maxResults?: number;
|
|
1502
|
+
/**
|
|
1503
|
+
* @example
|
|
1504
|
+
* AAAAAdH70eOCSCKtacdomNzak4U=
|
|
1505
|
+
*/
|
|
1506
|
+
nextToken?: string;
|
|
1507
|
+
static names(): {
|
|
1508
|
+
[key: string]: string;
|
|
1509
|
+
};
|
|
1510
|
+
static types(): {
|
|
1511
|
+
[key: string]: any;
|
|
1512
|
+
};
|
|
1513
|
+
constructor(map?: {
|
|
1514
|
+
[key: string]: any;
|
|
1515
|
+
});
|
|
1516
|
+
}
|
|
1517
|
+
export declare class ListFileResponseBody extends $tea.Model {
|
|
1518
|
+
/**
|
|
1519
|
+
* @example
|
|
1520
|
+
* success
|
|
1521
|
+
*/
|
|
1522
|
+
code?: string;
|
|
1523
|
+
data?: ListFileResponseBodyData;
|
|
1524
|
+
/**
|
|
1525
|
+
* @example
|
|
1526
|
+
* Requests throttling triggered.
|
|
1527
|
+
*/
|
|
1528
|
+
message?: string;
|
|
1529
|
+
/**
|
|
1530
|
+
* @remarks
|
|
1531
|
+
* Id of the request
|
|
1532
|
+
*
|
|
1533
|
+
* @example
|
|
1534
|
+
* 8F97A63B-55F1-527F-9D6E-467B6A7E8CF1
|
|
1535
|
+
*/
|
|
1536
|
+
requestId?: string;
|
|
1537
|
+
/**
|
|
1538
|
+
* @example
|
|
1539
|
+
* 200
|
|
1540
|
+
*/
|
|
1541
|
+
status?: string;
|
|
1542
|
+
/**
|
|
1543
|
+
* @example
|
|
1544
|
+
* true
|
|
1545
|
+
*/
|
|
1546
|
+
success?: boolean;
|
|
1547
|
+
static names(): {
|
|
1548
|
+
[key: string]: string;
|
|
1549
|
+
};
|
|
1550
|
+
static types(): {
|
|
1551
|
+
[key: string]: any;
|
|
1552
|
+
};
|
|
1553
|
+
constructor(map?: {
|
|
1554
|
+
[key: string]: any;
|
|
1555
|
+
});
|
|
1556
|
+
}
|
|
1557
|
+
export declare class ListFileResponse extends $tea.Model {
|
|
1558
|
+
headers?: {
|
|
1559
|
+
[key: string]: string;
|
|
1560
|
+
};
|
|
1561
|
+
statusCode?: number;
|
|
1562
|
+
body?: ListFileResponseBody;
|
|
1563
|
+
static names(): {
|
|
1564
|
+
[key: string]: string;
|
|
1565
|
+
};
|
|
1566
|
+
static types(): {
|
|
1567
|
+
[key: string]: any;
|
|
1568
|
+
};
|
|
1569
|
+
constructor(map?: {
|
|
1570
|
+
[key: string]: any;
|
|
1571
|
+
});
|
|
1572
|
+
}
|
|
1231
1573
|
export declare class ListIndexDocumentsRequest extends $tea.Model {
|
|
1232
1574
|
documentName?: string;
|
|
1233
1575
|
/**
|
|
@@ -1401,6 +1743,149 @@ export declare class ListIndicesResponse extends $tea.Model {
|
|
|
1401
1743
|
[key: string]: any;
|
|
1402
1744
|
});
|
|
1403
1745
|
}
|
|
1746
|
+
export declare class ListMemoriesRequest extends $tea.Model {
|
|
1747
|
+
/**
|
|
1748
|
+
* @example
|
|
1749
|
+
* 10
|
|
1750
|
+
*/
|
|
1751
|
+
maxResults?: number;
|
|
1752
|
+
/**
|
|
1753
|
+
* @example
|
|
1754
|
+
* dc270401186b433f975d7e1faaa34e0e
|
|
1755
|
+
*/
|
|
1756
|
+
nextToken?: string;
|
|
1757
|
+
static names(): {
|
|
1758
|
+
[key: string]: string;
|
|
1759
|
+
};
|
|
1760
|
+
static types(): {
|
|
1761
|
+
[key: string]: any;
|
|
1762
|
+
};
|
|
1763
|
+
constructor(map?: {
|
|
1764
|
+
[key: string]: any;
|
|
1765
|
+
});
|
|
1766
|
+
}
|
|
1767
|
+
export declare class ListMemoriesResponseBody extends $tea.Model {
|
|
1768
|
+
/**
|
|
1769
|
+
* @example
|
|
1770
|
+
* 10
|
|
1771
|
+
*/
|
|
1772
|
+
maxResults?: number;
|
|
1773
|
+
memories?: ListMemoriesResponseBodyMemories[];
|
|
1774
|
+
/**
|
|
1775
|
+
* @example
|
|
1776
|
+
* dc270401186b433f975d7e1faaa34e0e
|
|
1777
|
+
*/
|
|
1778
|
+
nextToken?: string;
|
|
1779
|
+
/**
|
|
1780
|
+
* @example
|
|
1781
|
+
* 6a71f2d9-f1c9-913b-818b-114029103cad
|
|
1782
|
+
*/
|
|
1783
|
+
requestId?: string;
|
|
1784
|
+
/**
|
|
1785
|
+
* @example
|
|
1786
|
+
* 105
|
|
1787
|
+
*/
|
|
1788
|
+
totalCount?: number;
|
|
1789
|
+
/**
|
|
1790
|
+
* @example
|
|
1791
|
+
* llm-us9hjmt32nysdm5v
|
|
1792
|
+
*/
|
|
1793
|
+
workspaceId?: string;
|
|
1794
|
+
static names(): {
|
|
1795
|
+
[key: string]: string;
|
|
1796
|
+
};
|
|
1797
|
+
static types(): {
|
|
1798
|
+
[key: string]: any;
|
|
1799
|
+
};
|
|
1800
|
+
constructor(map?: {
|
|
1801
|
+
[key: string]: any;
|
|
1802
|
+
});
|
|
1803
|
+
}
|
|
1804
|
+
export declare class ListMemoriesResponse extends $tea.Model {
|
|
1805
|
+
headers?: {
|
|
1806
|
+
[key: string]: string;
|
|
1807
|
+
};
|
|
1808
|
+
statusCode?: number;
|
|
1809
|
+
body?: ListMemoriesResponseBody;
|
|
1810
|
+
static names(): {
|
|
1811
|
+
[key: string]: string;
|
|
1812
|
+
};
|
|
1813
|
+
static types(): {
|
|
1814
|
+
[key: string]: any;
|
|
1815
|
+
};
|
|
1816
|
+
constructor(map?: {
|
|
1817
|
+
[key: string]: any;
|
|
1818
|
+
});
|
|
1819
|
+
}
|
|
1820
|
+
export declare class ListMemoryNodesRequest extends $tea.Model {
|
|
1821
|
+
/**
|
|
1822
|
+
* @example
|
|
1823
|
+
* 20
|
|
1824
|
+
*/
|
|
1825
|
+
maxResults?: number;
|
|
1826
|
+
/**
|
|
1827
|
+
* @example
|
|
1828
|
+
* dc270401186b433f975d7e1faaa34e0e
|
|
1829
|
+
*/
|
|
1830
|
+
nextToken?: string;
|
|
1831
|
+
static names(): {
|
|
1832
|
+
[key: string]: string;
|
|
1833
|
+
};
|
|
1834
|
+
static types(): {
|
|
1835
|
+
[key: string]: any;
|
|
1836
|
+
};
|
|
1837
|
+
constructor(map?: {
|
|
1838
|
+
[key: string]: any;
|
|
1839
|
+
});
|
|
1840
|
+
}
|
|
1841
|
+
export declare class ListMemoryNodesResponseBody extends $tea.Model {
|
|
1842
|
+
/**
|
|
1843
|
+
* @example
|
|
1844
|
+
* 20
|
|
1845
|
+
*/
|
|
1846
|
+
maxResults?: number;
|
|
1847
|
+
memoryNodes?: ListMemoryNodesResponseBodyMemoryNodes[];
|
|
1848
|
+
/**
|
|
1849
|
+
* @example
|
|
1850
|
+
* dc270401186b433f975d7e1faaa34e0e
|
|
1851
|
+
*/
|
|
1852
|
+
nextToken?: string;
|
|
1853
|
+
/**
|
|
1854
|
+
* @example
|
|
1855
|
+
* 6a71f2d9-f1c9-913b-818b-114029103cad
|
|
1856
|
+
*/
|
|
1857
|
+
requestId?: string;
|
|
1858
|
+
/**
|
|
1859
|
+
* @example
|
|
1860
|
+
* 100
|
|
1861
|
+
*/
|
|
1862
|
+
totalCount?: number;
|
|
1863
|
+
static names(): {
|
|
1864
|
+
[key: string]: string;
|
|
1865
|
+
};
|
|
1866
|
+
static types(): {
|
|
1867
|
+
[key: string]: any;
|
|
1868
|
+
};
|
|
1869
|
+
constructor(map?: {
|
|
1870
|
+
[key: string]: any;
|
|
1871
|
+
});
|
|
1872
|
+
}
|
|
1873
|
+
export declare class ListMemoryNodesResponse extends $tea.Model {
|
|
1874
|
+
headers?: {
|
|
1875
|
+
[key: string]: string;
|
|
1876
|
+
};
|
|
1877
|
+
statusCode?: number;
|
|
1878
|
+
body?: ListMemoryNodesResponseBody;
|
|
1879
|
+
static names(): {
|
|
1880
|
+
[key: string]: string;
|
|
1881
|
+
};
|
|
1882
|
+
static types(): {
|
|
1883
|
+
[key: string]: any;
|
|
1884
|
+
};
|
|
1885
|
+
constructor(map?: {
|
|
1886
|
+
[key: string]: any;
|
|
1887
|
+
});
|
|
1888
|
+
}
|
|
1404
1889
|
export declare class ListPublishedAgentRequest extends $tea.Model {
|
|
1405
1890
|
pageNo?: number;
|
|
1406
1891
|
pageSize?: number;
|
|
@@ -1794,12 +2279,75 @@ export declare class SubmitIndexJobResponseBody extends $tea.Model {
|
|
|
1794
2279
|
[key: string]: any;
|
|
1795
2280
|
});
|
|
1796
2281
|
}
|
|
1797
|
-
export declare class SubmitIndexJobResponse extends $tea.Model {
|
|
2282
|
+
export declare class SubmitIndexJobResponse extends $tea.Model {
|
|
2283
|
+
headers?: {
|
|
2284
|
+
[key: string]: string;
|
|
2285
|
+
};
|
|
2286
|
+
statusCode?: number;
|
|
2287
|
+
body?: SubmitIndexJobResponseBody;
|
|
2288
|
+
static names(): {
|
|
2289
|
+
[key: string]: string;
|
|
2290
|
+
};
|
|
2291
|
+
static types(): {
|
|
2292
|
+
[key: string]: any;
|
|
2293
|
+
};
|
|
2294
|
+
constructor(map?: {
|
|
2295
|
+
[key: string]: any;
|
|
2296
|
+
});
|
|
2297
|
+
}
|
|
2298
|
+
export declare class UpdateAndPublishAgentRequest extends $tea.Model {
|
|
2299
|
+
applicationConfig?: UpdateAndPublishAgentRequestApplicationConfig;
|
|
2300
|
+
instructions?: string;
|
|
2301
|
+
modelId?: string;
|
|
2302
|
+
name?: string;
|
|
2303
|
+
static names(): {
|
|
2304
|
+
[key: string]: string;
|
|
2305
|
+
};
|
|
2306
|
+
static types(): {
|
|
2307
|
+
[key: string]: any;
|
|
2308
|
+
};
|
|
2309
|
+
constructor(map?: {
|
|
2310
|
+
[key: string]: any;
|
|
2311
|
+
});
|
|
2312
|
+
}
|
|
2313
|
+
export declare class UpdateAndPublishAgentShrinkRequest extends $tea.Model {
|
|
2314
|
+
applicationConfigShrink?: string;
|
|
2315
|
+
instructions?: string;
|
|
2316
|
+
modelId?: string;
|
|
2317
|
+
name?: string;
|
|
2318
|
+
static names(): {
|
|
2319
|
+
[key: string]: string;
|
|
2320
|
+
};
|
|
2321
|
+
static types(): {
|
|
2322
|
+
[key: string]: any;
|
|
2323
|
+
};
|
|
2324
|
+
constructor(map?: {
|
|
2325
|
+
[key: string]: any;
|
|
2326
|
+
});
|
|
2327
|
+
}
|
|
2328
|
+
export declare class UpdateAndPublishAgentResponseBody extends $tea.Model {
|
|
2329
|
+
code?: string;
|
|
2330
|
+
data?: string;
|
|
2331
|
+
httpStatusCode?: number;
|
|
2332
|
+
message?: string;
|
|
2333
|
+
requestId?: string;
|
|
2334
|
+
success?: boolean;
|
|
2335
|
+
static names(): {
|
|
2336
|
+
[key: string]: string;
|
|
2337
|
+
};
|
|
2338
|
+
static types(): {
|
|
2339
|
+
[key: string]: any;
|
|
2340
|
+
};
|
|
2341
|
+
constructor(map?: {
|
|
2342
|
+
[key: string]: any;
|
|
2343
|
+
});
|
|
2344
|
+
}
|
|
2345
|
+
export declare class UpdateAndPublishAgentResponse extends $tea.Model {
|
|
1798
2346
|
headers?: {
|
|
1799
2347
|
[key: string]: string;
|
|
1800
2348
|
};
|
|
1801
2349
|
statusCode?: number;
|
|
1802
|
-
body?:
|
|
2350
|
+
body?: UpdateAndPublishAgentResponseBody;
|
|
1803
2351
|
static names(): {
|
|
1804
2352
|
[key: string]: string;
|
|
1805
2353
|
};
|
|
@@ -1810,11 +2358,8 @@ export declare class SubmitIndexJobResponse extends $tea.Model {
|
|
|
1810
2358
|
[key: string]: any;
|
|
1811
2359
|
});
|
|
1812
2360
|
}
|
|
1813
|
-
export declare class
|
|
1814
|
-
|
|
1815
|
-
instructions?: string;
|
|
1816
|
-
modelId?: string;
|
|
1817
|
-
name?: string;
|
|
2361
|
+
export declare class UpdateMemoryRequest extends $tea.Model {
|
|
2362
|
+
description?: string;
|
|
1818
2363
|
static names(): {
|
|
1819
2364
|
[key: string]: string;
|
|
1820
2365
|
};
|
|
@@ -1825,11 +2370,12 @@ export declare class UpdateAndPublishAgentRequest extends $tea.Model {
|
|
|
1825
2370
|
[key: string]: any;
|
|
1826
2371
|
});
|
|
1827
2372
|
}
|
|
1828
|
-
export declare class
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
2373
|
+
export declare class UpdateMemoryResponseBody extends $tea.Model {
|
|
2374
|
+
/**
|
|
2375
|
+
* @example
|
|
2376
|
+
* 6a71f2d9-f1c9-913b-818b-114029103cad
|
|
2377
|
+
*/
|
|
2378
|
+
requestId?: string;
|
|
1833
2379
|
static names(): {
|
|
1834
2380
|
[key: string]: string;
|
|
1835
2381
|
};
|
|
@@ -1840,13 +2386,44 @@ export declare class UpdateAndPublishAgentShrinkRequest extends $tea.Model {
|
|
|
1840
2386
|
[key: string]: any;
|
|
1841
2387
|
});
|
|
1842
2388
|
}
|
|
1843
|
-
export declare class
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
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
|
+
*/
|
|
1848
2426
|
requestId?: string;
|
|
1849
|
-
success?: boolean;
|
|
1850
2427
|
static names(): {
|
|
1851
2428
|
[key: string]: string;
|
|
1852
2429
|
};
|
|
@@ -1857,12 +2434,12 @@ export declare class UpdateAndPublishAgentResponseBody extends $tea.Model {
|
|
|
1857
2434
|
[key: string]: any;
|
|
1858
2435
|
});
|
|
1859
2436
|
}
|
|
1860
|
-
export declare class
|
|
2437
|
+
export declare class UpdateMemoryNodeResponse extends $tea.Model {
|
|
1861
2438
|
headers?: {
|
|
1862
2439
|
[key: string]: string;
|
|
1863
2440
|
};
|
|
1864
2441
|
statusCode?: number;
|
|
1865
|
-
body?:
|
|
2442
|
+
body?: UpdateMemoryNodeResponseBody;
|
|
1866
2443
|
static names(): {
|
|
1867
2444
|
[key: string]: string;
|
|
1868
2445
|
};
|
|
@@ -2478,6 +3055,89 @@ export declare class ListChunksResponseBodyData extends $tea.Model {
|
|
|
2478
3055
|
[key: string]: any;
|
|
2479
3056
|
});
|
|
2480
3057
|
}
|
|
3058
|
+
export declare class ListFileResponseBodyDataFileList extends $tea.Model {
|
|
3059
|
+
/**
|
|
3060
|
+
* @example
|
|
3061
|
+
* cate_cdd11b1b79a74e8bbd675c356a91ee3510024405
|
|
3062
|
+
*/
|
|
3063
|
+
categoryId?: string;
|
|
3064
|
+
/**
|
|
3065
|
+
* @example
|
|
3066
|
+
* 2023-08-18 11:03:35
|
|
3067
|
+
*/
|
|
3068
|
+
createTime?: string;
|
|
3069
|
+
/**
|
|
3070
|
+
* @example
|
|
3071
|
+
* file_5ff599b3455a45db8c41b0054b361518_10098576
|
|
3072
|
+
*/
|
|
3073
|
+
fileId?: string;
|
|
3074
|
+
/**
|
|
3075
|
+
* @example
|
|
3076
|
+
* auto-test-1721096109278.pdf
|
|
3077
|
+
*/
|
|
3078
|
+
fileName?: string;
|
|
3079
|
+
/**
|
|
3080
|
+
* @example
|
|
3081
|
+
* docx
|
|
3082
|
+
*/
|
|
3083
|
+
fileType?: string;
|
|
3084
|
+
/**
|
|
3085
|
+
* @example
|
|
3086
|
+
* DASHSCOPE_DOCMIND
|
|
3087
|
+
*/
|
|
3088
|
+
parser?: string;
|
|
3089
|
+
/**
|
|
3090
|
+
* @example
|
|
3091
|
+
* 512
|
|
3092
|
+
*/
|
|
3093
|
+
sizeInBytes?: number;
|
|
3094
|
+
/**
|
|
3095
|
+
* @example
|
|
3096
|
+
* 200
|
|
3097
|
+
*/
|
|
3098
|
+
status?: string;
|
|
3099
|
+
static names(): {
|
|
3100
|
+
[key: string]: string;
|
|
3101
|
+
};
|
|
3102
|
+
static types(): {
|
|
3103
|
+
[key: string]: any;
|
|
3104
|
+
};
|
|
3105
|
+
constructor(map?: {
|
|
3106
|
+
[key: string]: any;
|
|
3107
|
+
});
|
|
3108
|
+
}
|
|
3109
|
+
export declare class ListFileResponseBodyData extends $tea.Model {
|
|
3110
|
+
fileList?: ListFileResponseBodyDataFileList[];
|
|
3111
|
+
/**
|
|
3112
|
+
* @example
|
|
3113
|
+
* true
|
|
3114
|
+
*/
|
|
3115
|
+
hasNext?: boolean;
|
|
3116
|
+
/**
|
|
3117
|
+
* @example
|
|
3118
|
+
* 20
|
|
3119
|
+
*/
|
|
3120
|
+
maxResults?: number;
|
|
3121
|
+
/**
|
|
3122
|
+
* @example
|
|
3123
|
+
* 4jzbJk9J6lNeuXD9hP0viA==
|
|
3124
|
+
*/
|
|
3125
|
+
nextToken?: string;
|
|
3126
|
+
/**
|
|
3127
|
+
* @example
|
|
3128
|
+
* 48
|
|
3129
|
+
*/
|
|
3130
|
+
totalCount?: number;
|
|
3131
|
+
static names(): {
|
|
3132
|
+
[key: string]: string;
|
|
3133
|
+
};
|
|
3134
|
+
static types(): {
|
|
3135
|
+
[key: string]: any;
|
|
3136
|
+
};
|
|
3137
|
+
constructor(map?: {
|
|
3138
|
+
[key: string]: any;
|
|
3139
|
+
});
|
|
3140
|
+
}
|
|
2481
3141
|
export declare class ListIndexDocumentsResponseBodyDataDocuments extends $tea.Model {
|
|
2482
3142
|
/**
|
|
2483
3143
|
* @example
|
|
@@ -2666,6 +3326,40 @@ export declare class ListIndicesResponseBodyData extends $tea.Model {
|
|
|
2666
3326
|
[key: string]: any;
|
|
2667
3327
|
});
|
|
2668
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
|
+
}
|
|
2669
3363
|
export declare class ListPublishedAgentResponseBodyDataListApplicationConfigHistoryConfig extends $tea.Model {
|
|
2670
3364
|
enableAdbRecord?: boolean;
|
|
2671
3365
|
enableRecord?: boolean;
|
|
@@ -3105,6 +3799,42 @@ export default class Client extends OpenApi {
|
|
|
3105
3799
|
* @returns CreateIndexResponse
|
|
3106
3800
|
*/
|
|
3107
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>;
|
|
3108
3838
|
/**
|
|
3109
3839
|
* 删除智能体
|
|
3110
3840
|
*
|
|
@@ -3183,6 +3913,36 @@ export default class Client extends OpenApi {
|
|
|
3183
3913
|
* @returns DeleteIndexDocumentResponse
|
|
3184
3914
|
*/
|
|
3185
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>;
|
|
3186
3946
|
/**
|
|
3187
3947
|
* 获取文档基本信息,包括文档名称、类型、状态等。
|
|
3188
3948
|
*
|
|
@@ -3216,6 +3976,36 @@ export default class Client extends OpenApi {
|
|
|
3216
3976
|
* @returns GetIndexJobStatusResponse
|
|
3217
3977
|
*/
|
|
3218
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>;
|
|
3219
4009
|
/**
|
|
3220
4010
|
* 获取发布态智能体应用
|
|
3221
4011
|
*
|
|
@@ -3267,6 +4057,24 @@ export default class Client extends OpenApi {
|
|
|
3267
4057
|
* @returns ListChunksResponse
|
|
3268
4058
|
*/
|
|
3269
4059
|
listChunks(WorkspaceId: string, request: ListChunksRequest): Promise<ListChunksResponse>;
|
|
4060
|
+
/**
|
|
4061
|
+
* 获取文档列表
|
|
4062
|
+
*
|
|
4063
|
+
* @param request - ListFileRequest
|
|
4064
|
+
* @param headers - map
|
|
4065
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4066
|
+
* @returns ListFileResponse
|
|
4067
|
+
*/
|
|
4068
|
+
listFileWithOptions(WorkspaceId: string, request: ListFileRequest, headers: {
|
|
4069
|
+
[key: string]: string;
|
|
4070
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListFileResponse>;
|
|
4071
|
+
/**
|
|
4072
|
+
* 获取文档列表
|
|
4073
|
+
*
|
|
4074
|
+
* @param request - ListFileRequest
|
|
4075
|
+
* @returns ListFileResponse
|
|
4076
|
+
*/
|
|
4077
|
+
listFile(WorkspaceId: string, request: ListFileRequest): Promise<ListFileResponse>;
|
|
3270
4078
|
/**
|
|
3271
4079
|
* 查询Index文件
|
|
3272
4080
|
*
|
|
@@ -3303,6 +4111,42 @@ export default class Client extends OpenApi {
|
|
|
3303
4111
|
* @returns ListIndicesResponse
|
|
3304
4112
|
*/
|
|
3305
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>;
|
|
3306
4150
|
/**
|
|
3307
4151
|
* 查询已发布的智能体应用列表
|
|
3308
4152
|
*
|
|
@@ -3393,4 +4237,40 @@ export default class Client extends OpenApi {
|
|
|
3393
4237
|
* @returns UpdateAndPublishAgentResponse
|
|
3394
4238
|
*/
|
|
3395
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>;
|
|
3396
4276
|
}
|