@yuntijs/arcadia-bff-sdk 1.2.68 → 1.2.70
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 +21 -0
- package/dist/cjs/sdk.d.ts +114 -5
- package/dist/cjs/sdk.js +33 -1
- package/dist/cjs/taro.d.ts +15 -0
- package/dist/esm/index.d.ts +21 -0
- package/dist/esm/sdk.d.ts +114 -5
- package/dist/esm/sdk.js +82 -71
- package/dist/esm/taro.d.ts +15 -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/cjs/index.d.ts
CHANGED
|
@@ -111,6 +111,9 @@ export declare const sdk: {
|
|
|
111
111
|
useListKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
112
112
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
113
113
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError>;
|
|
114
|
+
useShowStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
115
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
116
|
+
}>, 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>;
|
|
114
117
|
useListLlMs(variables: import("./sdk").Exact<{
|
|
115
118
|
input: import("./sdk").ListCommonInput;
|
|
116
119
|
}>, 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>;
|
|
@@ -402,6 +405,9 @@ export declare const sdk: {
|
|
|
402
405
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
403
406
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
404
407
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
408
|
+
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
409
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
410
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
405
411
|
listLLMs(variables: import("./sdk").Exact<{
|
|
406
412
|
input: import("./sdk").ListCommonInput;
|
|
407
413
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListLlMsQuery>;
|
|
@@ -829,6 +835,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
829
835
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
830
836
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
831
837
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
838
|
+
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
839
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
840
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
832
841
|
listLLMs(variables: import("./sdk").Exact<{
|
|
833
842
|
input: import("./sdk").ListCommonInput;
|
|
834
843
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListLlMsQuery>;
|
|
@@ -1153,6 +1162,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1153
1162
|
useListKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
1154
1163
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
1155
1164
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError>;
|
|
1165
|
+
useShowStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
1166
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
1167
|
+
}>, 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>;
|
|
1156
1168
|
useListLlMs(variables: import("./sdk").Exact<{
|
|
1157
1169
|
input: import("./sdk").ListCommonInput;
|
|
1158
1170
|
}>, 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>;
|
|
@@ -1444,6 +1456,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1444
1456
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
1445
1457
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
1446
1458
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
1459
|
+
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
1460
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
1461
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
1447
1462
|
listLLMs(variables: import("./sdk").Exact<{
|
|
1448
1463
|
input: import("./sdk").ListCommonInput;
|
|
1449
1464
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListLlMsQuery>;
|
|
@@ -1768,6 +1783,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1768
1783
|
useListKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
1769
1784
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
1770
1785
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError>;
|
|
1786
|
+
useShowStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
1787
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
1788
|
+
}>, 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>;
|
|
1771
1789
|
useListLlMs(variables: import("./sdk").Exact<{
|
|
1772
1790
|
input: import("./sdk").ListCommonInput;
|
|
1773
1791
|
}>, 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>;
|
|
@@ -2059,6 +2077,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2059
2077
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
2060
2078
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
2061
2079
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
2080
|
+
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
2081
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
2082
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
2062
2083
|
listLLMs(variables: import("./sdk").Exact<{
|
|
2063
2084
|
input: import("./sdk").ListCommonInput;
|
|
2064
2085
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListLlMsQuery>;
|
package/dist/cjs/sdk.d.ts
CHANGED
|
@@ -454,7 +454,10 @@ export type CreateKnowledgeBaseFileChunkInput = {
|
|
|
454
454
|
fileId: Scalars['String']['input'];
|
|
455
455
|
};
|
|
456
456
|
export type CreateKnowledgeBaseFileInput = {
|
|
457
|
-
/**
|
|
457
|
+
/**
|
|
458
|
+
* 文件存储路径
|
|
459
|
+
* 如果知识库为表格数据类型,则一次仅允许上传一个文件
|
|
460
|
+
*/
|
|
458
461
|
filePaths?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
459
462
|
/** knowledgebase所属知识库 */
|
|
460
463
|
knowledgebase: Scalars['String']['input'];
|
|
@@ -484,6 +487,10 @@ export type CreateKnowledgeBaseInput = {
|
|
|
484
487
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
485
488
|
/** embedder指当前知识库使用的embedding向量化模型 */
|
|
486
489
|
embedder: TypedObjectReferenceInput;
|
|
490
|
+
/** headers结构化数据列 */
|
|
491
|
+
headers?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
492
|
+
/** indexHeader结构化数据的索引列 */
|
|
493
|
+
indexHeader?: InputMaybe<Scalars['Int']['input']>;
|
|
487
494
|
/** 知识库资源标签 */
|
|
488
495
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
489
496
|
/** 知识库资源名称(不可同名) */
|
|
@@ -493,6 +500,24 @@ export type CreateKnowledgeBaseInput = {
|
|
|
493
500
|
/** "向量数据库(目前不需要填写,直接使用系统默认的向量数据库) */
|
|
494
501
|
vectorStore?: InputMaybe<TypedObjectReferenceInput>;
|
|
495
502
|
};
|
|
503
|
+
export type CreateKnowledgeBaseStructuredFileInput = {
|
|
504
|
+
filePath: Scalars['String']['input'];
|
|
505
|
+
/** knowledgebase所属知识库 */
|
|
506
|
+
knowledgebase: Scalars['String']['input'];
|
|
507
|
+
/** >rowHeader.默认为rowHeader+1 */
|
|
508
|
+
rowDataStart?: InputMaybe<Scalars['Int']['input']>;
|
|
509
|
+
/** 1~9 */
|
|
510
|
+
rowHeader?: InputMaybe<Scalars['Int']['input']>;
|
|
511
|
+
/** 如果知识库为表格数据类型,文件为Excel,CSV等文本数据 */
|
|
512
|
+
sheet: Scalars['String']['input'];
|
|
513
|
+
/**
|
|
514
|
+
* source原文件所在存储源,有如下可能:
|
|
515
|
+
* - datasource : 代表为从数据源中选择的文件
|
|
516
|
+
* - dataset : 代表为从数据集中选择的文件
|
|
517
|
+
* - nil: 代表为直接上传的文件
|
|
518
|
+
*/
|
|
519
|
+
source?: InputMaybe<TypedObjectReferenceInput>;
|
|
520
|
+
};
|
|
496
521
|
/** 创建模型的输入 */
|
|
497
522
|
export type CreateModelInput = {
|
|
498
523
|
/** 模型资源描述 */
|
|
@@ -616,6 +641,11 @@ export type CreateTuningDataSetInput = {
|
|
|
616
641
|
/** 创建的时候带着版本 */
|
|
617
642
|
versions: Array<CreateTuningVersionedDataSetInput>;
|
|
618
643
|
};
|
|
644
|
+
export type CreateTuningDatasetOutput = {
|
|
645
|
+
__typename?: 'CreateTuningDatasetOutput';
|
|
646
|
+
datasetID: Scalars['String']['output'];
|
|
647
|
+
versionIDs: Array<Scalars['String']['output']>;
|
|
648
|
+
};
|
|
619
649
|
export type CreateTuningVersionedDataSetInput = {
|
|
620
650
|
/** 训练数据集版本的描述信息 */
|
|
621
651
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1281,8 +1311,12 @@ export type KnowledgeBase = {
|
|
|
1281
1311
|
/** embedder指当前知识库使用的embedding向量化模型,即 Kind 为 Embedder */
|
|
1282
1312
|
embedder?: Maybe<TypedObjectReference>;
|
|
1283
1313
|
embedderType?: Maybe<Scalars['String']['output']>;
|
|
1314
|
+
/** 结构化知识库:headers */
|
|
1315
|
+
headers?: Maybe<Array<Scalars['String']['output']>>;
|
|
1284
1316
|
/** 知识库id,为CR资源中的metadata.uid */
|
|
1285
1317
|
id?: Maybe<Scalars['String']['output']>;
|
|
1318
|
+
/** 结构化知识库:索引列 */
|
|
1319
|
+
indexHeader?: Maybe<Scalars['Int']['output']>;
|
|
1286
1320
|
/** 一些用于标记,选择的的标签 */
|
|
1287
1321
|
labels?: Maybe<Scalars['Map']['output']>;
|
|
1288
1322
|
/** 知识库状态的原因的详细内容 */
|
|
@@ -1360,11 +1394,15 @@ export type KnowledgeBaseMutation = {
|
|
|
1360
1394
|
createKnowledgeBase: KnowledgeBase;
|
|
1361
1395
|
createKnowledgeBaseFileChunk?: Maybe<Scalars['Void']['output']>;
|
|
1362
1396
|
createKnowledgeBaseFiles?: Maybe<Scalars['Void']['output']>;
|
|
1397
|
+
createKnowledgeBaseStructuredFileChunk?: Maybe<Scalars['Void']['output']>;
|
|
1398
|
+
createKnowledgeBaseStructuredFiles?: Maybe<Scalars['Void']['output']>;
|
|
1363
1399
|
deleteKnowledgeBase?: Maybe<Scalars['Void']['output']>;
|
|
1364
1400
|
deleteKnowledgeBaseFileChunk?: Maybe<Scalars['Void']['output']>;
|
|
1365
1401
|
deleteKnowledgeBaseFiles?: Maybe<Scalars['Void']['output']>;
|
|
1402
|
+
deleteKnowledgeBaseStructuredFileChunk?: Maybe<Scalars['Void']['output']>;
|
|
1366
1403
|
updateKnowledgeBase: KnowledgeBase;
|
|
1367
1404
|
updateKnowledgeBaseFileChunk?: Maybe<Scalars['Void']['output']>;
|
|
1405
|
+
updateKnowledgeBaseStructuredFileChunk?: Maybe<Scalars['Void']['output']>;
|
|
1368
1406
|
};
|
|
1369
1407
|
export type KnowledgeBaseMutationCreateKnowledgeBaseArgs = {
|
|
1370
1408
|
input: CreateKnowledgeBaseInput;
|
|
@@ -1375,6 +1413,12 @@ export type KnowledgeBaseMutationCreateKnowledgeBaseFileChunkArgs = {
|
|
|
1375
1413
|
export type KnowledgeBaseMutationCreateKnowledgeBaseFilesArgs = {
|
|
1376
1414
|
input: CreateKnowledgeBaseFileInput;
|
|
1377
1415
|
};
|
|
1416
|
+
export type KnowledgeBaseMutationCreateKnowledgeBaseStructuredFileChunkArgs = {
|
|
1417
|
+
input: CreateKnowledgeBaseFileChunkInput;
|
|
1418
|
+
};
|
|
1419
|
+
export type KnowledgeBaseMutationCreateKnowledgeBaseStructuredFilesArgs = {
|
|
1420
|
+
input: CreateKnowledgeBaseStructuredFileInput;
|
|
1421
|
+
};
|
|
1378
1422
|
export type KnowledgeBaseMutationDeleteKnowledgeBaseArgs = {
|
|
1379
1423
|
input?: InputMaybe<DeleteCommonInput>;
|
|
1380
1424
|
};
|
|
@@ -1384,19 +1428,27 @@ export type KnowledgeBaseMutationDeleteKnowledgeBaseFileChunkArgs = {
|
|
|
1384
1428
|
export type KnowledgeBaseMutationDeleteKnowledgeBaseFilesArgs = {
|
|
1385
1429
|
input: DeleteKnowledgeBaseFileInput;
|
|
1386
1430
|
};
|
|
1431
|
+
export type KnowledgeBaseMutationDeleteKnowledgeBaseStructuredFileChunkArgs = {
|
|
1432
|
+
input: DeleteKnowledgeBaseFileChunkInput;
|
|
1433
|
+
};
|
|
1387
1434
|
export type KnowledgeBaseMutationUpdateKnowledgeBaseArgs = {
|
|
1388
1435
|
input?: InputMaybe<UpdateKnowledgeBaseInput>;
|
|
1389
1436
|
};
|
|
1390
1437
|
export type KnowledgeBaseMutationUpdateKnowledgeBaseFileChunkArgs = {
|
|
1391
1438
|
input: UpdateKnowledgeBaseFileChunkInput;
|
|
1392
1439
|
};
|
|
1440
|
+
export type KnowledgeBaseMutationUpdateKnowledgeBaseStructuredFileChunkArgs = {
|
|
1441
|
+
input: UpdateKnowledgeBaseFileChunkInput;
|
|
1442
|
+
};
|
|
1393
1443
|
export type KnowledgeBaseQuery = {
|
|
1394
1444
|
__typename?: 'KnowledgeBaseQuery';
|
|
1395
1445
|
getKnowledgeBase: KnowledgeBase;
|
|
1396
1446
|
getKnowledgeBaseFile: KnowledgeBaseFile;
|
|
1397
1447
|
listKnowledgeBaseFileChunks: PaginatedResult;
|
|
1398
1448
|
listKnowledgeBaseFiles: PaginatedResult;
|
|
1449
|
+
listKnowledgeBaseStructuredFileChunks: PaginatedResult;
|
|
1399
1450
|
listKnowledgeBases: PaginatedResult;
|
|
1451
|
+
showStructuredFileInfo: StructuredFileInfo;
|
|
1400
1452
|
};
|
|
1401
1453
|
export type KnowledgeBaseQueryGetKnowledgeBaseArgs = {
|
|
1402
1454
|
name: Scalars['String']['input'];
|
|
@@ -1411,9 +1463,15 @@ export type KnowledgeBaseQueryListKnowledgeBaseFileChunksArgs = {
|
|
|
1411
1463
|
export type KnowledgeBaseQueryListKnowledgeBaseFilesArgs = {
|
|
1412
1464
|
input: ListKnowledgeBaseFilesInput;
|
|
1413
1465
|
};
|
|
1466
|
+
export type KnowledgeBaseQueryListKnowledgeBaseStructuredFileChunksArgs = {
|
|
1467
|
+
input: ListKnowledgeBaseFileChunksInput;
|
|
1468
|
+
};
|
|
1414
1469
|
export type KnowledgeBaseQueryListKnowledgeBasesArgs = {
|
|
1415
1470
|
input: ListKnowledgeBaseInput;
|
|
1416
1471
|
};
|
|
1472
|
+
export type KnowledgeBaseQueryShowStructuredFileInfoArgs = {
|
|
1473
|
+
input: CreateKnowledgeBaseStructuredFileInput;
|
|
1474
|
+
};
|
|
1417
1475
|
export type Llm = {
|
|
1418
1476
|
__typename?: 'LLM';
|
|
1419
1477
|
annotations?: Maybe<Scalars['Map']['output']>;
|
|
@@ -2643,6 +2701,18 @@ export type SelectorInput = {
|
|
|
2643
2701
|
matchExpressions?: InputMaybe<Array<InputMaybe<LabelSelectorRequirementInput>>>;
|
|
2644
2702
|
matchLabels?: InputMaybe<Scalars['Map']['input']>;
|
|
2645
2703
|
};
|
|
2704
|
+
export type StructuredFileInfo = {
|
|
2705
|
+
__typename?: 'StructuredFileInfo';
|
|
2706
|
+
currentSheet: Scalars['String']['output'];
|
|
2707
|
+
headers: Array<Scalars['String']['output']>;
|
|
2708
|
+
rowHeader: Scalars['Int']['output'];
|
|
2709
|
+
sheets: Array<Scalars['String']['output']>;
|
|
2710
|
+
totalRows: Scalars['Int']['output'];
|
|
2711
|
+
};
|
|
2712
|
+
export type StructuredFileParseInput = {
|
|
2713
|
+
filePath: Scalars['String']['input'];
|
|
2714
|
+
knowledgebase: Scalars['String']['input'];
|
|
2715
|
+
};
|
|
2646
2716
|
export type TuningDataSet = {
|
|
2647
2717
|
__typename?: 'TuningDataSet';
|
|
2648
2718
|
ID: Scalars['ID']['output'];
|
|
@@ -2661,8 +2731,8 @@ export type TuningDataSet = {
|
|
|
2661
2731
|
export type TuningDataSetMutation = {
|
|
2662
2732
|
__typename?: 'TuningDataSetMutation';
|
|
2663
2733
|
addContent?: Maybe<Scalars['Void']['output']>;
|
|
2664
|
-
addVersion
|
|
2665
|
-
createTuningDataSet
|
|
2734
|
+
addVersion: Scalars['String']['output'];
|
|
2735
|
+
createTuningDataSet: CreateTuningDatasetOutput;
|
|
2666
2736
|
deleteContent?: Maybe<Scalars['Void']['output']>;
|
|
2667
2737
|
deleteTuningDataSet?: Maybe<Scalars['Void']['output']>;
|
|
2668
2738
|
deleteVersionAllContent?: Maybe<Scalars['Void']['output']>;
|
|
@@ -2974,6 +3044,10 @@ export type UpdateKnowledgeBaseInput = {
|
|
|
2974
3044
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
2975
3045
|
/** 如不更新,则为空 */
|
|
2976
3046
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
3047
|
+
/** headers结构化数据列 */
|
|
3048
|
+
headers?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3049
|
+
/** indexHeader结构化数据的索引列 */
|
|
3050
|
+
indexHeader?: InputMaybe<Scalars['Int']['input']>;
|
|
2977
3051
|
/** 知识库资源标签 */
|
|
2978
3052
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
2979
3053
|
/** 知识库资源名称(不可同名) */
|
|
@@ -5056,6 +5130,8 @@ export type ListKnowledgeBasesQuery = {
|
|
|
5056
5130
|
chunkSize?: number | null;
|
|
5057
5131
|
chunkOverlap?: number | null;
|
|
5058
5132
|
batchSize?: number | null;
|
|
5133
|
+
indexHeader?: number | null;
|
|
5134
|
+
headers?: Array<string> | null;
|
|
5059
5135
|
status?: string | null;
|
|
5060
5136
|
reason?: string | null;
|
|
5061
5137
|
message?: string | null;
|
|
@@ -5136,6 +5212,8 @@ export type GetKnowledgeBaseQuery = {
|
|
|
5136
5212
|
chunkSize?: number | null;
|
|
5137
5213
|
chunkOverlap?: number | null;
|
|
5138
5214
|
batchSize?: number | null;
|
|
5215
|
+
indexHeader?: number | null;
|
|
5216
|
+
headers?: Array<string> | null;
|
|
5139
5217
|
status?: string | null;
|
|
5140
5218
|
reason?: string | null;
|
|
5141
5219
|
message?: string | null;
|
|
@@ -5176,6 +5254,8 @@ export type CreateKnowledgeBaseMutation = {
|
|
|
5176
5254
|
description?: string | null;
|
|
5177
5255
|
dataType?: string | null;
|
|
5178
5256
|
chunkSize?: number | null;
|
|
5257
|
+
indexHeader?: number | null;
|
|
5258
|
+
headers?: Array<string> | null;
|
|
5179
5259
|
chunkOverlap?: number | null;
|
|
5180
5260
|
batchSize?: number | null;
|
|
5181
5261
|
status?: string | null;
|
|
@@ -5220,6 +5300,8 @@ export type UpdateKnowledgeBaseMutation = {
|
|
|
5220
5300
|
chunkSize?: number | null;
|
|
5221
5301
|
chunkOverlap?: number | null;
|
|
5222
5302
|
batchSize?: number | null;
|
|
5303
|
+
indexHeader?: number | null;
|
|
5304
|
+
headers?: Array<string> | null;
|
|
5223
5305
|
status?: string | null;
|
|
5224
5306
|
reason?: string | null;
|
|
5225
5307
|
message?: string | null;
|
|
@@ -5486,6 +5568,23 @@ export type ListKnowledgeBaseFileChunksQuery = {
|
|
|
5486
5568
|
};
|
|
5487
5569
|
} | null;
|
|
5488
5570
|
};
|
|
5571
|
+
export type ShowStructuredFileInfoQueryVariables = Exact<{
|
|
5572
|
+
input: CreateKnowledgeBaseStructuredFileInput;
|
|
5573
|
+
}>;
|
|
5574
|
+
export type ShowStructuredFileInfoQuery = {
|
|
5575
|
+
__typename?: 'Query';
|
|
5576
|
+
KnowledgeBase?: {
|
|
5577
|
+
__typename?: 'KnowledgeBaseQuery';
|
|
5578
|
+
showStructuredFileInfo: {
|
|
5579
|
+
__typename?: 'StructuredFileInfo';
|
|
5580
|
+
sheets: Array<string>;
|
|
5581
|
+
currentSheet: string;
|
|
5582
|
+
totalRows: number;
|
|
5583
|
+
rowHeader: number;
|
|
5584
|
+
headers: Array<string>;
|
|
5585
|
+
};
|
|
5586
|
+
} | null;
|
|
5587
|
+
};
|
|
5489
5588
|
export type ListLlMsQueryVariables = Exact<{
|
|
5490
5589
|
input: ListCommonInput;
|
|
5491
5590
|
}>;
|
|
@@ -7446,7 +7545,11 @@ export type CreateTuningDataSetMutation = {
|
|
|
7446
7545
|
__typename?: 'Mutation';
|
|
7447
7546
|
TuningDataSet?: {
|
|
7448
7547
|
__typename?: 'TuningDataSetMutation';
|
|
7449
|
-
createTuningDataSet
|
|
7548
|
+
createTuningDataSet: {
|
|
7549
|
+
__typename?: 'CreateTuningDatasetOutput';
|
|
7550
|
+
datasetID: string;
|
|
7551
|
+
versionIDs: Array<string>;
|
|
7552
|
+
};
|
|
7450
7553
|
} | null;
|
|
7451
7554
|
};
|
|
7452
7555
|
export type UpdateTuningDataSetMutationVariables = Exact<{
|
|
@@ -7477,7 +7580,7 @@ export type AddVersionMutation = {
|
|
|
7477
7580
|
__typename?: 'Mutation';
|
|
7478
7581
|
TuningDataSet?: {
|
|
7479
7582
|
__typename?: 'TuningDataSetMutation';
|
|
7480
|
-
addVersion
|
|
7583
|
+
addVersion: string;
|
|
7481
7584
|
} | null;
|
|
7482
7585
|
};
|
|
7483
7586
|
export type DeleteVersionsMutationVariables = Exact<{
|
|
@@ -8878,6 +8981,7 @@ export declare const CreateKnowledgeBaseFileChunkDocument: import("../node_modul
|
|
|
8878
8981
|
export declare const UpdateKnowledgeBaseFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8879
8982
|
export declare const DeleteKnowledgeBaseFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8880
8983
|
export declare const ListKnowledgeBaseFileChunksDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8984
|
+
export declare const ShowStructuredFileInfoDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8881
8985
|
export declare const ListLlMsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8882
8986
|
export declare const GetLlmDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8883
8987
|
export declare const ListModelsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -9001,6 +9105,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
9001
9105
|
updateKnowledgeBaseFileChunk(variables: UpdateKnowledgeBaseFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateKnowledgeBaseFileChunkMutation>;
|
|
9002
9106
|
deleteKnowledgeBaseFileChunk(variables: DeleteKnowledgeBaseFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteKnowledgeBaseFileChunkMutation>;
|
|
9003
9107
|
listKnowledgeBaseFileChunks(variables: ListKnowledgeBaseFileChunksQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListKnowledgeBaseFileChunksQuery>;
|
|
9108
|
+
showStructuredFileInfo(variables: ShowStructuredFileInfoQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ShowStructuredFileInfoQuery>;
|
|
9004
9109
|
listLLMs(variables: ListLlMsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListLlMsQuery>;
|
|
9005
9110
|
getLLM(variables: GetLlmQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetLlmQuery>;
|
|
9006
9111
|
listModels(variables: ListModelsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListModelsQuery>;
|
|
@@ -9098,6 +9203,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
9098
9203
|
useGetKnowledgeBaseFile(variables: GetKnowledgeBaseFileQueryVariables, config?: SWRConfigInterface<GetKnowledgeBaseFileQuery, ClientError>): import("./useSWR").SWRResponsePro<GetKnowledgeBaseFileQuery, ClientError>;
|
|
9099
9204
|
useListKnowledgeBaseFiles(variables: ListKnowledgeBaseFilesQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseFilesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseFilesQuery, ClientError>;
|
|
9100
9205
|
useListKnowledgeBaseFileChunks(variables: ListKnowledgeBaseFileChunksQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseFileChunksQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseFileChunksQuery, ClientError>;
|
|
9206
|
+
useShowStructuredFileInfo(variables: ShowStructuredFileInfoQueryVariables, config?: SWRConfigInterface<ShowStructuredFileInfoQuery, ClientError>): import("./useSWR").SWRResponsePro<ShowStructuredFileInfoQuery, ClientError>;
|
|
9101
9207
|
useListLlMs(variables: ListLlMsQueryVariables, config?: SWRConfigInterface<ListLlMsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListLlMsQuery, ClientError>;
|
|
9102
9208
|
useGetLlm(variables: GetLlmQueryVariables, config?: SWRConfigInterface<GetLlmQuery, ClientError>): import("./useSWR").SWRResponsePro<GetLlmQuery, ClientError>;
|
|
9103
9209
|
useListModels(variables: ListModelsQueryVariables, config?: SWRConfigInterface<ListModelsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListModelsQuery, ClientError>;
|
|
@@ -9313,6 +9419,9 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
9313
9419
|
listKnowledgeBaseFileChunks(variables: Exact<{
|
|
9314
9420
|
input: ListKnowledgeBaseFileChunksInput;
|
|
9315
9421
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListKnowledgeBaseFileChunksQuery>;
|
|
9422
|
+
showStructuredFileInfo(variables: Exact<{
|
|
9423
|
+
input: CreateKnowledgeBaseStructuredFileInput;
|
|
9424
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ShowStructuredFileInfoQuery>;
|
|
9316
9425
|
listLLMs(variables: Exact<{
|
|
9317
9426
|
input: ListCommonInput;
|
|
9318
9427
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListLlMsQuery>;
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -131,6 +131,7 @@ __export(sdk_exports, {
|
|
|
131
131
|
ReleaseAgentDocument: () => ReleaseAgentDocument,
|
|
132
132
|
ReleaseWorkflowDocument: () => ReleaseWorkflowDocument,
|
|
133
133
|
SelectCond: () => SelectCond,
|
|
134
|
+
ShowStructuredFileInfoDocument: () => ShowStructuredFileInfoDocument,
|
|
134
135
|
UpdateAgentDocument: () => UpdateAgentDocument,
|
|
135
136
|
UpdateAgentKnowledgeBaseDocument: () => UpdateAgentKnowledgeBaseDocument,
|
|
136
137
|
UpdateAgentModelDocument: () => UpdateAgentModelDocument,
|
|
@@ -1073,6 +1074,8 @@ var ListKnowledgeBasesDocument = import_graphql_tag.default`
|
|
|
1073
1074
|
chunkSize
|
|
1074
1075
|
chunkOverlap
|
|
1075
1076
|
batchSize
|
|
1077
|
+
indexHeader
|
|
1078
|
+
headers
|
|
1076
1079
|
status
|
|
1077
1080
|
reason
|
|
1078
1081
|
message
|
|
@@ -1111,6 +1114,8 @@ var GetKnowledgeBaseDocument = import_graphql_tag.default`
|
|
|
1111
1114
|
chunkSize
|
|
1112
1115
|
chunkOverlap
|
|
1113
1116
|
batchSize
|
|
1117
|
+
indexHeader
|
|
1118
|
+
headers
|
|
1114
1119
|
status
|
|
1115
1120
|
reason
|
|
1116
1121
|
message
|
|
@@ -1145,6 +1150,8 @@ var CreateKnowledgeBaseDocument = import_graphql_tag.default`
|
|
|
1145
1150
|
description
|
|
1146
1151
|
dataType
|
|
1147
1152
|
chunkSize
|
|
1153
|
+
indexHeader
|
|
1154
|
+
headers
|
|
1148
1155
|
chunkOverlap
|
|
1149
1156
|
batchSize
|
|
1150
1157
|
status
|
|
@@ -1183,6 +1190,8 @@ var UpdateKnowledgeBaseDocument = import_graphql_tag.default`
|
|
|
1183
1190
|
chunkSize
|
|
1184
1191
|
chunkOverlap
|
|
1185
1192
|
batchSize
|
|
1193
|
+
indexHeader
|
|
1194
|
+
headers
|
|
1186
1195
|
status
|
|
1187
1196
|
reason
|
|
1188
1197
|
message
|
|
@@ -1316,6 +1325,19 @@ var ListKnowledgeBaseFileChunksDocument = import_graphql_tag.default`
|
|
|
1316
1325
|
}
|
|
1317
1326
|
}
|
|
1318
1327
|
`;
|
|
1328
|
+
var ShowStructuredFileInfoDocument = import_graphql_tag.default`
|
|
1329
|
+
query showStructuredFileInfo($input: CreateKnowledgeBaseStructuredFileInput!) {
|
|
1330
|
+
KnowledgeBase {
|
|
1331
|
+
showStructuredFileInfo(input: $input) {
|
|
1332
|
+
sheets
|
|
1333
|
+
currentSheet
|
|
1334
|
+
totalRows
|
|
1335
|
+
rowHeader
|
|
1336
|
+
headers
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1340
|
+
`;
|
|
1319
1341
|
var ListLlMsDocument = import_graphql_tag.default`
|
|
1320
1342
|
query listLLMs($input: ListCommonInput!) {
|
|
1321
1343
|
LLM {
|
|
@@ -2327,7 +2349,10 @@ var GetVersionContentDocument = import_graphql_tag.default`
|
|
|
2327
2349
|
var CreateTuningDataSetDocument = import_graphql_tag.default`
|
|
2328
2350
|
mutation createTuningDataSet($input: CreateTuningDataSetInput!) {
|
|
2329
2351
|
TuningDataSet {
|
|
2330
|
-
createTuningDataSet(input: $input)
|
|
2352
|
+
createTuningDataSet(input: $input) {
|
|
2353
|
+
datasetID
|
|
2354
|
+
versionIDs
|
|
2355
|
+
}
|
|
2331
2356
|
}
|
|
2332
2357
|
}
|
|
2333
2358
|
`;
|
|
@@ -3395,6 +3420,9 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
3395
3420
|
listKnowledgeBaseFileChunks(variables, requestHeaders) {
|
|
3396
3421
|
return withWrapper((wrappedRequestHeaders) => client.request(ListKnowledgeBaseFileChunksDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listKnowledgeBaseFileChunks", "query", variables);
|
|
3397
3422
|
},
|
|
3423
|
+
showStructuredFileInfo(variables, requestHeaders) {
|
|
3424
|
+
return withWrapper((wrappedRequestHeaders) => client.request(ShowStructuredFileInfoDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "showStructuredFileInfo", "query", variables);
|
|
3425
|
+
},
|
|
3398
3426
|
listLLMs(variables, requestHeaders) {
|
|
3399
3427
|
return withWrapper((wrappedRequestHeaders) => client.request(ListLlMsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listLLMs", "query", variables);
|
|
3400
3428
|
},
|
|
@@ -3684,6 +3712,9 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
3684
3712
|
useListKnowledgeBaseFileChunks(variables, config) {
|
|
3685
3713
|
return (0, import_useSWR.default)(genKey("ListKnowledgeBaseFileChunks", variables), () => sdk.listKnowledgeBaseFileChunks(variables), config);
|
|
3686
3714
|
},
|
|
3715
|
+
useShowStructuredFileInfo(variables, config) {
|
|
3716
|
+
return (0, import_useSWR.default)(genKey("ShowStructuredFileInfo", variables), () => sdk.showStructuredFileInfo(variables), config);
|
|
3717
|
+
},
|
|
3687
3718
|
useListLlMs(variables, config) {
|
|
3688
3719
|
return (0, import_useSWR.default)(genKey("ListLlMs", variables), () => sdk.listLLMs(variables), config);
|
|
3689
3720
|
},
|
|
@@ -3880,6 +3911,7 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
3880
3911
|
ReleaseAgentDocument,
|
|
3881
3912
|
ReleaseWorkflowDocument,
|
|
3882
3913
|
SelectCond,
|
|
3914
|
+
ShowStructuredFileInfoDocument,
|
|
3883
3915
|
UpdateAgentDocument,
|
|
3884
3916
|
UpdateAgentKnowledgeBaseDocument,
|
|
3885
3917
|
UpdateAgentModelDocument,
|
package/dist/cjs/taro.d.ts
CHANGED
|
@@ -217,6 +217,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
217
217
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
218
218
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
219
219
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
220
|
+
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
221
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
222
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
220
223
|
listLLMs(variables: import("./sdk").Exact<{
|
|
221
224
|
input: import("./sdk").ListCommonInput;
|
|
222
225
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListLlMsQuery>;
|
|
@@ -541,6 +544,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
541
544
|
useListKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
542
545
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
543
546
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError>;
|
|
547
|
+
useShowStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
548
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
549
|
+
}>, 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>;
|
|
544
550
|
useListLlMs(variables: import("./sdk").Exact<{
|
|
545
551
|
input: import("./sdk").ListCommonInput;
|
|
546
552
|
}>, 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>;
|
|
@@ -832,6 +838,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
832
838
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
833
839
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
834
840
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
841
|
+
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
842
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
843
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
835
844
|
listLLMs(variables: import("./sdk").Exact<{
|
|
836
845
|
input: import("./sdk").ListCommonInput;
|
|
837
846
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListLlMsQuery>;
|
|
@@ -1156,6 +1165,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1156
1165
|
useListKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
1157
1166
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
1158
1167
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError>;
|
|
1168
|
+
useShowStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
1169
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
1170
|
+
}>, 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>;
|
|
1159
1171
|
useListLlMs(variables: import("./sdk").Exact<{
|
|
1160
1172
|
input: import("./sdk").ListCommonInput;
|
|
1161
1173
|
}>, 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>;
|
|
@@ -1447,6 +1459,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1447
1459
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
1448
1460
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
1449
1461
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
1462
|
+
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
1463
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
1464
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
1450
1465
|
listLLMs(variables: import("./sdk").Exact<{
|
|
1451
1466
|
input: import("./sdk").ListCommonInput;
|
|
1452
1467
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListLlMsQuery>;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -111,6 +111,9 @@ export declare const sdk: {
|
|
|
111
111
|
useListKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
112
112
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
113
113
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError>;
|
|
114
|
+
useShowStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
115
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
116
|
+
}>, 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>;
|
|
114
117
|
useListLlMs(variables: import("./sdk").Exact<{
|
|
115
118
|
input: import("./sdk").ListCommonInput;
|
|
116
119
|
}>, 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>;
|
|
@@ -402,6 +405,9 @@ export declare const sdk: {
|
|
|
402
405
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
403
406
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
404
407
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
408
|
+
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
409
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
410
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
405
411
|
listLLMs(variables: import("./sdk").Exact<{
|
|
406
412
|
input: import("./sdk").ListCommonInput;
|
|
407
413
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListLlMsQuery>;
|
|
@@ -829,6 +835,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
829
835
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
830
836
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
831
837
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
838
|
+
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
839
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
840
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
832
841
|
listLLMs(variables: import("./sdk").Exact<{
|
|
833
842
|
input: import("./sdk").ListCommonInput;
|
|
834
843
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListLlMsQuery>;
|
|
@@ -1153,6 +1162,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1153
1162
|
useListKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
1154
1163
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
1155
1164
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError>;
|
|
1165
|
+
useShowStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
1166
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
1167
|
+
}>, 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>;
|
|
1156
1168
|
useListLlMs(variables: import("./sdk").Exact<{
|
|
1157
1169
|
input: import("./sdk").ListCommonInput;
|
|
1158
1170
|
}>, 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>;
|
|
@@ -1444,6 +1456,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1444
1456
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
1445
1457
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
1446
1458
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
1459
|
+
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
1460
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
1461
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
1447
1462
|
listLLMs(variables: import("./sdk").Exact<{
|
|
1448
1463
|
input: import("./sdk").ListCommonInput;
|
|
1449
1464
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListLlMsQuery>;
|
|
@@ -1768,6 +1783,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1768
1783
|
useListKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
1769
1784
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
1770
1785
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError>;
|
|
1786
|
+
useShowStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
1787
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
1788
|
+
}>, 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>;
|
|
1771
1789
|
useListLlMs(variables: import("./sdk").Exact<{
|
|
1772
1790
|
input: import("./sdk").ListCommonInput;
|
|
1773
1791
|
}>, 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>;
|
|
@@ -2059,6 +2077,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2059
2077
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
2060
2078
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
2061
2079
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
2080
|
+
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
2081
|
+
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
2082
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
2062
2083
|
listLLMs(variables: import("./sdk").Exact<{
|
|
2063
2084
|
input: import("./sdk").ListCommonInput;
|
|
2064
2085
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListLlMsQuery>;
|