@yuntijs/arcadia-bff-sdk 1.2.70 → 1.2.71
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 +57 -0
- package/dist/cjs/sdk.d.ts +238 -8
- package/dist/cjs/sdk.js +66 -0
- package/dist/cjs/taro.d.ts +42 -0
- package/dist/esm/index.d.ts +57 -0
- package/dist/esm/sdk.d.ts +238 -8
- package/dist/esm/sdk.js +96 -67
- package/dist/esm/taro.d.ts +42 -0
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/sdk.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44, _templateObject45, _templateObject46, _templateObject47, _templateObject48, _templateObject49, _templateObject50, _templateObject51, _templateObject52, _templateObject53, _templateObject54, _templateObject55, _templateObject56, _templateObject57, _templateObject58, _templateObject59, _templateObject60, _templateObject61, _templateObject62, _templateObject63, _templateObject64, _templateObject65, _templateObject66, _templateObject67, _templateObject68, _templateObject69, _templateObject70, _templateObject71, _templateObject72, _templateObject73, _templateObject74, _templateObject75, _templateObject76, _templateObject77, _templateObject78, _templateObject79, _templateObject80, _templateObject81, _templateObject82, _templateObject83, _templateObject84, _templateObject85, _templateObject86, _templateObject87, _templateObject88, _templateObject89, _templateObject90, _templateObject91, _templateObject92, _templateObject93, _templateObject94, _templateObject95, _templateObject96, _templateObject97, _templateObject98, _templateObject99, _templateObject100, _templateObject101, _templateObject102, _templateObject103, _templateObject104, _templateObject105, _templateObject106, _templateObject107, _templateObject108, _templateObject109, _templateObject110, _templateObject111, _templateObject112, _templateObject113, _templateObject114, _templateObject115, _templateObject116, _templateObject117, _templateObject118, _templateObject119, _templateObject120, _templateObject121, _templateObject122;
|
|
2
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44, _templateObject45, _templateObject46, _templateObject47, _templateObject48, _templateObject49, _templateObject50, _templateObject51, _templateObject52, _templateObject53, _templateObject54, _templateObject55, _templateObject56, _templateObject57, _templateObject58, _templateObject59, _templateObject60, _templateObject61, _templateObject62, _templateObject63, _templateObject64, _templateObject65, _templateObject66, _templateObject67, _templateObject68, _templateObject69, _templateObject70, _templateObject71, _templateObject72, _templateObject73, _templateObject74, _templateObject75, _templateObject76, _templateObject77, _templateObject78, _templateObject79, _templateObject80, _templateObject81, _templateObject82, _templateObject83, _templateObject84, _templateObject85, _templateObject86, _templateObject87, _templateObject88, _templateObject89, _templateObject90, _templateObject91, _templateObject92, _templateObject93, _templateObject94, _templateObject95, _templateObject96, _templateObject97, _templateObject98, _templateObject99, _templateObject100, _templateObject101, _templateObject102, _templateObject103, _templateObject104, _templateObject105, _templateObject106, _templateObject107, _templateObject108, _templateObject109, _templateObject110, _templateObject111, _templateObject112, _templateObject113, _templateObject114, _templateObject115, _templateObject116, _templateObject117, _templateObject118, _templateObject119, _templateObject120, _templateObject121, _templateObject122, _templateObject123, _templateObject124, _templateObject125, _templateObject126;
|
|
3
3
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
4
4
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
5
5
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
@@ -211,72 +211,76 @@ export var UpdateKnowledgeBaseFileChunkDocument = gql(_templateObject53 || (_tem
|
|
|
211
211
|
export var DeleteKnowledgeBaseFileChunkDocument = gql(_templateObject54 || (_templateObject54 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBaseFileChunk($input: DeleteKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n deleteKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
|
|
212
212
|
export var ListKnowledgeBaseFileChunksDocument = gql(_templateObject55 || (_templateObject55 = _taggedTemplateLiteral(["\n query listKnowledgeBaseFileChunks($input: ListKnowledgeBaseFileChunksInput!) {\n KnowledgeBase {\n listKnowledgeBaseFileChunks(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBaseFileChunk {\n id\n fileId\n createdAt\n updatedAt\n indexInFile\n content\n contentSizeInBytes\n processingPhase\n }\n }\n }\n }\n}\n "])));
|
|
213
213
|
export var ShowStructuredFileInfoDocument = gql(_templateObject56 || (_templateObject56 = _taggedTemplateLiteral(["\n query showStructuredFileInfo($input: CreateKnowledgeBaseStructuredFileInput!) {\n KnowledgeBase {\n showStructuredFileInfo(input: $input) {\n sheets\n currentSheet\n totalRows\n rowHeader\n headers\n }\n }\n}\n "])));
|
|
214
|
-
export var
|
|
215
|
-
export var
|
|
216
|
-
export var
|
|
217
|
-
export var
|
|
218
|
-
export var
|
|
219
|
-
export var
|
|
220
|
-
export var
|
|
221
|
-
export var
|
|
222
|
-
export var
|
|
223
|
-
export var
|
|
224
|
-
export var
|
|
225
|
-
export var
|
|
226
|
-
export var
|
|
227
|
-
export var
|
|
228
|
-
export var
|
|
229
|
-
export var
|
|
230
|
-
export var
|
|
231
|
-
export var
|
|
232
|
-
export var
|
|
233
|
-
export var
|
|
234
|
-
export var
|
|
235
|
-
export var
|
|
236
|
-
export var
|
|
237
|
-
export var
|
|
238
|
-
export var
|
|
239
|
-
export var
|
|
240
|
-
export var
|
|
241
|
-
export var
|
|
242
|
-
export var
|
|
243
|
-
export var
|
|
244
|
-
export var
|
|
245
|
-
export var
|
|
246
|
-
export var
|
|
247
|
-
export var
|
|
248
|
-
export var
|
|
249
|
-
export var
|
|
250
|
-
export var
|
|
251
|
-
export var
|
|
252
|
-
export var
|
|
253
|
-
export var
|
|
254
|
-
export var
|
|
255
|
-
export var
|
|
256
|
-
export var
|
|
257
|
-
export var
|
|
258
|
-
export var
|
|
259
|
-
export var
|
|
260
|
-
export var
|
|
261
|
-
export var
|
|
262
|
-
export var
|
|
263
|
-
export var
|
|
264
|
-
export var
|
|
265
|
-
export var
|
|
266
|
-
export var
|
|
267
|
-
export var
|
|
268
|
-
export var
|
|
269
|
-
export var
|
|
270
|
-
export var
|
|
271
|
-
export var
|
|
272
|
-
export var
|
|
273
|
-
export var
|
|
274
|
-
export var
|
|
275
|
-
export var
|
|
276
|
-
export var
|
|
277
|
-
export var
|
|
278
|
-
export var
|
|
279
|
-
export var
|
|
214
|
+
export var CreateKnowledgeBaseStructuredFilesDocument = gql(_templateObject57 || (_templateObject57 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseStructuredFiles($input: CreateKnowledgeBaseStructuredFileInput!) {\n KnowledgeBase {\n createKnowledgeBaseStructuredFiles(input: $input)\n }\n}\n "])));
|
|
215
|
+
export var CreateKnowledgeBaseStructuredFileChunkDocument = gql(_templateObject58 || (_templateObject58 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseStructuredFileChunk($input: CreateKnowledgeBaseStructuredFileChunkInput!) {\n KnowledgeBase {\n createKnowledgeBaseStructuredFileChunk(input: $input)\n }\n}\n "])));
|
|
216
|
+
export var UpdateKnowledgeBaseStructuredFileChunkDocument = gql(_templateObject59 || (_templateObject59 = _taggedTemplateLiteral(["\n mutation updateKnowledgeBaseStructuredFileChunk($input: UpdateKnowledgeBaseStructuredFileChunkInput!) {\n KnowledgeBase {\n updateKnowledgeBaseStructuredFileChunk(input: $input)\n }\n}\n "])));
|
|
217
|
+
export var ListKnowledgeBaseStructuredFileChunksDocument = gql(_templateObject60 || (_templateObject60 = _taggedTemplateLiteral(["\n query listKnowledgeBaseStructuredFileChunks($input: ListKnowledgeBaseStructuredFileChunksInput!) {\n KnowledgeBase {\n listKnowledgeBaseStructuredFileChunks(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBaseStructuredFileChunk {\n id\n knowledgeBase\n fileId\n createdAt\n updatedAt\n content\n contentSizeInBytes\n processingPhase\n }\n }\n }\n }\n}\n "])));
|
|
218
|
+
export var ListLlMsDocument = gql(_templateObject61 || (_templateObject61 = _taggedTemplateLiteral(["\n query listLLMs($input: ListCommonInput!) {\n LLM {\n listLLMs(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on LLM {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n provider\n type\n updateTimestamp\n status\n message\n }\n }\n }\n }\n}\n "])));
|
|
219
|
+
export var GetLlmDocument = gql(_templateObject62 || (_templateObject62 = _taggedTemplateLiteral(["\n query getLLM($name: String!, $namespace: String!) {\n LLM {\n getLLM(name: $name, namespace: $namespace) {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n provider\n type\n updateTimestamp\n status\n message\n }\n }\n}\n "])));
|
|
220
|
+
export var ListModelsDocument = gql(_templateObject63 || (_templateObject63 = _taggedTemplateLiteral(["\n query listModels($input: ListModelInput!, $filesInput: FileFilter) {\n Model {\n listModels(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Model {\n id\n creationTimestamp\n name\n namespace\n systemModel\n labels\n annotations\n creator\n displayName\n description\n status\n message\n types\n updateTimestamp\n huggingFaceRepo\n modelScopeRepo\n revision\n modelSource\n files(input: $filesInput) {\n totalCount\n hasNextPage\n nodes {\n ... on F {\n path\n time\n fileType\n count\n size\n creationTimestamp\n }\n }\n }\n }\n }\n }\n }\n}\n "])));
|
|
221
|
+
export var GetModelDocument = gql(_templateObject64 || (_templateObject64 = _taggedTemplateLiteral(["\n query getModel($name: String!, $namespace: String!, $filesInput: FileFilter) {\n Model {\n getModel(name: $name, namespace: $namespace) {\n id\n creationTimestamp\n name\n namespace\n systemModel\n labels\n annotations\n creator\n displayName\n description\n status\n message\n types\n updateTimestamp\n huggingFaceRepo\n modelScopeRepo\n revision\n modelSource\n files(input: $filesInput) {\n totalCount\n hasNextPage\n nodes {\n ... on F {\n path\n time\n fileType\n count\n size\n creationTimestamp\n }\n }\n }\n }\n }\n}\n "])));
|
|
222
|
+
export var CreateModelDocument = gql(_templateObject65 || (_templateObject65 = _taggedTemplateLiteral(["\n mutation createModel($input: CreateModelInput!) {\n Model {\n createModel(input: $input) {\n id\n creationTimestamp\n name\n namespace\n systemModel\n labels\n annotations\n creator\n displayName\n description\n status\n message\n types\n updateTimestamp\n huggingFaceRepo\n modelScopeRepo\n revision\n modelSource\n }\n }\n}\n "])));
|
|
223
|
+
export var UpdateModelDocument = gql(_templateObject66 || (_templateObject66 = _taggedTemplateLiteral(["\n mutation updateModel($input: UpdateModelInput) {\n Model {\n updateModel(input: $input) {\n id\n creationTimestamp\n name\n namespace\n systemModel\n labels\n annotations\n creator\n displayName\n description\n status\n message\n types\n updateTimestamp\n huggingFaceRepo\n modelScopeRepo\n revision\n modelSource\n }\n }\n}\n "])));
|
|
224
|
+
export var DeleteModelsDocument = gql(_templateObject67 || (_templateObject67 = _taggedTemplateLiteral(["\n mutation deleteModels($input: DeleteCommonInput) {\n Model {\n deleteModels(input: $input)\n }\n}\n "])));
|
|
225
|
+
export var CreateModelServiceDocument = gql(_templateObject68 || (_templateObject68 = _taggedTemplateLiteral(["\n mutation createModelService($input: CreateModelServiceInput!) {\n ModelService {\n createModelService(input: $input) {\n id\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n providerType\n provider\n apiType\n types\n llmModels\n embeddingModels\n rerankingModels\n creationTimestamp\n updateTimestamp\n status\n message\n baseUrl\n }\n }\n}\n "])));
|
|
226
|
+
export var UpdateModelServiceDocument = gql(_templateObject69 || (_templateObject69 = _taggedTemplateLiteral(["\n mutation updateModelService($input: UpdateModelServiceInput) {\n ModelService {\n updateModelService(input: $input) {\n id\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n providerType\n provider\n apiType\n types\n llmModels\n embeddingModels\n rerankingModels\n creationTimestamp\n updateTimestamp\n status\n message\n baseUrl\n }\n }\n}\n "])));
|
|
227
|
+
export var DeleteModelServicesDocument = gql(_templateObject70 || (_templateObject70 = _taggedTemplateLiteral(["\n mutation deleteModelServices($input: DeleteCommonInput) {\n ModelService {\n deleteModelService(input: $input)\n }\n}\n "])));
|
|
228
|
+
export var GetModelServiceDocument = gql(_templateObject71 || (_templateObject71 = _taggedTemplateLiteral(["\n query getModelService($name: String!, $namespace: String!) {\n ModelService {\n getModelService(name: $name, namespace: $namespace) {\n id\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n providerType\n provider\n apiType\n types\n llmModels\n embeddingModels\n rerankingModels\n creationTimestamp\n updateTimestamp\n status\n message\n baseUrl\n }\n }\n}\n "])));
|
|
229
|
+
export var ListModelServicesDocument = gql(_templateObject72 || (_templateObject72 = _taggedTemplateLiteral(["\n query listModelServices($input: ListModelServiceInput) {\n ModelService {\n listModelServices(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on ModelService {\n id\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n providerType\n provider\n apiType\n types\n llmModels\n embeddingModels\n rerankingModels\n creationTimestamp\n updateTimestamp\n status\n message\n baseUrl\n }\n }\n }\n }\n}\n "])));
|
|
230
|
+
export var ListModelServiceProvidersDocument = gql(_templateObject73 || (_templateObject73 = _taggedTemplateLiteral(["\n query listModelServiceProviders {\n ModelService {\n listModelServiceProviders {\n name\n displayName\n description\n baseUrl\n apiType\n modelTypes\n llmModels\n embeddingModels\n rerankingModels\n }\n }\n}\n "])));
|
|
231
|
+
export var CheckModelServiceDocument = gql(_templateObject74 || (_templateObject74 = _taggedTemplateLiteral(["\n query checkModelService($input: CreateModelServiceInput!) {\n ModelService {\n checkModelService(input: $input) {\n name\n namespace\n description\n }\n }\n}\n "])));
|
|
232
|
+
export var ListNodesDocument = gql(_templateObject75 || (_templateObject75 = _taggedTemplateLiteral(["\n query listNodes($input: ListNodeInput) {\n Node {\n listNodes(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Node {\n name\n labels\n }\n }\n }\n }\n}\n "])));
|
|
233
|
+
export var ListPluginsDocument = gql(_templateObject76 || (_templateObject76 = _taggedTemplateLiteral(["\n query listPlugins($input: ListPluginInput!) {\n Plugin {\n listPlugins(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Plugin {\n id\n creationTimestamp\n name\n namespace\n systemPlugin\n labels\n annotations\n creator\n displayName\n description\n type\n icon\n status\n updateTimestamp\n category\n apiDoc\n auth {\n in\n name\n token\n }\n enabled\n }\n }\n }\n }\n}\n "])));
|
|
234
|
+
export var ListPluginCategoryDocument = gql(_templateObject77 || (_templateObject77 = _taggedTemplateLiteral(["\n query listPluginCategory {\n Plugin {\n listPluginCategory {\n id\n name\n nameEn\n }\n }\n}\n "])));
|
|
235
|
+
export var GetPluginDocument = gql(_templateObject78 || (_templateObject78 = _taggedTemplateLiteral(["\n query getPlugin($name: String!, $namespace: String!) {\n Plugin {\n getPlugin(name: $name, namespace: $namespace) {\n id\n creationTimestamp\n name\n namespace\n systemPlugin\n labels\n annotations\n creator\n displayName\n description\n type\n icon\n status\n updateTimestamp\n category\n apiDoc\n auth {\n in\n name\n token\n }\n enabled\n }\n }\n}\n "])));
|
|
236
|
+
export var CreatePluginDocument = gql(_templateObject79 || (_templateObject79 = _taggedTemplateLiteral(["\n mutation createPlugin($input: CreatePluginInput!) {\n Plugin {\n createPlugin(input: $input) {\n id\n creationTimestamp\n name\n namespace\n systemPlugin\n labels\n annotations\n creator\n displayName\n description\n type\n icon\n status\n updateTimestamp\n category\n apiDoc\n auth {\n in\n name\n token\n }\n enabled\n }\n }\n}\n "])));
|
|
237
|
+
export var UpdatePluginDocument = gql(_templateObject80 || (_templateObject80 = _taggedTemplateLiteral(["\n mutation updatePlugin($input: UpdatePluginInput!) {\n Plugin {\n updatePlugin(input: $input) {\n id\n creationTimestamp\n name\n namespace\n systemPlugin\n labels\n annotations\n creator\n displayName\n description\n type\n icon\n status\n updateTimestamp\n category\n apiDoc\n auth {\n in\n name\n token\n }\n enabled\n }\n }\n}\n "])));
|
|
238
|
+
export var DeletePluginDocument = gql(_templateObject81 || (_templateObject81 = _taggedTemplateLiteral(["\n mutation deletePlugin($input: DeleteCommonInput!) {\n Plugin {\n deletePlugin(input: $input)\n }\n}\n "])));
|
|
239
|
+
export var ListRagDocument = gql(_templateObject82 || (_templateObject82 = _taggedTemplateLiteral(["\n query listRAG($input: ListRAGInput!) {\n RAG {\n listRAG(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on RAG {\n name\n namespace\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n source {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n judgeLLM {\n name\n namespace\n baseUrl\n models\n provider\n type\n status\n message\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n }\n }\n }\n }\n}\n "])));
|
|
240
|
+
export var GetRagDocument = gql(_templateObject83 || (_templateObject83 = _taggedTemplateLiteral(["\n query getRAG($name: String!, $namespace: String!) {\n RAG {\n getRAG(name: $name, namespace: $namespace) {\n name\n namespace\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n volumeName\n storageClassName\n volumeMode\n resources {\n limits\n requests\n }\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n application {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n }\n prologue\n model\n llm {\n name\n namespace\n kind\n apiGroup\n }\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebases {\n name\n namespace\n }\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRetrievalInfo\n showNextGuide\n }\n datasets {\n source {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n files {\n path\n fileType\n }\n }\n judgeLLM {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n provider\n type\n updateTimestamp\n status\n message\n }\n metrics {\n metricKind\n parameters {\n key\n value\n }\n toleranceThreshbold\n }\n }\n }\n}\n "])));
|
|
241
|
+
export var CreateRagDocument = gql(_templateObject84 || (_templateObject84 = _taggedTemplateLiteral(["\n mutation createRAG($input: CreateRAGInput!) {\n RAG {\n createRAG(input: $input) {\n name\n namespace\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n volumeName\n storageClassName\n volumeMode\n resources {\n limits\n requests\n }\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n }\n }\n}\n "])));
|
|
242
|
+
export var UpdateRagDocument = gql(_templateObject85 || (_templateObject85 = _taggedTemplateLiteral(["\n mutation updateRAG($input: UpdateRAGInput!) {\n RAG {\n updateRAG(input: $input) {\n name\n namespace\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n volumeName\n storageClassName\n volumeMode\n resources {\n limits\n requests\n }\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n }\n }\n}\n "])));
|
|
243
|
+
export var DeleteRagDocument = gql(_templateObject86 || (_templateObject86 = _taggedTemplateLiteral(["\n mutation deleteRAG($input: DeleteRAGInput!) {\n RAG {\n deleteRAG(input: $input)\n }\n}\n "])));
|
|
244
|
+
export var ListRayClustersDocument = gql(_templateObject87 || (_templateObject87 = _taggedTemplateLiteral(["\n query listRayClusters($input: ListCommonInput!) {\n RayCluster {\n listRayClusters(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on RayCluster {\n index\n name\n headAddress\n dashboardHost\n pythonVersion\n }\n }\n }\n }\n}\n "])));
|
|
245
|
+
export var ListRerankersDocument = gql(_templateObject88 || (_templateObject88 = _taggedTemplateLiteral(["\n query listRerankers($input: ListCommonInput!) {\n Reranker {\n listRerankers(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on Reranker {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n type\n provider\n updateTimestamp\n status\n message\n }\n }\n }\n }\n}\n "])));
|
|
246
|
+
export var GetRerankerDocument = gql(_templateObject89 || (_templateObject89 = _taggedTemplateLiteral(["\n query getReranker($name: String!, $namespace: String!) {\n Reranker {\n getReranker(name: $name, namespace: $namespace) {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n type\n provider\n updateTimestamp\n }\n }\n}\n "])));
|
|
247
|
+
export var ListTuningDataSetDocument = gql(_templateObject90 || (_templateObject90 = _taggedTemplateLiteral(["\n query listTuningDataSet($namespace: String!, $options: ListOptionInput) {\n TuningDataSet {\n listTuningDataSet(namespace: $namespace, options: $options) {\n totalCount\n nodes {\n ... on TuningDataSet {\n ID\n name\n namespace\n creator\n type\n createdAt\n updatedAt\n versions {\n totalCount\n nodes {\n ... on TuningVersionedDataset {\n ID\n description\n version\n creator\n createdAt\n updatedAt\n contentCount\n }\n }\n }\n }\n }\n }\n }\n}\n "])));
|
|
248
|
+
export var GetTuningDataSetDocument = gql(_templateObject91 || (_templateObject91 = _taggedTemplateLiteral(["\n query getTuningDataSet($id: String!) {\n TuningDataSet {\n getTuningDataSet(id: $id) {\n ID\n name\n namespace\n creator\n type\n createdAt\n updatedAt\n versions {\n totalCount\n nodes {\n ... on TuningVersionedDataset {\n ID\n description\n version\n creator\n createdAt\n updatedAt\n contentCount\n }\n }\n }\n }\n }\n}\n "])));
|
|
249
|
+
export var GetVersionDocument = gql(_templateObject92 || (_templateObject92 = _taggedTemplateLiteral(["\n query getVersion($id: String!) {\n TuningDataSet {\n getVersion(id: $id) {\n ID\n description\n version\n creator\n createdAt\n updatedAt\n contentCount\n files {\n totalCount\n nodes {\n ... on TuningVersionedDatasetFiles {\n ID\n fileName\n size\n count\n status\n createdAt\n updatedAt\n msg\n }\n }\n }\n }\n }\n}\n "])));
|
|
250
|
+
export var GetVersionContentDocument = gql(_templateObject93 || (_templateObject93 = _taggedTemplateLiteral(["\n query getVersionContent($id: String!, $input: ListCommonInput) {\n TuningDataSet {\n getVersionContent(id: $id, input: $input) {\n totalCount\n nodes {\n ... on TuningVersionedDatasetContent {\n ID\n data {\n instruction\n output\n input\n system\n history\n }\n createdAt\n updatedAt\n }\n }\n }\n }\n}\n "])));
|
|
251
|
+
export var CreateTuningDataSetDocument = gql(_templateObject94 || (_templateObject94 = _taggedTemplateLiteral(["\n mutation createTuningDataSet($input: CreateTuningDataSetInput!) {\n TuningDataSet {\n createTuningDataSet(input: $input) {\n datasetID\n versionIDs\n }\n }\n}\n "])));
|
|
252
|
+
export var UpdateTuningDataSetDocument = gql(_templateObject95 || (_templateObject95 = _taggedTemplateLiteral(["\n mutation updateTuningDataSet($id: String!, $newName: String!) {\n TuningDataSet {\n updateTuningDataSet(id: $id, newName: $newName)\n }\n}\n "])));
|
|
253
|
+
export var DeleteTuningDataSetDocument = gql(_templateObject96 || (_templateObject96 = _taggedTemplateLiteral(["\n mutation deleteTuningDataSet($id: [String!]) {\n TuningDataSet {\n deleteTuningDataSet(id: $id)\n }\n}\n "])));
|
|
254
|
+
export var AddVersionDocument = gql(_templateObject97 || (_templateObject97 = _taggedTemplateLiteral(["\n mutation addVersion($input: AddVersionInput!) {\n TuningDataSet {\n addVersion(input: $input)\n }\n}\n "])));
|
|
255
|
+
export var DeleteVersionsDocument = gql(_templateObject98 || (_templateObject98 = _taggedTemplateLiteral(["\n mutation deleteVersions($id: [String!]) {\n TuningDataSet {\n deleteVersions(id: $id)\n }\n}\n "])));
|
|
256
|
+
export var AddContentDocument = gql(_templateObject99 || (_templateObject99 = _taggedTemplateLiteral(["\n mutation addContent($input: AddContentInput!) {\n TuningDataSet {\n addContent(input: $input)\n }\n}\n "])));
|
|
257
|
+
export var UpdateContentDocument = gql(_templateObject100 || (_templateObject100 = _taggedTemplateLiteral(["\n mutation updateContent($input: updateContentInput!) {\n TuningDataSet {\n updateContent(input: $input)\n }\n}\n "])));
|
|
258
|
+
export var DeleteContentDocument = gql(_templateObject101 || (_templateObject101 = _taggedTemplateLiteral(["\n mutation deleteContent($contentIDs: [String!]) {\n TuningDataSet {\n deleteContent(contentIDs: $contentIDs)\n }\n}\n "])));
|
|
259
|
+
export var DeleteVersionAllContentDocument = gql(_templateObject102 || (_templateObject102 = _taggedTemplateLiteral(["\n mutation deleteVersionAllContent($id: String!) {\n TuningDataSet {\n deleteVersionAllContent(id: $id)\n }\n}\n "])));
|
|
260
|
+
export var LoadVersionFilesDocument = gql(_templateObject103 || (_templateObject103 = _taggedTemplateLiteral(["\n mutation loadVersionFiles($id: String!, $files: [String!]) {\n TuningDataSet {\n loadVersionFiles(id: $id, files: $files)\n }\n}\n "])));
|
|
261
|
+
export var ListSftDocument = gql(_templateObject104 || (_templateObject104 = _taggedTemplateLiteral(["\n query listSFT($input: ListCommonInput!) {\n SFT {\n listSFT(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on SFT {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n sourceID\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n }\n }\n}\n "])));
|
|
262
|
+
export var GetSftDocument = gql(_templateObject105 || (_templateObject105 = _taggedTemplateLiteral(["\n query getSFT($name: String!, $namespace: String!) {\n SFT {\n getSFT(name: $name, namespace: $namespace) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n sourceID\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n}\n "])));
|
|
263
|
+
export var ListSftMetricDocument = gql(_templateObject106 || (_templateObject106 = _taggedTemplateLiteral(["\n query listSFTMetric($kind: String!) {\n SFT {\n listSFTMetric(kind: $kind) {\n ... on SFTMetric {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n }\n }\n}\n "])));
|
|
264
|
+
export var CreateSftDocument = gql(_templateObject107 || (_templateObject107 = _taggedTemplateLiteral(["\n mutation createSFT($input: CreateSFTInput!) {\n SFT {\n createSFT(input: $input) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n sourceID\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n}\n "])));
|
|
265
|
+
export var UpdateSftDocument = gql(_templateObject108 || (_templateObject108 = _taggedTemplateLiteral(["\n mutation updateSFT($input: UpdateSFTInput!) {\n SFT {\n updateSFT(input: $input) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n sourceID\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n}\n "])));
|
|
266
|
+
export var DeleteSftDocument = gql(_templateObject109 || (_templateObject109 = _taggedTemplateLiteral(["\n mutation deleteSFT($input: DeleteCommonInput!) {\n SFT {\n deleteSFT(input: $input)\n }\n}\n "])));
|
|
267
|
+
export var ExportSftDocument = gql(_templateObject110 || (_templateObject110 = _taggedTemplateLiteral(["\n mutation exportSFT($name: String!, $namespace: String!) {\n SFT {\n exportSFT(name: $name, namespace: $namespace)\n }\n}\n "])));
|
|
268
|
+
export var CreateVersionedDatasetDocument = gql(_templateObject111 || (_templateObject111 = _taggedTemplateLiteral(["\n mutation createVersionedDataset($input: CreateVersionedDatasetInput!) {\n VersionedDataset {\n createVersionedDataset(input: $input) {\n name\n displayName\n creator\n namespace\n version\n updateTimestamp\n creationTimestamp\n released\n syncStatus\n dataProcessStatus\n }\n }\n}\n "])));
|
|
269
|
+
export var UpdateVersionedDatasetDocument = gql(_templateObject112 || (_templateObject112 = _taggedTemplateLiteral(["\n mutation updateVersionedDataset($input: UpdateVersionedDatasetInput!) {\n VersionedDataset {\n updateVersionedDataset(input: $input) {\n name\n displayName\n }\n }\n}\n "])));
|
|
270
|
+
export var DeleteVersionedDatasetsDocument = gql(_templateObject113 || (_templateObject113 = _taggedTemplateLiteral(["\n mutation deleteVersionedDatasets($input: DeleteVersionedDatasetInput!) {\n VersionedDataset {\n deleteVersionedDatasets(input: $input)\n }\n}\n "])));
|
|
271
|
+
export var GetVersionedDatasetDocument = gql(_templateObject114 || (_templateObject114 = _taggedTemplateLiteral(["\n query getVersionedDataset($name: String!, $namespace: String!, $fileInput: FileFilter) {\n VersionedDataset {\n getVersionedDataset(name: $name, namespace: $namespace) {\n id\n name\n displayName\n description\n creator\n namespace\n version\n updateTimestamp\n creationTimestamp\n released\n syncStatus\n syncMsg\n dataProcessStatus\n dataProcessMsg\n files(input: $fileInput) {\n totalCount\n hasNextPage\n nodes {\n ... on F {\n path\n time\n fileType\n count\n size\n versions\n latestVersion\n creationTimestamp\n }\n }\n }\n }\n }\n}\n "])));
|
|
272
|
+
export var ListVersionedDatasetsDocument = gql(_templateObject115 || (_templateObject115 = _taggedTemplateLiteral(["\n query listVersionedDatasets($input: ListVersionedDatasetInput!, $fileInput: FileFilter) {\n VersionedDataset {\n listVersionedDatasets(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on VersionedDataset {\n id\n name\n displayName\n description\n creator\n namespace\n version\n updateTimestamp\n creationTimestamp\n released\n syncStatus\n syncMsg\n dataProcessStatus\n dataProcessMsg\n files(input: $fileInput) {\n totalCount\n hasNextPage\n nodes {\n ... on F {\n path\n time\n fileType\n count\n size\n versions\n latestVersion\n creationTimestamp\n }\n }\n }\n }\n }\n }\n }\n}\n "])));
|
|
273
|
+
export var ListWorkersDocument = gql(_templateObject116 || (_templateObject116 = _taggedTemplateLiteral(["\n query listWorkers($input: ListWorkerInput!) {\n Worker {\n listWorkers(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Worker {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n status\n message\n updateTimestamp\n type\n model {\n name\n namespace\n kind\n apiGroup\n }\n api\n modelTypes\n llmModels\n embeddingModels\n rerankingModels\n replicas\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n }\n }\n}\n "])));
|
|
274
|
+
export var GetWorkerDocument = gql(_templateObject117 || (_templateObject117 = _taggedTemplateLiteral(["\n query getWorker($name: String!, $namespace: String!) {\n Worker {\n getWorker(name: $name, namespace: $namespace) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n type\n status\n message\n updateTimestamp\n model {\n name\n namespace\n kind\n apiGroup\n }\n api\n modelTypes\n llmModels\n embeddingModels\n rerankingModels\n replicas\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n storage {\n accessModes\n resources {\n limits\n requests\n }\n storageClassName\n }\n }\n }\n}\n "])));
|
|
275
|
+
export var CreateWorkerDocument = gql(_templateObject118 || (_templateObject118 = _taggedTemplateLiteral(["\n mutation createWorker($input: CreateWorkerInput!) {\n Worker {\n createWorker(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n type\n status\n message\n updateTimestamp\n model {\n name\n namespace\n kind\n apiGroup\n }\n api\n modelTypes\n llmModels\n embeddingModels\n rerankingModels\n replicas\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n storage {\n accessModes\n resources {\n limits\n requests\n }\n storageClassName\n }\n }\n }\n}\n "])));
|
|
276
|
+
export var UpdateWorkerDocument = gql(_templateObject119 || (_templateObject119 = _taggedTemplateLiteral(["\n mutation updateWorker($input: UpdateWorkerInput) {\n Worker {\n updateWorker(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n type\n status\n message\n updateTimestamp\n replicas\n resources {\n cpu\n memory\n nvidiaGPU\n }\n api\n model {\n name\n namespace\n kind\n apiGroup\n }\n modelTypes\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n}\n "])));
|
|
277
|
+
export var DeleteWorkersDocument = gql(_templateObject120 || (_templateObject120 = _taggedTemplateLiteral(["\n mutation deleteWorkers($input: DeleteCommonInput) {\n Worker {\n deleteWorkers(input: $input)\n }\n}\n "])));
|
|
278
|
+
export var ListWorkflowsDocument = gql(_templateObject121 || (_templateObject121 = _taggedTemplateLiteral(["\n query listWorkflows($input: ListCommonInput!) {\n Workflow {\n listWorkflows(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Workflow {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n icon\n status\n message\n updateTimestamp\n draftUpdateTimestamp\n graph\n release\n }\n }\n }\n }\n}\n "])));
|
|
279
|
+
export var GetWorkflowDocument = gql(_templateObject122 || (_templateObject122 = _taggedTemplateLiteral(["\n query getWorkflow($name: String!, $namespace: String!) {\n Workflow {\n getWorkflow(name: $name, namespace: $namespace) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n icon\n status\n message\n updateTimestamp\n draftUpdateTimestamp\n graph\n release\n }\n }\n}\n "])));
|
|
280
|
+
export var CreateWorkflowDocument = gql(_templateObject123 || (_templateObject123 = _taggedTemplateLiteral(["\n mutation createWorkflow($input: CreateWorkflowInput!) {\n Workflow {\n createWorkflow(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n icon\n status\n message\n updateTimestamp\n draftUpdateTimestamp\n graph\n }\n }\n}\n "])));
|
|
281
|
+
export var UpdateWorkflowDocument = gql(_templateObject124 || (_templateObject124 = _taggedTemplateLiteral(["\n mutation updateWorkflow($input: UpdateWorkflowInput!) {\n Workflow {\n updateWorkflow(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n icon\n status\n message\n updateTimestamp\n draftUpdateTimestamp\n graph\n }\n }\n}\n "])));
|
|
282
|
+
export var DeleteWorkflowDocument = gql(_templateObject125 || (_templateObject125 = _taggedTemplateLiteral(["\n mutation deleteWorkflow($input: DeleteCommonInput!) {\n Workflow {\n deleteWorkflow(input: $input)\n }\n}\n "])));
|
|
283
|
+
export var ReleaseWorkflowDocument = gql(_templateObject126 || (_templateObject126 = _taggedTemplateLiteral(["\n mutation releaseWorkflow($input: ReleaseWorkflowInput!) {\n Workflow {\n releaseWorkflow(input: $input)\n }\n}\n "])));
|
|
280
284
|
var defaultWrapper = function defaultWrapper(action, _operationName, _operationType, variables) {
|
|
281
285
|
return action();
|
|
282
286
|
};
|
|
@@ -563,6 +567,26 @@ export function getSdk(client) {
|
|
|
563
567
|
return client.request(ShowStructuredFileInfoDocument, variables, _objectSpread(_objectSpread({}, requestHeaders), wrappedRequestHeaders));
|
|
564
568
|
}, 'showStructuredFileInfo', 'query', variables);
|
|
565
569
|
},
|
|
570
|
+
createKnowledgeBaseStructuredFiles: function createKnowledgeBaseStructuredFiles(variables, requestHeaders) {
|
|
571
|
+
return withWrapper(function (wrappedRequestHeaders) {
|
|
572
|
+
return client.request(CreateKnowledgeBaseStructuredFilesDocument, variables, _objectSpread(_objectSpread({}, requestHeaders), wrappedRequestHeaders));
|
|
573
|
+
}, 'createKnowledgeBaseStructuredFiles', 'mutation', variables);
|
|
574
|
+
},
|
|
575
|
+
createKnowledgeBaseStructuredFileChunk: function createKnowledgeBaseStructuredFileChunk(variables, requestHeaders) {
|
|
576
|
+
return withWrapper(function (wrappedRequestHeaders) {
|
|
577
|
+
return client.request(CreateKnowledgeBaseStructuredFileChunkDocument, variables, _objectSpread(_objectSpread({}, requestHeaders), wrappedRequestHeaders));
|
|
578
|
+
}, 'createKnowledgeBaseStructuredFileChunk', 'mutation', variables);
|
|
579
|
+
},
|
|
580
|
+
updateKnowledgeBaseStructuredFileChunk: function updateKnowledgeBaseStructuredFileChunk(variables, requestHeaders) {
|
|
581
|
+
return withWrapper(function (wrappedRequestHeaders) {
|
|
582
|
+
return client.request(UpdateKnowledgeBaseStructuredFileChunkDocument, variables, _objectSpread(_objectSpread({}, requestHeaders), wrappedRequestHeaders));
|
|
583
|
+
}, 'updateKnowledgeBaseStructuredFileChunk', 'mutation', variables);
|
|
584
|
+
},
|
|
585
|
+
listKnowledgeBaseStructuredFileChunks: function listKnowledgeBaseStructuredFileChunks(variables, requestHeaders) {
|
|
586
|
+
return withWrapper(function (wrappedRequestHeaders) {
|
|
587
|
+
return client.request(ListKnowledgeBaseStructuredFileChunksDocument, variables, _objectSpread(_objectSpread({}, requestHeaders), wrappedRequestHeaders));
|
|
588
|
+
}, 'listKnowledgeBaseStructuredFileChunks', 'query', variables);
|
|
589
|
+
},
|
|
566
590
|
listLLMs: function listLLMs(variables, requestHeaders) {
|
|
567
591
|
return withWrapper(function (wrappedRequestHeaders) {
|
|
568
592
|
return client.request(ListLlMsDocument, variables, _objectSpread(_objectSpread({}, requestHeaders), wrappedRequestHeaders));
|
|
@@ -1050,6 +1074,11 @@ export function getSdkWithHooks(client) {
|
|
|
1050
1074
|
return sdk.showStructuredFileInfo(variables);
|
|
1051
1075
|
}, config);
|
|
1052
1076
|
},
|
|
1077
|
+
useListKnowledgeBaseStructuredFileChunks: function useListKnowledgeBaseStructuredFileChunks(variables, config) {
|
|
1078
|
+
return useSWR(genKey('ListKnowledgeBaseStructuredFileChunks', variables), function () {
|
|
1079
|
+
return sdk.listKnowledgeBaseStructuredFileChunks(variables);
|
|
1080
|
+
}, config);
|
|
1081
|
+
},
|
|
1053
1082
|
useListLlMs: function useListLlMs(variables, config) {
|
|
1054
1083
|
return useSWR(genKey('ListLlMs', variables), function () {
|
|
1055
1084
|
return sdk.listLLMs(variables);
|
package/dist/esm/taro.d.ts
CHANGED
|
@@ -220,6 +220,18 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
220
220
|
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
221
221
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
222
222
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
223
|
+
createKnowledgeBaseStructuredFiles(variables: import("./sdk").Exact<{
|
|
224
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
225
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateKnowledgeBaseStructuredFilesMutation>;
|
|
226
|
+
createKnowledgeBaseStructuredFileChunk(variables: import("./sdk").Exact<{
|
|
227
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileChunkInput;
|
|
228
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateKnowledgeBaseStructuredFileChunkMutation>;
|
|
229
|
+
updateKnowledgeBaseStructuredFileChunk(variables: import("./sdk").Exact<{
|
|
230
|
+
input: import("./sdk").UpdateKnowledgeBaseStructuredFileChunkInput;
|
|
231
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateKnowledgeBaseStructuredFileChunkMutation>;
|
|
232
|
+
listKnowledgeBaseStructuredFileChunks(variables: import("./sdk").Exact<{
|
|
233
|
+
input: import("./sdk").ListKnowledgeBaseStructuredFileChunksInput;
|
|
234
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseStructuredFileChunksQuery>;
|
|
223
235
|
listLLMs(variables: import("./sdk").Exact<{
|
|
224
236
|
input: import("./sdk").ListCommonInput;
|
|
225
237
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListLlMsQuery>;
|
|
@@ -547,6 +559,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
547
559
|
useShowStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
548
560
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
549
561
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError>;
|
|
562
|
+
useListKnowledgeBaseStructuredFileChunks(variables: import("./sdk").Exact<{
|
|
563
|
+
input: import("./sdk").ListKnowledgeBaseStructuredFileChunksInput;
|
|
564
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseStructuredFileChunksQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseStructuredFileChunksQuery, import("graphql-request/src/types").ClientError>;
|
|
550
565
|
useListLlMs(variables: import("./sdk").Exact<{
|
|
551
566
|
input: import("./sdk").ListCommonInput;
|
|
552
567
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListLlMsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListLlMsQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -841,6 +856,18 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
841
856
|
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
842
857
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
843
858
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
859
|
+
createKnowledgeBaseStructuredFiles(variables: import("./sdk").Exact<{
|
|
860
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
861
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateKnowledgeBaseStructuredFilesMutation>;
|
|
862
|
+
createKnowledgeBaseStructuredFileChunk(variables: import("./sdk").Exact<{
|
|
863
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileChunkInput;
|
|
864
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateKnowledgeBaseStructuredFileChunkMutation>;
|
|
865
|
+
updateKnowledgeBaseStructuredFileChunk(variables: import("./sdk").Exact<{
|
|
866
|
+
input: import("./sdk").UpdateKnowledgeBaseStructuredFileChunkInput;
|
|
867
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateKnowledgeBaseStructuredFileChunkMutation>;
|
|
868
|
+
listKnowledgeBaseStructuredFileChunks(variables: import("./sdk").Exact<{
|
|
869
|
+
input: import("./sdk").ListKnowledgeBaseStructuredFileChunksInput;
|
|
870
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseStructuredFileChunksQuery>;
|
|
844
871
|
listLLMs(variables: import("./sdk").Exact<{
|
|
845
872
|
input: import("./sdk").ListCommonInput;
|
|
846
873
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListLlMsQuery>;
|
|
@@ -1168,6 +1195,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1168
1195
|
useShowStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
1169
1196
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
1170
1197
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError>;
|
|
1198
|
+
useListKnowledgeBaseStructuredFileChunks(variables: import("./sdk").Exact<{
|
|
1199
|
+
input: import("./sdk").ListKnowledgeBaseStructuredFileChunksInput;
|
|
1200
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseStructuredFileChunksQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseStructuredFileChunksQuery, import("graphql-request/src/types").ClientError>;
|
|
1171
1201
|
useListLlMs(variables: import("./sdk").Exact<{
|
|
1172
1202
|
input: import("./sdk").ListCommonInput;
|
|
1173
1203
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListLlMsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListLlMsQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -1462,6 +1492,18 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1462
1492
|
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
1463
1493
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
1464
1494
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
1495
|
+
createKnowledgeBaseStructuredFiles(variables: import("./sdk").Exact<{
|
|
1496
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
1497
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateKnowledgeBaseStructuredFilesMutation>;
|
|
1498
|
+
createKnowledgeBaseStructuredFileChunk(variables: import("./sdk").Exact<{
|
|
1499
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileChunkInput;
|
|
1500
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateKnowledgeBaseStructuredFileChunkMutation>;
|
|
1501
|
+
updateKnowledgeBaseStructuredFileChunk(variables: import("./sdk").Exact<{
|
|
1502
|
+
input: import("./sdk").UpdateKnowledgeBaseStructuredFileChunkInput;
|
|
1503
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateKnowledgeBaseStructuredFileChunkMutation>;
|
|
1504
|
+
listKnowledgeBaseStructuredFileChunks(variables: import("./sdk").Exact<{
|
|
1505
|
+
input: import("./sdk").ListKnowledgeBaseStructuredFileChunksInput;
|
|
1506
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseStructuredFileChunksQuery>;
|
|
1465
1507
|
listLLMs(variables: import("./sdk").Exact<{
|
|
1466
1508
|
input: import("./sdk").ListCommonInput;
|
|
1467
1509
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListLlMsQuery>;
|