@yuntijs/arcadia-bff-sdk 1.2.62 → 1.2.63

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/sdk.d.ts CHANGED
@@ -1309,8 +1309,14 @@ export type KnowledgeBase = {
1309
1309
  };
1310
1310
  export type KnowledgeBaseFile = {
1311
1311
  __typename?: 'KnowledgeBaseFile';
1312
+ /** 分段方式 */
1313
+ chunkMethod: Scalars['String']['output'];
1314
+ /** 分段大小 */
1315
+ chunkSize: Scalars['Int']['output'];
1312
1316
  /** 文件中的数据条目总数 */
1313
- count?: Maybe<Scalars['Int']['output']>;
1317
+ count: Scalars['Int']['output'];
1318
+ /** 创建时间 */
1319
+ createTimestamp?: Maybe<Scalars['Time']['output']>;
1314
1320
  /** 唯一ID */
1315
1321
  id: Scalars['String']['output'];
1316
1322
  /** 文件名 */
@@ -1321,7 +1327,9 @@ export type KnowledgeBaseFile = {
1321
1327
  */
1322
1328
  phase?: Maybe<Scalars['String']['output']>;
1323
1329
  /** 文件大小 */
1324
- size?: Maybe<Scalars['String']['output']>;
1330
+ size: Scalars['String']['output'];
1331
+ /** 文件大小-字符长度 */
1332
+ sizeInBytes: Scalars['Int64']['output'];
1325
1333
  /** 存储所在数据源 */
1326
1334
  source: Scalars['String']['output'];
1327
1335
  /** 数据源类型 */
@@ -1337,6 +1345,7 @@ export type KnowledgeBaseFileChunk = {
1337
1345
  createdAt?: Maybe<Scalars['Time']['output']>;
1338
1346
  fileId: Scalars['String']['output'];
1339
1347
  id: Scalars['String']['output'];
1348
+ indexInFile: Scalars['Int']['output'];
1340
1349
  processingPhase: Scalars['String']['output'];
1341
1350
  updatedAt?: Maybe<Scalars['Time']['output']>;
1342
1351
  };
@@ -1378,6 +1387,7 @@ export type KnowledgeBaseMutationUpdateKnowledgeBaseFileChunkArgs = {
1378
1387
  export type KnowledgeBaseQuery = {
1379
1388
  __typename?: 'KnowledgeBaseQuery';
1380
1389
  getKnowledgeBase: KnowledgeBase;
1390
+ getKnowledgeBaseFile: KnowledgeBaseFile;
1381
1391
  listKnowledgeBaseFileChunks: PaginatedResult;
1382
1392
  listKnowledgeBaseFiles: PaginatedResult;
1383
1393
  listKnowledgeBases: PaginatedResult;
@@ -1386,6 +1396,9 @@ export type KnowledgeBaseQueryGetKnowledgeBaseArgs = {
1386
1396
  name: Scalars['String']['input'];
1387
1397
  namespace: Scalars['String']['input'];
1388
1398
  };
1399
+ export type KnowledgeBaseQueryGetKnowledgeBaseFileArgs = {
1400
+ id: Scalars['String']['input'];
1401
+ };
1389
1402
  export type KnowledgeBaseQueryListKnowledgeBaseFileChunksArgs = {
1390
1403
  input: ListKnowledgeBaseFileChunksInput;
1391
1404
  };
@@ -5249,9 +5262,13 @@ export type ListKnowledgeBaseFilesQuery = {
5249
5262
  source: string;
5250
5263
  sourceType: string;
5251
5264
  name: string;
5252
- size?: string | null;
5253
- count?: number | null;
5265
+ size: string;
5266
+ sizeInBytes: any;
5267
+ chunkMethod: string;
5268
+ chunkSize: number;
5269
+ count: number;
5254
5270
  timeCost?: any | null;
5271
+ createTimestamp?: any | null;
5255
5272
  updateTimestamp?: any | null;
5256
5273
  phase?: string | null;
5257
5274
  } | {
@@ -5359,6 +5376,7 @@ export type ListKnowledgeBaseFileChunksQuery = {
5359
5376
  fileId: string;
5360
5377
  createdAt?: any | null;
5361
5378
  updatedAt?: any | null;
5379
+ indexInFile: number;
5362
5380
  content: string;
5363
5381
  processingPhase: string;
5364
5382
  } | {
package/dist/cjs/sdk.js CHANGED
@@ -1235,8 +1235,12 @@ var ListKnowledgeBaseFilesDocument = import_graphql_tag.default`
1235
1235
  sourceType
1236
1236
  name
1237
1237
  size
1238
+ sizeInBytes
1239
+ chunkMethod
1240
+ chunkSize
1238
1241
  count
1239
1242
  timeCost
1243
+ createTimestamp
1240
1244
  updateTimestamp
1241
1245
  phase
1242
1246
  }
@@ -1278,6 +1282,7 @@ var ListKnowledgeBaseFileChunksDocument = import_graphql_tag.default`
1278
1282
  fileId
1279
1283
  createdAt
1280
1284
  updatedAt
1285
+ indexInFile
1281
1286
  content
1282
1287
  processingPhase
1283
1288
  }
package/dist/esm/sdk.d.ts CHANGED
@@ -1309,8 +1309,14 @@ export type KnowledgeBase = {
1309
1309
  };
1310
1310
  export type KnowledgeBaseFile = {
1311
1311
  __typename?: 'KnowledgeBaseFile';
1312
+ /** 分段方式 */
1313
+ chunkMethod: Scalars['String']['output'];
1314
+ /** 分段大小 */
1315
+ chunkSize: Scalars['Int']['output'];
1312
1316
  /** 文件中的数据条目总数 */
1313
- count?: Maybe<Scalars['Int']['output']>;
1317
+ count: Scalars['Int']['output'];
1318
+ /** 创建时间 */
1319
+ createTimestamp?: Maybe<Scalars['Time']['output']>;
1314
1320
  /** 唯一ID */
1315
1321
  id: Scalars['String']['output'];
1316
1322
  /** 文件名 */
@@ -1321,7 +1327,9 @@ export type KnowledgeBaseFile = {
1321
1327
  */
1322
1328
  phase?: Maybe<Scalars['String']['output']>;
1323
1329
  /** 文件大小 */
1324
- size?: Maybe<Scalars['String']['output']>;
1330
+ size: Scalars['String']['output'];
1331
+ /** 文件大小-字符长度 */
1332
+ sizeInBytes: Scalars['Int64']['output'];
1325
1333
  /** 存储所在数据源 */
1326
1334
  source: Scalars['String']['output'];
1327
1335
  /** 数据源类型 */
@@ -1337,6 +1345,7 @@ export type KnowledgeBaseFileChunk = {
1337
1345
  createdAt?: Maybe<Scalars['Time']['output']>;
1338
1346
  fileId: Scalars['String']['output'];
1339
1347
  id: Scalars['String']['output'];
1348
+ indexInFile: Scalars['Int']['output'];
1340
1349
  processingPhase: Scalars['String']['output'];
1341
1350
  updatedAt?: Maybe<Scalars['Time']['output']>;
1342
1351
  };
@@ -1378,6 +1387,7 @@ export type KnowledgeBaseMutationUpdateKnowledgeBaseFileChunkArgs = {
1378
1387
  export type KnowledgeBaseQuery = {
1379
1388
  __typename?: 'KnowledgeBaseQuery';
1380
1389
  getKnowledgeBase: KnowledgeBase;
1390
+ getKnowledgeBaseFile: KnowledgeBaseFile;
1381
1391
  listKnowledgeBaseFileChunks: PaginatedResult;
1382
1392
  listKnowledgeBaseFiles: PaginatedResult;
1383
1393
  listKnowledgeBases: PaginatedResult;
@@ -1386,6 +1396,9 @@ export type KnowledgeBaseQueryGetKnowledgeBaseArgs = {
1386
1396
  name: Scalars['String']['input'];
1387
1397
  namespace: Scalars['String']['input'];
1388
1398
  };
1399
+ export type KnowledgeBaseQueryGetKnowledgeBaseFileArgs = {
1400
+ id: Scalars['String']['input'];
1401
+ };
1389
1402
  export type KnowledgeBaseQueryListKnowledgeBaseFileChunksArgs = {
1390
1403
  input: ListKnowledgeBaseFileChunksInput;
1391
1404
  };
@@ -5249,9 +5262,13 @@ export type ListKnowledgeBaseFilesQuery = {
5249
5262
  source: string;
5250
5263
  sourceType: string;
5251
5264
  name: string;
5252
- size?: string | null;
5253
- count?: number | null;
5265
+ size: string;
5266
+ sizeInBytes: any;
5267
+ chunkMethod: string;
5268
+ chunkSize: number;
5269
+ count: number;
5254
5270
  timeCost?: any | null;
5271
+ createTimestamp?: any | null;
5255
5272
  updateTimestamp?: any | null;
5256
5273
  phase?: string | null;
5257
5274
  } | {
@@ -5359,6 +5376,7 @@ export type ListKnowledgeBaseFileChunksQuery = {
5359
5376
  fileId: string;
5360
5377
  createdAt?: any | null;
5361
5378
  updatedAt?: any | null;
5379
+ indexInFile: number;
5362
5380
  content: string;
5363
5381
  processingPhase: string;
5364
5382
  } | {
package/dist/esm/sdk.js CHANGED
@@ -204,11 +204,11 @@ export var UpdateKnowledgeBaseDocument = gql(_templateObject46 || (_templateObje
204
204
  export var DeleteKnowledgeBaseDocument = gql(_templateObject47 || (_templateObject47 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBase($input: DeleteCommonInput) {\n KnowledgeBase {\n deleteKnowledgeBase(input: $input)\n }\n}\n "])));
205
205
  export var CreateKnowledgeBaseFilesDocument = gql(_templateObject48 || (_templateObject48 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseFiles($input: CreateKnowledgeBaseFileInput!) {\n KnowledgeBase {\n createKnowledgeBaseFiles(input: $input)\n }\n}\n "])));
206
206
  export var DeleteKnowledgeBaseFilesDocument = gql(_templateObject49 || (_templateObject49 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBaseFiles($input: DeleteKnowledgeBaseFileInput!) {\n KnowledgeBase {\n deleteKnowledgeBaseFiles(input: $input)\n }\n}\n "])));
207
- export var ListKnowledgeBaseFilesDocument = gql(_templateObject50 || (_templateObject50 = _taggedTemplateLiteral(["\n query listKnowledgeBaseFiles($input: ListKnowledgeBaseFilesInput!) {\n KnowledgeBase {\n listKnowledgeBaseFiles(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBaseFile {\n id\n source\n sourceType\n name\n size\n count\n timeCost\n updateTimestamp\n phase\n }\n }\n }\n }\n}\n "])));
207
+ export var ListKnowledgeBaseFilesDocument = gql(_templateObject50 || (_templateObject50 = _taggedTemplateLiteral(["\n query listKnowledgeBaseFiles($input: ListKnowledgeBaseFilesInput!) {\n KnowledgeBase {\n listKnowledgeBaseFiles(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBaseFile {\n id\n source\n sourceType\n name\n size\n sizeInBytes\n chunkMethod\n chunkSize\n count\n timeCost\n createTimestamp\n updateTimestamp\n phase\n }\n }\n }\n }\n}\n "])));
208
208
  export var CreateKnowledgeBaseFileChunkDocument = gql(_templateObject51 || (_templateObject51 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseFileChunk($input: CreateKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n createKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
209
209
  export var UpdateKnowledgeBaseFileChunkDocument = gql(_templateObject52 || (_templateObject52 = _taggedTemplateLiteral(["\n mutation updateKnowledgeBaseFileChunk($input: UpdateKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n updateKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
210
210
  export var DeleteKnowledgeBaseFileChunkDocument = gql(_templateObject53 || (_templateObject53 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBaseFileChunk($input: DeleteKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n deleteKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
211
- export var ListKnowledgeBaseFileChunksDocument = gql(_templateObject54 || (_templateObject54 = _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 content\n processingPhase\n }\n }\n }\n }\n}\n "])));
211
+ export var ListKnowledgeBaseFileChunksDocument = gql(_templateObject54 || (_templateObject54 = _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 processingPhase\n }\n }\n }\n }\n}\n "])));
212
212
  export var ListLlMsDocument = gql(_templateObject55 || (_templateObject55 = _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 "])));
213
213
  export var GetLlmDocument = gql(_templateObject56 || (_templateObject56 = _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 "])));
214
214
  export var ListModelsDocument = gql(_templateObject57 || (_templateObject57 = _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 "])));