@yuntijs/arcadia-bff-sdk 1.2.22 → 1.2.24
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/cjs/index.d.ts +127 -84
- package/dist/cjs/sdk.d.ts +421 -328
- package/dist/cjs/sdk.js +172 -105
- package/dist/cjs/taro.d.ts +92 -60
- package/dist/esm/index.d.ts +127 -84
- package/dist/esm/sdk.d.ts +421 -328
- package/dist/esm/sdk.js +130 -121
- package/dist/esm/taro.d.ts +92 -60
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/sdk.js
CHANGED
|
@@ -43,6 +43,7 @@ __export(sdk_exports, {
|
|
|
43
43
|
CreateModelDocument: () => CreateModelDocument,
|
|
44
44
|
CreateModelServiceDocument: () => CreateModelServiceDocument,
|
|
45
45
|
CreateOrUpdateApplicationPromptDocument: () => CreateOrUpdateApplicationPromptDocument,
|
|
46
|
+
CreatePluginDocument: () => CreatePluginDocument,
|
|
46
47
|
CreateRagDocument: () => CreateRagDocument,
|
|
47
48
|
CreateVersionedDatasetDocument: () => CreateVersionedDatasetDocument,
|
|
48
49
|
CreateWorkerDocument: () => CreateWorkerDocument,
|
|
@@ -59,6 +60,7 @@ __export(sdk_exports, {
|
|
|
59
60
|
DeleteKnowledgeBaseDocument: () => DeleteKnowledgeBaseDocument,
|
|
60
61
|
DeleteModelServicesDocument: () => DeleteModelServicesDocument,
|
|
61
62
|
DeleteModelsDocument: () => DeleteModelsDocument,
|
|
63
|
+
DeletePluginDocument: () => DeletePluginDocument,
|
|
62
64
|
DeleteRagDocument: () => DeleteRagDocument,
|
|
63
65
|
DeleteVersionedDatasetsDocument: () => DeleteVersionedDatasetsDocument,
|
|
64
66
|
DeleteWorkersDocument: () => DeleteWorkersDocument,
|
|
@@ -66,13 +68,13 @@ __export(sdk_exports, {
|
|
|
66
68
|
GetDatasetDocument: () => GetDatasetDocument,
|
|
67
69
|
GetDatasourceDocument: () => GetDatasourceDocument,
|
|
68
70
|
GetEmbedderDocument: () => GetEmbedderDocument,
|
|
69
|
-
GetGptDocument: () => GetGptDocument,
|
|
70
71
|
GetGptStoreDocument: () => GetGptStoreDocument,
|
|
71
72
|
GetKnowledgeBaseDocument: () => GetKnowledgeBaseDocument,
|
|
72
73
|
GetLlmDocument: () => GetLlmDocument,
|
|
73
74
|
GetLogInfoDocument: () => GetLogInfoDocument,
|
|
74
75
|
GetModelDocument: () => GetModelDocument,
|
|
75
76
|
GetModelServiceDocument: () => GetModelServiceDocument,
|
|
77
|
+
GetPluginDocument: () => GetPluginDocument,
|
|
76
78
|
GetRagDocument: () => GetRagDocument,
|
|
77
79
|
GetVersionedDatasetDocument: () => GetVersionedDatasetDocument,
|
|
78
80
|
GetWorkerDocument: () => GetWorkerDocument,
|
|
@@ -81,13 +83,13 @@ __export(sdk_exports, {
|
|
|
81
83
|
ListDatasetsDocument: () => ListDatasetsDocument,
|
|
82
84
|
ListDatasourcesDocument: () => ListDatasourcesDocument,
|
|
83
85
|
ListEmbeddersDocument: () => ListEmbeddersDocument,
|
|
84
|
-
ListGpTsDocument: () => ListGpTsDocument,
|
|
85
86
|
ListGptCategoryDocument: () => ListGptCategoryDocument,
|
|
86
87
|
ListKnowledgeBasesDocument: () => ListKnowledgeBasesDocument,
|
|
87
88
|
ListLlMsDocument: () => ListLlMsDocument,
|
|
88
89
|
ListModelServicesDocument: () => ListModelServicesDocument,
|
|
89
90
|
ListModelsDocument: () => ListModelsDocument,
|
|
90
91
|
ListNodesDocument: () => ListNodesDocument,
|
|
92
|
+
ListPluginsDocument: () => ListPluginsDocument,
|
|
91
93
|
ListRagDocument: () => ListRagDocument,
|
|
92
94
|
ListRayClustersDocument: () => ListRayClustersDocument,
|
|
93
95
|
ListVersionedDatasetsDocument: () => ListVersionedDatasetsDocument,
|
|
@@ -101,6 +103,7 @@ __export(sdk_exports, {
|
|
|
101
103
|
UpdateKnowledgeBaseDocument: () => UpdateKnowledgeBaseDocument,
|
|
102
104
|
UpdateModelDocument: () => UpdateModelDocument,
|
|
103
105
|
UpdateModelServiceDocument: () => UpdateModelServiceDocument,
|
|
106
|
+
UpdatePluginDocument: () => UpdatePluginDocument,
|
|
104
107
|
UpdateRagDocument: () => UpdateRagDocument,
|
|
105
108
|
UpdateVersionedDatasetDocument: () => UpdateVersionedDatasetDocument,
|
|
106
109
|
UpdateWorkerDocument: () => UpdateWorkerDocument,
|
|
@@ -122,6 +125,7 @@ var CreateApplicationDocument = import_graphql_tag.default`
|
|
|
122
125
|
displayName
|
|
123
126
|
description
|
|
124
127
|
icon
|
|
128
|
+
background
|
|
125
129
|
creator
|
|
126
130
|
creationTimestamp
|
|
127
131
|
updateTimestamp
|
|
@@ -146,6 +150,7 @@ var UpdateApplicationDocument = import_graphql_tag.default`
|
|
|
146
150
|
displayName
|
|
147
151
|
description
|
|
148
152
|
icon
|
|
153
|
+
background
|
|
149
154
|
creator
|
|
150
155
|
creationTimestamp
|
|
151
156
|
updateTimestamp
|
|
@@ -178,6 +183,7 @@ var UpdateApplicationConfigDocument = import_graphql_tag.default`
|
|
|
178
183
|
displayName
|
|
179
184
|
description
|
|
180
185
|
icon
|
|
186
|
+
background
|
|
181
187
|
creator
|
|
182
188
|
creationTimestamp
|
|
183
189
|
updateTimestamp
|
|
@@ -203,9 +209,9 @@ var UpdateApplicationConfigDocument = import_graphql_tag.default`
|
|
|
203
209
|
showRespInfo
|
|
204
210
|
showRetrievalInfo
|
|
205
211
|
showNextGuide
|
|
206
|
-
|
|
212
|
+
plugins {
|
|
207
213
|
name
|
|
208
|
-
|
|
214
|
+
namespace
|
|
209
215
|
}
|
|
210
216
|
enableRerank
|
|
211
217
|
rerankModel
|
|
@@ -231,6 +237,7 @@ var ReleaseApplicationDocument = import_graphql_tag.default`
|
|
|
231
237
|
displayName
|
|
232
238
|
description
|
|
233
239
|
icon
|
|
240
|
+
background
|
|
234
241
|
creator
|
|
235
242
|
creationTimestamp
|
|
236
243
|
updateTimestamp
|
|
@@ -270,6 +277,7 @@ var GetApplicationDocument = import_graphql_tag.default`
|
|
|
270
277
|
displayName
|
|
271
278
|
description
|
|
272
279
|
icon
|
|
280
|
+
background
|
|
273
281
|
creator
|
|
274
282
|
creationTimestamp
|
|
275
283
|
updateTimestamp
|
|
@@ -295,9 +303,9 @@ var GetApplicationDocument = import_graphql_tag.default`
|
|
|
295
303
|
showRespInfo
|
|
296
304
|
showRetrievalInfo
|
|
297
305
|
showNextGuide
|
|
298
|
-
|
|
306
|
+
plugins {
|
|
299
307
|
name
|
|
300
|
-
|
|
308
|
+
namespace
|
|
301
309
|
}
|
|
302
310
|
enableRerank
|
|
303
311
|
rerankModel
|
|
@@ -329,6 +337,7 @@ var ListApplicationsDocument = import_graphql_tag.default`
|
|
|
329
337
|
displayName
|
|
330
338
|
description
|
|
331
339
|
icon
|
|
340
|
+
background
|
|
332
341
|
creator
|
|
333
342
|
creationTimestamp
|
|
334
343
|
updateTimestamp
|
|
@@ -363,6 +372,27 @@ var ListApplicationPromptDocument = import_graphql_tag.default`
|
|
|
363
372
|
}
|
|
364
373
|
}
|
|
365
374
|
`;
|
|
375
|
+
var ListGptCategoryDocument = import_graphql_tag.default`
|
|
376
|
+
query listGPTCategory {
|
|
377
|
+
Application {
|
|
378
|
+
listGPTCategory {
|
|
379
|
+
id
|
|
380
|
+
name
|
|
381
|
+
nameEn
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
`;
|
|
386
|
+
var GetGptStoreDocument = import_graphql_tag.default`
|
|
387
|
+
query getGPTStore {
|
|
388
|
+
Application {
|
|
389
|
+
getGPTStore {
|
|
390
|
+
url
|
|
391
|
+
public_namespace
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
`;
|
|
366
396
|
var AllDataProcessListByPageDocument = import_graphql_tag.default`
|
|
367
397
|
query allDataProcessListByPage($input: AllDataProcessListByPageInput!) {
|
|
368
398
|
dataProcess {
|
|
@@ -949,79 +979,6 @@ var GetEmbedderDocument = import_graphql_tag.default`
|
|
|
949
979
|
}
|
|
950
980
|
}
|
|
951
981
|
`;
|
|
952
|
-
var GetGptDocument = import_graphql_tag.default`
|
|
953
|
-
query getGPT($name: String!) {
|
|
954
|
-
GPT {
|
|
955
|
-
getGPT(name: $name) {
|
|
956
|
-
name
|
|
957
|
-
displayName
|
|
958
|
-
description
|
|
959
|
-
hot
|
|
960
|
-
creator
|
|
961
|
-
isRecommended
|
|
962
|
-
category
|
|
963
|
-
icon
|
|
964
|
-
prologue
|
|
965
|
-
showRespInfo
|
|
966
|
-
showRetrievalInfo
|
|
967
|
-
showNextGuide
|
|
968
|
-
enableUploadFile
|
|
969
|
-
notReadyReasonCode
|
|
970
|
-
}
|
|
971
|
-
}
|
|
972
|
-
}
|
|
973
|
-
`;
|
|
974
|
-
var ListGpTsDocument = import_graphql_tag.default`
|
|
975
|
-
query listGPTs($input: ListGPTInput!) {
|
|
976
|
-
GPT {
|
|
977
|
-
listGPT(input: $input) {
|
|
978
|
-
page
|
|
979
|
-
pageSize
|
|
980
|
-
totalCount
|
|
981
|
-
hasNextPage
|
|
982
|
-
nodes {
|
|
983
|
-
... on GPT {
|
|
984
|
-
name
|
|
985
|
-
displayName
|
|
986
|
-
description
|
|
987
|
-
hot
|
|
988
|
-
creator
|
|
989
|
-
isRecommended
|
|
990
|
-
category
|
|
991
|
-
icon
|
|
992
|
-
prologue
|
|
993
|
-
showRespInfo
|
|
994
|
-
showRetrievalInfo
|
|
995
|
-
showNextGuide
|
|
996
|
-
enableUploadFile
|
|
997
|
-
notReadyReasonCode
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
1002
|
-
}
|
|
1003
|
-
`;
|
|
1004
|
-
var ListGptCategoryDocument = import_graphql_tag.default`
|
|
1005
|
-
query listGPTCategory {
|
|
1006
|
-
GPT {
|
|
1007
|
-
listGPTCategory {
|
|
1008
|
-
id
|
|
1009
|
-
name
|
|
1010
|
-
nameEn
|
|
1011
|
-
}
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
`;
|
|
1015
|
-
var GetGptStoreDocument = import_graphql_tag.default`
|
|
1016
|
-
query getGPTStore {
|
|
1017
|
-
GPT {
|
|
1018
|
-
getGPTStore {
|
|
1019
|
-
url
|
|
1020
|
-
public_namespace
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1024
|
-
`;
|
|
1025
982
|
var ListKnowledgeBasesDocument = import_graphql_tag.default`
|
|
1026
983
|
query listKnowledgeBases($input: ListKnowledgeBaseInput!) {
|
|
1027
984
|
KnowledgeBase {
|
|
@@ -1584,6 +1541,104 @@ var ListNodesDocument = import_graphql_tag.default`
|
|
|
1584
1541
|
}
|
|
1585
1542
|
}
|
|
1586
1543
|
`;
|
|
1544
|
+
var ListPluginsDocument = import_graphql_tag.default`
|
|
1545
|
+
query listPlugins($input: ListPluginInput!) {
|
|
1546
|
+
Plugin {
|
|
1547
|
+
listPlugins(input: $input) {
|
|
1548
|
+
totalCount
|
|
1549
|
+
hasNextPage
|
|
1550
|
+
nodes {
|
|
1551
|
+
__typename
|
|
1552
|
+
... on Plugin {
|
|
1553
|
+
id
|
|
1554
|
+
creationTimestamp
|
|
1555
|
+
name
|
|
1556
|
+
namespace
|
|
1557
|
+
systemPlugin
|
|
1558
|
+
labels
|
|
1559
|
+
annotations
|
|
1560
|
+
creator
|
|
1561
|
+
displayName
|
|
1562
|
+
description
|
|
1563
|
+
type
|
|
1564
|
+
status
|
|
1565
|
+
updateTimestamp
|
|
1566
|
+
}
|
|
1567
|
+
}
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
`;
|
|
1572
|
+
var GetPluginDocument = import_graphql_tag.default`
|
|
1573
|
+
query getPlugin($name: String!, $namespace: String!) {
|
|
1574
|
+
Plugin {
|
|
1575
|
+
getPlugin(name: $name, namespace: $namespace) {
|
|
1576
|
+
id
|
|
1577
|
+
creationTimestamp
|
|
1578
|
+
name
|
|
1579
|
+
namespace
|
|
1580
|
+
systemPlugin
|
|
1581
|
+
labels
|
|
1582
|
+
annotations
|
|
1583
|
+
creator
|
|
1584
|
+
displayName
|
|
1585
|
+
description
|
|
1586
|
+
type
|
|
1587
|
+
status
|
|
1588
|
+
updateTimestamp
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
}
|
|
1592
|
+
`;
|
|
1593
|
+
var CreatePluginDocument = import_graphql_tag.default`
|
|
1594
|
+
mutation createPlugin($input: CreatePluginInput!) {
|
|
1595
|
+
Plugin {
|
|
1596
|
+
createPlugin(input: $input) {
|
|
1597
|
+
id
|
|
1598
|
+
creationTimestamp
|
|
1599
|
+
name
|
|
1600
|
+
namespace
|
|
1601
|
+
systemPlugin
|
|
1602
|
+
labels
|
|
1603
|
+
annotations
|
|
1604
|
+
creator
|
|
1605
|
+
displayName
|
|
1606
|
+
description
|
|
1607
|
+
type
|
|
1608
|
+
status
|
|
1609
|
+
updateTimestamp
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
}
|
|
1613
|
+
`;
|
|
1614
|
+
var UpdatePluginDocument = import_graphql_tag.default`
|
|
1615
|
+
mutation updatePlugin($input: UpdatePluginInput!) {
|
|
1616
|
+
Plugin {
|
|
1617
|
+
updatePlugin(input: $input) {
|
|
1618
|
+
id
|
|
1619
|
+
creationTimestamp
|
|
1620
|
+
name
|
|
1621
|
+
namespace
|
|
1622
|
+
systemPlugin
|
|
1623
|
+
labels
|
|
1624
|
+
annotations
|
|
1625
|
+
creator
|
|
1626
|
+
displayName
|
|
1627
|
+
description
|
|
1628
|
+
type
|
|
1629
|
+
status
|
|
1630
|
+
updateTimestamp
|
|
1631
|
+
}
|
|
1632
|
+
}
|
|
1633
|
+
}
|
|
1634
|
+
`;
|
|
1635
|
+
var DeletePluginDocument = import_graphql_tag.default`
|
|
1636
|
+
mutation deletePlugin($input: DeleteCommonInput!) {
|
|
1637
|
+
Plugin {
|
|
1638
|
+
deletePlugin(input: $input)
|
|
1639
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
`;
|
|
1587
1642
|
var ListRagDocument = import_graphql_tag.default`
|
|
1588
1643
|
query listRAG($input: ListRAGInput!) {
|
|
1589
1644
|
RAG {
|
|
@@ -2257,6 +2312,12 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
2257
2312
|
listApplicationPrompt(variables, requestHeaders) {
|
|
2258
2313
|
return withWrapper((wrappedRequestHeaders) => client.request(ListApplicationPromptDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listApplicationPrompt", "query", variables);
|
|
2259
2314
|
},
|
|
2315
|
+
listGPTCategory(variables, requestHeaders) {
|
|
2316
|
+
return withWrapper((wrappedRequestHeaders) => client.request(ListGptCategoryDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listGPTCategory", "query", variables);
|
|
2317
|
+
},
|
|
2318
|
+
getGPTStore(variables, requestHeaders) {
|
|
2319
|
+
return withWrapper((wrappedRequestHeaders) => client.request(GetGptStoreDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getGPTStore", "query", variables);
|
|
2320
|
+
},
|
|
2260
2321
|
allDataProcessListByPage(variables, requestHeaders) {
|
|
2261
2322
|
return withWrapper((wrappedRequestHeaders) => client.request(AllDataProcessListByPageDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "allDataProcessListByPage", "query", variables);
|
|
2262
2323
|
},
|
|
@@ -2335,18 +2396,6 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
2335
2396
|
getEmbedder(variables, requestHeaders) {
|
|
2336
2397
|
return withWrapper((wrappedRequestHeaders) => client.request(GetEmbedderDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getEmbedder", "query", variables);
|
|
2337
2398
|
},
|
|
2338
|
-
getGPT(variables, requestHeaders) {
|
|
2339
|
-
return withWrapper((wrappedRequestHeaders) => client.request(GetGptDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getGPT", "query", variables);
|
|
2340
|
-
},
|
|
2341
|
-
listGPTs(variables, requestHeaders) {
|
|
2342
|
-
return withWrapper((wrappedRequestHeaders) => client.request(ListGpTsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listGPTs", "query", variables);
|
|
2343
|
-
},
|
|
2344
|
-
listGPTCategory(variables, requestHeaders) {
|
|
2345
|
-
return withWrapper((wrappedRequestHeaders) => client.request(ListGptCategoryDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listGPTCategory", "query", variables);
|
|
2346
|
-
},
|
|
2347
|
-
getGPTStore(variables, requestHeaders) {
|
|
2348
|
-
return withWrapper((wrappedRequestHeaders) => client.request(GetGptStoreDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getGPTStore", "query", variables);
|
|
2349
|
-
},
|
|
2350
2399
|
listKnowledgeBases(variables, requestHeaders) {
|
|
2351
2400
|
return withWrapper((wrappedRequestHeaders) => client.request(ListKnowledgeBasesDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listKnowledgeBases", "query", variables);
|
|
2352
2401
|
},
|
|
@@ -2404,6 +2453,21 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
2404
2453
|
listNodes(variables, requestHeaders) {
|
|
2405
2454
|
return withWrapper((wrappedRequestHeaders) => client.request(ListNodesDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listNodes", "query", variables);
|
|
2406
2455
|
},
|
|
2456
|
+
listPlugins(variables, requestHeaders) {
|
|
2457
|
+
return withWrapper((wrappedRequestHeaders) => client.request(ListPluginsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listPlugins", "query", variables);
|
|
2458
|
+
},
|
|
2459
|
+
getPlugin(variables, requestHeaders) {
|
|
2460
|
+
return withWrapper((wrappedRequestHeaders) => client.request(GetPluginDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getPlugin", "query", variables);
|
|
2461
|
+
},
|
|
2462
|
+
createPlugin(variables, requestHeaders) {
|
|
2463
|
+
return withWrapper((wrappedRequestHeaders) => client.request(CreatePluginDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "createPlugin", "mutation", variables);
|
|
2464
|
+
},
|
|
2465
|
+
updatePlugin(variables, requestHeaders) {
|
|
2466
|
+
return withWrapper((wrappedRequestHeaders) => client.request(UpdatePluginDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "updatePlugin", "mutation", variables);
|
|
2467
|
+
},
|
|
2468
|
+
deletePlugin(variables, requestHeaders) {
|
|
2469
|
+
return withWrapper((wrappedRequestHeaders) => client.request(DeletePluginDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "deletePlugin", "mutation", variables);
|
|
2470
|
+
},
|
|
2407
2471
|
listRAG(variables, requestHeaders) {
|
|
2408
2472
|
return withWrapper((wrappedRequestHeaders) => client.request(ListRagDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listRAG", "query", variables);
|
|
2409
2473
|
},
|
|
@@ -2468,6 +2532,12 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2468
2532
|
useListApplicationPrompt(variables, config) {
|
|
2469
2533
|
return (0, import_useSWR.default)(genKey("ListApplicationPrompt", variables), () => sdk.listApplicationPrompt(variables), config);
|
|
2470
2534
|
},
|
|
2535
|
+
useListGptCategory(variables, config) {
|
|
2536
|
+
return (0, import_useSWR.default)(genKey("ListGptCategory", variables), () => sdk.listGPTCategory(variables), config);
|
|
2537
|
+
},
|
|
2538
|
+
useGetGptStore(variables, config) {
|
|
2539
|
+
return (0, import_useSWR.default)(genKey("GetGptStore", variables), () => sdk.getGPTStore(variables), config);
|
|
2540
|
+
},
|
|
2471
2541
|
useAllDataProcessListByPage(variables, config) {
|
|
2472
2542
|
return (0, import_useSWR.default)(genKey("AllDataProcessListByPage", variables), () => sdk.allDataProcessListByPage(variables), config);
|
|
2473
2543
|
},
|
|
@@ -2513,18 +2583,6 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2513
2583
|
useGetEmbedder(variables, config) {
|
|
2514
2584
|
return (0, import_useSWR.default)(genKey("GetEmbedder", variables), () => sdk.getEmbedder(variables), config);
|
|
2515
2585
|
},
|
|
2516
|
-
useGetGpt(variables, config) {
|
|
2517
|
-
return (0, import_useSWR.default)(genKey("GetGpt", variables), () => sdk.getGPT(variables), config);
|
|
2518
|
-
},
|
|
2519
|
-
useListGpTs(variables, config) {
|
|
2520
|
-
return (0, import_useSWR.default)(genKey("ListGpTs", variables), () => sdk.listGPTs(variables), config);
|
|
2521
|
-
},
|
|
2522
|
-
useListGptCategory(variables, config) {
|
|
2523
|
-
return (0, import_useSWR.default)(genKey("ListGptCategory", variables), () => sdk.listGPTCategory(variables), config);
|
|
2524
|
-
},
|
|
2525
|
-
useGetGptStore(variables, config) {
|
|
2526
|
-
return (0, import_useSWR.default)(genKey("GetGptStore", variables), () => sdk.getGPTStore(variables), config);
|
|
2527
|
-
},
|
|
2528
2586
|
useListKnowledgeBases(variables, config) {
|
|
2529
2587
|
return (0, import_useSWR.default)(genKey("ListKnowledgeBases", variables), () => sdk.listKnowledgeBases(variables), config);
|
|
2530
2588
|
},
|
|
@@ -2555,6 +2613,12 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2555
2613
|
useListNodes(variables, config) {
|
|
2556
2614
|
return (0, import_useSWR.default)(genKey("ListNodes", variables), () => sdk.listNodes(variables), config);
|
|
2557
2615
|
},
|
|
2616
|
+
useListPlugins(variables, config) {
|
|
2617
|
+
return (0, import_useSWR.default)(genKey("ListPlugins", variables), () => sdk.listPlugins(variables), config);
|
|
2618
|
+
},
|
|
2619
|
+
useGetPlugin(variables, config) {
|
|
2620
|
+
return (0, import_useSWR.default)(genKey("GetPlugin", variables), () => sdk.getPlugin(variables), config);
|
|
2621
|
+
},
|
|
2558
2622
|
useListRag(variables, config) {
|
|
2559
2623
|
return (0, import_useSWR.default)(genKey("ListRag", variables), () => sdk.listRAG(variables), config);
|
|
2560
2624
|
},
|
|
@@ -2594,6 +2658,7 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2594
2658
|
CreateModelDocument,
|
|
2595
2659
|
CreateModelServiceDocument,
|
|
2596
2660
|
CreateOrUpdateApplicationPromptDocument,
|
|
2661
|
+
CreatePluginDocument,
|
|
2597
2662
|
CreateRagDocument,
|
|
2598
2663
|
CreateVersionedDatasetDocument,
|
|
2599
2664
|
CreateWorkerDocument,
|
|
@@ -2610,6 +2675,7 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2610
2675
|
DeleteKnowledgeBaseDocument,
|
|
2611
2676
|
DeleteModelServicesDocument,
|
|
2612
2677
|
DeleteModelsDocument,
|
|
2678
|
+
DeletePluginDocument,
|
|
2613
2679
|
DeleteRagDocument,
|
|
2614
2680
|
DeleteVersionedDatasetsDocument,
|
|
2615
2681
|
DeleteWorkersDocument,
|
|
@@ -2617,13 +2683,13 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2617
2683
|
GetDatasetDocument,
|
|
2618
2684
|
GetDatasourceDocument,
|
|
2619
2685
|
GetEmbedderDocument,
|
|
2620
|
-
GetGptDocument,
|
|
2621
2686
|
GetGptStoreDocument,
|
|
2622
2687
|
GetKnowledgeBaseDocument,
|
|
2623
2688
|
GetLlmDocument,
|
|
2624
2689
|
GetLogInfoDocument,
|
|
2625
2690
|
GetModelDocument,
|
|
2626
2691
|
GetModelServiceDocument,
|
|
2692
|
+
GetPluginDocument,
|
|
2627
2693
|
GetRagDocument,
|
|
2628
2694
|
GetVersionedDatasetDocument,
|
|
2629
2695
|
GetWorkerDocument,
|
|
@@ -2632,13 +2698,13 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2632
2698
|
ListDatasetsDocument,
|
|
2633
2699
|
ListDatasourcesDocument,
|
|
2634
2700
|
ListEmbeddersDocument,
|
|
2635
|
-
ListGpTsDocument,
|
|
2636
2701
|
ListGptCategoryDocument,
|
|
2637
2702
|
ListKnowledgeBasesDocument,
|
|
2638
2703
|
ListLlMsDocument,
|
|
2639
2704
|
ListModelServicesDocument,
|
|
2640
2705
|
ListModelsDocument,
|
|
2641
2706
|
ListNodesDocument,
|
|
2707
|
+
ListPluginsDocument,
|
|
2642
2708
|
ListRagDocument,
|
|
2643
2709
|
ListRayClustersDocument,
|
|
2644
2710
|
ListVersionedDatasetsDocument,
|
|
@@ -2652,6 +2718,7 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2652
2718
|
UpdateKnowledgeBaseDocument,
|
|
2653
2719
|
UpdateModelDocument,
|
|
2654
2720
|
UpdateModelServiceDocument,
|
|
2721
|
+
UpdatePluginDocument,
|
|
2655
2722
|
UpdateRagDocument,
|
|
2656
2723
|
UpdateVersionedDatasetDocument,
|
|
2657
2724
|
UpdateWorkerDocument,
|