@yuntijs/arcadia-bff-sdk 1.2.63 → 1.2.65
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 +116 -10
- package/dist/cjs/sdk.js +82 -4
- package/dist/cjs/taro.d.ts +15 -0
- package/dist/esm/index.d.ts +21 -0
- package/dist/esm/sdk.d.ts +116 -10
- package/dist/esm/sdk.js +83 -72
- 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
|
@@ -102,6 +102,9 @@ export declare const sdk: {
|
|
|
102
102
|
name: string;
|
|
103
103
|
namespace: string;
|
|
104
104
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetKnowledgeBaseQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetKnowledgeBaseQuery, import("graphql-request/src/types").ClientError>;
|
|
105
|
+
useGetKnowledgeBaseFile(variables: import("./sdk").Exact<{
|
|
106
|
+
id: string;
|
|
107
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetKnowledgeBaseFileQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetKnowledgeBaseFileQuery, import("graphql-request/src/types").ClientError>;
|
|
105
108
|
useListKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
106
109
|
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
107
110
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFilesQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFilesQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -381,6 +384,9 @@ export declare const sdk: {
|
|
|
381
384
|
deleteKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
382
385
|
input: import("./sdk").DeleteKnowledgeBaseFileInput;
|
|
383
386
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteKnowledgeBaseFilesMutation>;
|
|
387
|
+
getKnowledgeBaseFile(variables: import("./sdk").Exact<{
|
|
388
|
+
id: string;
|
|
389
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetKnowledgeBaseFileQuery>;
|
|
384
390
|
listKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
385
391
|
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
386
392
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFilesQuery>;
|
|
@@ -805,6 +811,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
805
811
|
deleteKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
806
812
|
input: import("./sdk").DeleteKnowledgeBaseFileInput;
|
|
807
813
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteKnowledgeBaseFilesMutation>;
|
|
814
|
+
getKnowledgeBaseFile(variables: import("./sdk").Exact<{
|
|
815
|
+
id: string;
|
|
816
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetKnowledgeBaseFileQuery>;
|
|
808
817
|
listKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
809
818
|
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
810
819
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFilesQuery>;
|
|
@@ -1135,6 +1144,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1135
1144
|
name: string;
|
|
1136
1145
|
namespace: string;
|
|
1137
1146
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetKnowledgeBaseQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetKnowledgeBaseQuery, import("graphql-request/src/types").ClientError>;
|
|
1147
|
+
useGetKnowledgeBaseFile(variables: import("./sdk").Exact<{
|
|
1148
|
+
id: string;
|
|
1149
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetKnowledgeBaseFileQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetKnowledgeBaseFileQuery, import("graphql-request/src/types").ClientError>;
|
|
1138
1150
|
useListKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
1139
1151
|
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
1140
1152
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFilesQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFilesQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -1414,6 +1426,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1414
1426
|
deleteKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
1415
1427
|
input: import("./sdk").DeleteKnowledgeBaseFileInput;
|
|
1416
1428
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteKnowledgeBaseFilesMutation>;
|
|
1429
|
+
getKnowledgeBaseFile(variables: import("./sdk").Exact<{
|
|
1430
|
+
id: string;
|
|
1431
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetKnowledgeBaseFileQuery>;
|
|
1417
1432
|
listKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
1418
1433
|
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
1419
1434
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFilesQuery>;
|
|
@@ -1744,6 +1759,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1744
1759
|
name: string;
|
|
1745
1760
|
namespace: string;
|
|
1746
1761
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetKnowledgeBaseQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetKnowledgeBaseQuery, import("graphql-request/src/types").ClientError>;
|
|
1762
|
+
useGetKnowledgeBaseFile(variables: import("./sdk").Exact<{
|
|
1763
|
+
id: string;
|
|
1764
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetKnowledgeBaseFileQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetKnowledgeBaseFileQuery, import("graphql-request/src/types").ClientError>;
|
|
1747
1765
|
useListKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
1748
1766
|
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
1749
1767
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFilesQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFilesQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -2023,6 +2041,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2023
2041
|
deleteKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
2024
2042
|
input: import("./sdk").DeleteKnowledgeBaseFileInput;
|
|
2025
2043
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteKnowledgeBaseFilesMutation>;
|
|
2044
|
+
getKnowledgeBaseFile(variables: import("./sdk").Exact<{
|
|
2045
|
+
id: string;
|
|
2046
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetKnowledgeBaseFileQuery>;
|
|
2026
2047
|
listKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
2027
2048
|
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
2028
2049
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFilesQuery>;
|
package/dist/cjs/sdk.d.ts
CHANGED
|
@@ -598,9 +598,11 @@ export type CreateSftInput = {
|
|
|
598
598
|
name: Scalars['String']['input'];
|
|
599
599
|
namespace: Scalars['String']['input'];
|
|
600
600
|
params?: InputMaybe<Scalars['String']['input']>;
|
|
601
|
+
resources: ResourcesInput;
|
|
601
602
|
serviceAccountName?: InputMaybe<Scalars['String']['input']>;
|
|
602
603
|
storage?: InputMaybe<PersistentVolumeClaimSpecInput>;
|
|
603
604
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
605
|
+
type: Scalars['String']['input'];
|
|
604
606
|
};
|
|
605
607
|
export type CreateTuningDataSetInput = {
|
|
606
608
|
/** 训练数据集的名字 */
|
|
@@ -1342,6 +1344,7 @@ export type KnowledgeBaseFile = {
|
|
|
1342
1344
|
export type KnowledgeBaseFileChunk = {
|
|
1343
1345
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
1344
1346
|
content: Scalars['String']['output'];
|
|
1347
|
+
contentSizeInBytes: Scalars['Int']['output'];
|
|
1345
1348
|
createdAt?: Maybe<Scalars['Time']['output']>;
|
|
1346
1349
|
fileId: Scalars['String']['output'];
|
|
1347
1350
|
id: Scalars['String']['output'];
|
|
@@ -2476,10 +2479,10 @@ export type Sft = {
|
|
|
2476
2479
|
*/
|
|
2477
2480
|
creator?: Maybe<Scalars['String']['output']>;
|
|
2478
2481
|
/**
|
|
2479
|
-
* SFT
|
|
2480
|
-
*
|
|
2482
|
+
* SFT 微调任务所使用的数据集信息
|
|
2483
|
+
* 规则:必填,可为复数
|
|
2481
2484
|
*/
|
|
2482
|
-
datasets: Array<
|
|
2485
|
+
datasets: Array<SftDataset>;
|
|
2483
2486
|
/** 描述信息 */
|
|
2484
2487
|
description?: Maybe<Scalars['String']['output']>;
|
|
2485
2488
|
/** 展示名 */
|
|
@@ -2521,19 +2524,40 @@ export type Sft = {
|
|
|
2521
2524
|
phase?: Maybe<Scalars['String']['output']>;
|
|
2522
2525
|
/** 当前阶段产生的辅助信息 */
|
|
2523
2526
|
phaseMessage?: Maybe<Scalars['String']['output']>;
|
|
2527
|
+
/** SFT 微调所使用的资源 */
|
|
2528
|
+
resources: Resources;
|
|
2524
2529
|
/** SFT 微调过程中用到的serviceAccount, 默认是default */
|
|
2525
2530
|
serviceAccountName: Scalars['String']['output'];
|
|
2526
|
-
/**
|
|
2531
|
+
/**
|
|
2532
|
+
* SFT 微调状态
|
|
2533
|
+
* 规则:状态分为以下几种:
|
|
2534
|
+
* - "preparing":微调任务准备中
|
|
2535
|
+
* - "processing":微调任务正在进行中
|
|
2536
|
+
* - "closed":微调任务流程全部结束,已关闭
|
|
2537
|
+
* - "standby":微调完成,可供测试对话或导出
|
|
2538
|
+
* - "exporting": 微调后模型合并导出中
|
|
2539
|
+
* - "failed":微调失败
|
|
2540
|
+
* - "suspended": 微调任务被终止
|
|
2541
|
+
*/
|
|
2527
2542
|
status: Scalars['String']['output'];
|
|
2528
2543
|
/** SFT 微调阶段之间需要通过pvc传递数据 */
|
|
2529
2544
|
storage: PersistentVolumeClaimSpec;
|
|
2530
2545
|
/** SFT 微调过程是否暂停,true 表示已经暂停,false 表示没有暂停 */
|
|
2531
2546
|
suspend: Scalars['Boolean']['output'];
|
|
2547
|
+
/**
|
|
2548
|
+
* SFT 微调任务的类型:
|
|
2549
|
+
* 规则:为 {"full", "lora", "qlora"} 之一
|
|
2550
|
+
*/
|
|
2551
|
+
type: Scalars['String']['output'];
|
|
2532
2552
|
};
|
|
2533
2553
|
export type SftDataset = {
|
|
2534
2554
|
__typename?: 'SFTDataset';
|
|
2535
|
-
|
|
2536
|
-
|
|
2555
|
+
/** SFT 版本数据集 ID(用于查询) */
|
|
2556
|
+
id: Scalars['String']['output'];
|
|
2557
|
+
/** SFT 数据集来源名 */
|
|
2558
|
+
source: Scalars['String']['output'];
|
|
2559
|
+
/** SFT 数据集版本 */
|
|
2560
|
+
version: Scalars['String']['output'];
|
|
2537
2561
|
};
|
|
2538
2562
|
export type SftMetric = {
|
|
2539
2563
|
__typename?: 'SFTMetric';
|
|
@@ -3044,9 +3068,11 @@ export type UpdateSftInput = {
|
|
|
3044
3068
|
name: Scalars['String']['input'];
|
|
3045
3069
|
namespace: Scalars['String']['input'];
|
|
3046
3070
|
params?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3071
|
+
resources: ResourcesInput;
|
|
3047
3072
|
serviceAccountName?: InputMaybe<Scalars['String']['input']>;
|
|
3048
3073
|
storage?: InputMaybe<PersistentVolumeClaimSpecInput>;
|
|
3049
3074
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3075
|
+
type: Scalars['String']['input'];
|
|
3050
3076
|
};
|
|
3051
3077
|
export type UpdateVersionedDatasetInput = {
|
|
3052
3078
|
/** 传递方式同label */
|
|
@@ -5227,6 +5253,31 @@ export type DeleteKnowledgeBaseFilesMutation = {
|
|
|
5227
5253
|
deleteKnowledgeBaseFiles?: any | null;
|
|
5228
5254
|
} | null;
|
|
5229
5255
|
};
|
|
5256
|
+
export type GetKnowledgeBaseFileQueryVariables = Exact<{
|
|
5257
|
+
id: Scalars['String']['input'];
|
|
5258
|
+
}>;
|
|
5259
|
+
export type GetKnowledgeBaseFileQuery = {
|
|
5260
|
+
__typename?: 'Query';
|
|
5261
|
+
KnowledgeBase?: {
|
|
5262
|
+
__typename?: 'KnowledgeBaseQuery';
|
|
5263
|
+
getKnowledgeBaseFile: {
|
|
5264
|
+
__typename?: 'KnowledgeBaseFile';
|
|
5265
|
+
id: string;
|
|
5266
|
+
source: string;
|
|
5267
|
+
sourceType: string;
|
|
5268
|
+
name: string;
|
|
5269
|
+
size: string;
|
|
5270
|
+
sizeInBytes: any;
|
|
5271
|
+
chunkMethod: string;
|
|
5272
|
+
chunkSize: number;
|
|
5273
|
+
count: number;
|
|
5274
|
+
timeCost?: any | null;
|
|
5275
|
+
createTimestamp?: any | null;
|
|
5276
|
+
updateTimestamp?: any | null;
|
|
5277
|
+
phase?: string | null;
|
|
5278
|
+
};
|
|
5279
|
+
} | null;
|
|
5280
|
+
};
|
|
5230
5281
|
export type ListKnowledgeBaseFilesQueryVariables = Exact<{
|
|
5231
5282
|
input: ListKnowledgeBaseFilesInput;
|
|
5232
5283
|
}>;
|
|
@@ -5378,6 +5429,7 @@ export type ListKnowledgeBaseFileChunksQuery = {
|
|
|
5378
5429
|
updatedAt?: any | null;
|
|
5379
5430
|
indexInFile: number;
|
|
5380
5431
|
content: string;
|
|
5432
|
+
contentSizeInBytes: number;
|
|
5381
5433
|
processingPhase: string;
|
|
5382
5434
|
} | {
|
|
5383
5435
|
__typename?: 'LLM';
|
|
@@ -7530,7 +7582,7 @@ export type ListSftQuery = {
|
|
|
7530
7582
|
description?: string | null;
|
|
7531
7583
|
creationTimestamp?: any | null;
|
|
7532
7584
|
completeTimestamp?: any | null;
|
|
7533
|
-
|
|
7585
|
+
type: string;
|
|
7534
7586
|
serviceAccountName: string;
|
|
7535
7587
|
suspend: boolean;
|
|
7536
7588
|
status: string;
|
|
@@ -7574,6 +7626,12 @@ export type ListSftQuery = {
|
|
|
7574
7626
|
displayName?: string | null;
|
|
7575
7627
|
} | null;
|
|
7576
7628
|
};
|
|
7629
|
+
datasets: Array<{
|
|
7630
|
+
__typename?: 'SFTDataset';
|
|
7631
|
+
source: string;
|
|
7632
|
+
version: string;
|
|
7633
|
+
id: string;
|
|
7634
|
+
}>;
|
|
7577
7635
|
baseModel: {
|
|
7578
7636
|
__typename?: 'TypedObjectReference';
|
|
7579
7637
|
kind: string;
|
|
@@ -7592,6 +7650,12 @@ export type ListSftQuery = {
|
|
|
7592
7650
|
metricValidValues?: Array<string | null> | null;
|
|
7593
7651
|
metricDescription: string;
|
|
7594
7652
|
}>;
|
|
7653
|
+
resources: {
|
|
7654
|
+
__typename?: 'Resources';
|
|
7655
|
+
cpu?: string | null;
|
|
7656
|
+
memory?: string | null;
|
|
7657
|
+
nvidiaGPU?: string | null;
|
|
7658
|
+
};
|
|
7595
7659
|
} | {
|
|
7596
7660
|
__typename?: 'TuningDataSet';
|
|
7597
7661
|
} | {
|
|
@@ -7629,7 +7693,7 @@ export type GetSftQuery = {
|
|
|
7629
7693
|
description?: string | null;
|
|
7630
7694
|
creationTimestamp?: any | null;
|
|
7631
7695
|
completeTimestamp?: any | null;
|
|
7632
|
-
|
|
7696
|
+
type: string;
|
|
7633
7697
|
serviceAccountName: string;
|
|
7634
7698
|
suspend: boolean;
|
|
7635
7699
|
status: string;
|
|
@@ -7673,6 +7737,12 @@ export type GetSftQuery = {
|
|
|
7673
7737
|
displayName?: string | null;
|
|
7674
7738
|
} | null;
|
|
7675
7739
|
};
|
|
7740
|
+
datasets: Array<{
|
|
7741
|
+
__typename?: 'SFTDataset';
|
|
7742
|
+
source: string;
|
|
7743
|
+
version: string;
|
|
7744
|
+
id: string;
|
|
7745
|
+
}>;
|
|
7676
7746
|
baseModel: {
|
|
7677
7747
|
__typename?: 'TypedObjectReference';
|
|
7678
7748
|
kind: string;
|
|
@@ -7691,6 +7761,12 @@ export type GetSftQuery = {
|
|
|
7691
7761
|
metricValidValues?: Array<string | null> | null;
|
|
7692
7762
|
metricDescription: string;
|
|
7693
7763
|
}>;
|
|
7764
|
+
resources: {
|
|
7765
|
+
__typename?: 'Resources';
|
|
7766
|
+
cpu?: string | null;
|
|
7767
|
+
memory?: string | null;
|
|
7768
|
+
nvidiaGPU?: string | null;
|
|
7769
|
+
};
|
|
7694
7770
|
};
|
|
7695
7771
|
} | null;
|
|
7696
7772
|
};
|
|
@@ -7732,7 +7808,7 @@ export type CreateSftMutation = {
|
|
|
7732
7808
|
description?: string | null;
|
|
7733
7809
|
creationTimestamp?: any | null;
|
|
7734
7810
|
completeTimestamp?: any | null;
|
|
7735
|
-
|
|
7811
|
+
type: string;
|
|
7736
7812
|
serviceAccountName: string;
|
|
7737
7813
|
suspend: boolean;
|
|
7738
7814
|
status: string;
|
|
@@ -7776,6 +7852,12 @@ export type CreateSftMutation = {
|
|
|
7776
7852
|
displayName?: string | null;
|
|
7777
7853
|
} | null;
|
|
7778
7854
|
};
|
|
7855
|
+
datasets: Array<{
|
|
7856
|
+
__typename?: 'SFTDataset';
|
|
7857
|
+
source: string;
|
|
7858
|
+
version: string;
|
|
7859
|
+
id: string;
|
|
7860
|
+
}>;
|
|
7779
7861
|
baseModel: {
|
|
7780
7862
|
__typename?: 'TypedObjectReference';
|
|
7781
7863
|
kind: string;
|
|
@@ -7794,6 +7876,12 @@ export type CreateSftMutation = {
|
|
|
7794
7876
|
metricValidValues?: Array<string | null> | null;
|
|
7795
7877
|
metricDescription: string;
|
|
7796
7878
|
}>;
|
|
7879
|
+
resources: {
|
|
7880
|
+
__typename?: 'Resources';
|
|
7881
|
+
cpu?: string | null;
|
|
7882
|
+
memory?: string | null;
|
|
7883
|
+
nvidiaGPU?: string | null;
|
|
7884
|
+
};
|
|
7797
7885
|
};
|
|
7798
7886
|
} | null;
|
|
7799
7887
|
};
|
|
@@ -7815,7 +7903,7 @@ export type UpdateSftMutation = {
|
|
|
7815
7903
|
description?: string | null;
|
|
7816
7904
|
creationTimestamp?: any | null;
|
|
7817
7905
|
completeTimestamp?: any | null;
|
|
7818
|
-
|
|
7906
|
+
type: string;
|
|
7819
7907
|
serviceAccountName: string;
|
|
7820
7908
|
suspend: boolean;
|
|
7821
7909
|
status: string;
|
|
@@ -7859,6 +7947,12 @@ export type UpdateSftMutation = {
|
|
|
7859
7947
|
displayName?: string | null;
|
|
7860
7948
|
} | null;
|
|
7861
7949
|
};
|
|
7950
|
+
datasets: Array<{
|
|
7951
|
+
__typename?: 'SFTDataset';
|
|
7952
|
+
source: string;
|
|
7953
|
+
version: string;
|
|
7954
|
+
id: string;
|
|
7955
|
+
}>;
|
|
7862
7956
|
baseModel: {
|
|
7863
7957
|
__typename?: 'TypedObjectReference';
|
|
7864
7958
|
kind: string;
|
|
@@ -7877,6 +7971,12 @@ export type UpdateSftMutation = {
|
|
|
7877
7971
|
metricValidValues?: Array<string | null> | null;
|
|
7878
7972
|
metricDescription: string;
|
|
7879
7973
|
}>;
|
|
7974
|
+
resources: {
|
|
7975
|
+
__typename?: 'Resources';
|
|
7976
|
+
cpu?: string | null;
|
|
7977
|
+
memory?: string | null;
|
|
7978
|
+
nvidiaGPU?: string | null;
|
|
7979
|
+
};
|
|
7880
7980
|
};
|
|
7881
7981
|
} | null;
|
|
7882
7982
|
};
|
|
@@ -8721,6 +8821,7 @@ export declare const UpdateKnowledgeBaseDocument: import("../node_modules/.pnpm/
|
|
|
8721
8821
|
export declare const DeleteKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8722
8822
|
export declare const CreateKnowledgeBaseFilesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8723
8823
|
export declare const DeleteKnowledgeBaseFilesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8824
|
+
export declare const GetKnowledgeBaseFileDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8724
8825
|
export declare const ListKnowledgeBaseFilesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8725
8826
|
export declare const CreateKnowledgeBaseFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8726
8827
|
export declare const UpdateKnowledgeBaseFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -8843,6 +8944,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
8843
8944
|
deleteKnowledgeBase(variables?: DeleteKnowledgeBaseMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteKnowledgeBaseMutation>;
|
|
8844
8945
|
createKnowledgeBaseFiles(variables: CreateKnowledgeBaseFilesMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateKnowledgeBaseFilesMutation>;
|
|
8845
8946
|
deleteKnowledgeBaseFiles(variables: DeleteKnowledgeBaseFilesMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteKnowledgeBaseFilesMutation>;
|
|
8947
|
+
getKnowledgeBaseFile(variables: GetKnowledgeBaseFileQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetKnowledgeBaseFileQuery>;
|
|
8846
8948
|
listKnowledgeBaseFiles(variables: ListKnowledgeBaseFilesQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListKnowledgeBaseFilesQuery>;
|
|
8847
8949
|
createKnowledgeBaseFileChunk(variables: CreateKnowledgeBaseFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateKnowledgeBaseFileChunkMutation>;
|
|
8848
8950
|
updateKnowledgeBaseFileChunk(variables: UpdateKnowledgeBaseFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateKnowledgeBaseFileChunkMutation>;
|
|
@@ -8942,6 +9044,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
8942
9044
|
useGetEmbedder(variables: GetEmbedderQueryVariables, config?: SWRConfigInterface<GetEmbedderQuery, ClientError>): import("./useSWR").SWRResponsePro<GetEmbedderQuery, ClientError>;
|
|
8943
9045
|
useListKnowledgeBases(variables: ListKnowledgeBasesQueryVariables, config?: SWRConfigInterface<ListKnowledgeBasesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBasesQuery, ClientError>;
|
|
8944
9046
|
useGetKnowledgeBase(variables: GetKnowledgeBaseQueryVariables, config?: SWRConfigInterface<GetKnowledgeBaseQuery, ClientError>): import("./useSWR").SWRResponsePro<GetKnowledgeBaseQuery, ClientError>;
|
|
9047
|
+
useGetKnowledgeBaseFile(variables: GetKnowledgeBaseFileQueryVariables, config?: SWRConfigInterface<GetKnowledgeBaseFileQuery, ClientError>): import("./useSWR").SWRResponsePro<GetKnowledgeBaseFileQuery, ClientError>;
|
|
8945
9048
|
useListKnowledgeBaseFiles(variables: ListKnowledgeBaseFilesQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseFilesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseFilesQuery, ClientError>;
|
|
8946
9049
|
useListKnowledgeBaseFileChunks(variables: ListKnowledgeBaseFileChunksQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseFileChunksQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseFileChunksQuery, ClientError>;
|
|
8947
9050
|
useListLlMs(variables: ListLlMsQueryVariables, config?: SWRConfigInterface<ListLlMsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListLlMsQuery, ClientError>;
|
|
@@ -9141,6 +9244,9 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
9141
9244
|
deleteKnowledgeBaseFiles(variables: Exact<{
|
|
9142
9245
|
input: DeleteKnowledgeBaseFileInput;
|
|
9143
9246
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteKnowledgeBaseFilesMutation>;
|
|
9247
|
+
getKnowledgeBaseFile(variables: Exact<{
|
|
9248
|
+
id: string;
|
|
9249
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetKnowledgeBaseFileQuery>;
|
|
9144
9250
|
listKnowledgeBaseFiles(variables: Exact<{
|
|
9145
9251
|
input: ListKnowledgeBaseFilesInput;
|
|
9146
9252
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListKnowledgeBaseFilesQuery>;
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -87,6 +87,7 @@ __export(sdk_exports, {
|
|
|
87
87
|
GetEmbedderDocument: () => GetEmbedderDocument,
|
|
88
88
|
GetGptStoreDocument: () => GetGptStoreDocument,
|
|
89
89
|
GetKnowledgeBaseDocument: () => GetKnowledgeBaseDocument,
|
|
90
|
+
GetKnowledgeBaseFileDocument: () => GetKnowledgeBaseFileDocument,
|
|
90
91
|
GetLlmDocument: () => GetLlmDocument,
|
|
91
92
|
GetLogInfoDocument: () => GetLogInfoDocument,
|
|
92
93
|
GetModelDocument: () => GetModelDocument,
|
|
@@ -1222,6 +1223,27 @@ var DeleteKnowledgeBaseFilesDocument = import_graphql_tag.default`
|
|
|
1222
1223
|
}
|
|
1223
1224
|
}
|
|
1224
1225
|
`;
|
|
1226
|
+
var GetKnowledgeBaseFileDocument = import_graphql_tag.default`
|
|
1227
|
+
query getKnowledgeBaseFile($id: String!) {
|
|
1228
|
+
KnowledgeBase {
|
|
1229
|
+
getKnowledgeBaseFile(id: $id) {
|
|
1230
|
+
id
|
|
1231
|
+
source
|
|
1232
|
+
sourceType
|
|
1233
|
+
name
|
|
1234
|
+
size
|
|
1235
|
+
sizeInBytes
|
|
1236
|
+
chunkMethod
|
|
1237
|
+
chunkSize
|
|
1238
|
+
count
|
|
1239
|
+
timeCost
|
|
1240
|
+
createTimestamp
|
|
1241
|
+
updateTimestamp
|
|
1242
|
+
phase
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
}
|
|
1246
|
+
`;
|
|
1225
1247
|
var ListKnowledgeBaseFilesDocument = import_graphql_tag.default`
|
|
1226
1248
|
query listKnowledgeBaseFiles($input: ListKnowledgeBaseFilesInput!) {
|
|
1227
1249
|
KnowledgeBase {
|
|
@@ -1284,6 +1306,7 @@ var ListKnowledgeBaseFileChunksDocument = import_graphql_tag.default`
|
|
|
1284
1306
|
updatedAt
|
|
1285
1307
|
indexInFile
|
|
1286
1308
|
content
|
|
1309
|
+
contentSizeInBytes
|
|
1287
1310
|
processingPhase
|
|
1288
1311
|
}
|
|
1289
1312
|
}
|
|
@@ -2386,6 +2409,7 @@ var ListSftDocument = import_graphql_tag.default`
|
|
|
2386
2409
|
description
|
|
2387
2410
|
creationTimestamp
|
|
2388
2411
|
completeTimestamp
|
|
2412
|
+
type
|
|
2389
2413
|
storage {
|
|
2390
2414
|
accessModes
|
|
2391
2415
|
selector {
|
|
@@ -2418,7 +2442,13 @@ var ListSftDocument = import_graphql_tag.default`
|
|
|
2418
2442
|
displayName
|
|
2419
2443
|
}
|
|
2420
2444
|
}
|
|
2421
|
-
datasets
|
|
2445
|
+
datasets {
|
|
2446
|
+
... on SFTDataset {
|
|
2447
|
+
source
|
|
2448
|
+
version
|
|
2449
|
+
id
|
|
2450
|
+
}
|
|
2451
|
+
}
|
|
2422
2452
|
baseModel {
|
|
2423
2453
|
kind
|
|
2424
2454
|
name
|
|
@@ -2440,6 +2470,11 @@ var ListSftDocument = import_graphql_tag.default`
|
|
|
2440
2470
|
metricValidValues
|
|
2441
2471
|
metricDescription
|
|
2442
2472
|
}
|
|
2473
|
+
resources {
|
|
2474
|
+
cpu
|
|
2475
|
+
memory
|
|
2476
|
+
nvidiaGPU
|
|
2477
|
+
}
|
|
2443
2478
|
}
|
|
2444
2479
|
}
|
|
2445
2480
|
}
|
|
@@ -2459,6 +2494,7 @@ var GetSftDocument = import_graphql_tag.default`
|
|
|
2459
2494
|
description
|
|
2460
2495
|
creationTimestamp
|
|
2461
2496
|
completeTimestamp
|
|
2497
|
+
type
|
|
2462
2498
|
storage {
|
|
2463
2499
|
accessModes
|
|
2464
2500
|
selector {
|
|
@@ -2491,7 +2527,13 @@ var GetSftDocument = import_graphql_tag.default`
|
|
|
2491
2527
|
displayName
|
|
2492
2528
|
}
|
|
2493
2529
|
}
|
|
2494
|
-
datasets
|
|
2530
|
+
datasets {
|
|
2531
|
+
... on SFTDataset {
|
|
2532
|
+
source
|
|
2533
|
+
version
|
|
2534
|
+
id
|
|
2535
|
+
}
|
|
2536
|
+
}
|
|
2495
2537
|
baseModel {
|
|
2496
2538
|
kind
|
|
2497
2539
|
name
|
|
@@ -2513,6 +2555,11 @@ var GetSftDocument = import_graphql_tag.default`
|
|
|
2513
2555
|
metricValidValues
|
|
2514
2556
|
metricDescription
|
|
2515
2557
|
}
|
|
2558
|
+
resources {
|
|
2559
|
+
cpu
|
|
2560
|
+
memory
|
|
2561
|
+
nvidiaGPU
|
|
2562
|
+
}
|
|
2516
2563
|
}
|
|
2517
2564
|
}
|
|
2518
2565
|
}
|
|
@@ -2548,6 +2595,7 @@ var CreateSftDocument = import_graphql_tag.default`
|
|
|
2548
2595
|
description
|
|
2549
2596
|
creationTimestamp
|
|
2550
2597
|
completeTimestamp
|
|
2598
|
+
type
|
|
2551
2599
|
storage {
|
|
2552
2600
|
accessModes
|
|
2553
2601
|
selector {
|
|
@@ -2580,7 +2628,13 @@ var CreateSftDocument = import_graphql_tag.default`
|
|
|
2580
2628
|
displayName
|
|
2581
2629
|
}
|
|
2582
2630
|
}
|
|
2583
|
-
datasets
|
|
2631
|
+
datasets {
|
|
2632
|
+
... on SFTDataset {
|
|
2633
|
+
source
|
|
2634
|
+
version
|
|
2635
|
+
id
|
|
2636
|
+
}
|
|
2637
|
+
}
|
|
2584
2638
|
baseModel {
|
|
2585
2639
|
kind
|
|
2586
2640
|
name
|
|
@@ -2602,6 +2656,11 @@ var CreateSftDocument = import_graphql_tag.default`
|
|
|
2602
2656
|
metricValidValues
|
|
2603
2657
|
metricDescription
|
|
2604
2658
|
}
|
|
2659
|
+
resources {
|
|
2660
|
+
cpu
|
|
2661
|
+
memory
|
|
2662
|
+
nvidiaGPU
|
|
2663
|
+
}
|
|
2605
2664
|
}
|
|
2606
2665
|
}
|
|
2607
2666
|
}
|
|
@@ -2619,6 +2678,7 @@ var UpdateSftDocument = import_graphql_tag.default`
|
|
|
2619
2678
|
description
|
|
2620
2679
|
creationTimestamp
|
|
2621
2680
|
completeTimestamp
|
|
2681
|
+
type
|
|
2622
2682
|
storage {
|
|
2623
2683
|
accessModes
|
|
2624
2684
|
selector {
|
|
@@ -2651,7 +2711,13 @@ var UpdateSftDocument = import_graphql_tag.default`
|
|
|
2651
2711
|
displayName
|
|
2652
2712
|
}
|
|
2653
2713
|
}
|
|
2654
|
-
datasets
|
|
2714
|
+
datasets {
|
|
2715
|
+
... on SFTDataset {
|
|
2716
|
+
source
|
|
2717
|
+
version
|
|
2718
|
+
id
|
|
2719
|
+
}
|
|
2720
|
+
}
|
|
2655
2721
|
baseModel {
|
|
2656
2722
|
kind
|
|
2657
2723
|
name
|
|
@@ -2673,6 +2739,11 @@ var UpdateSftDocument = import_graphql_tag.default`
|
|
|
2673
2739
|
metricValidValues
|
|
2674
2740
|
metricDescription
|
|
2675
2741
|
}
|
|
2742
|
+
resources {
|
|
2743
|
+
cpu
|
|
2744
|
+
memory
|
|
2745
|
+
nvidiaGPU
|
|
2746
|
+
}
|
|
2676
2747
|
}
|
|
2677
2748
|
}
|
|
2678
2749
|
}
|
|
@@ -3276,6 +3347,9 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
3276
3347
|
deleteKnowledgeBaseFiles(variables, requestHeaders) {
|
|
3277
3348
|
return withWrapper((wrappedRequestHeaders) => client.request(DeleteKnowledgeBaseFilesDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "deleteKnowledgeBaseFiles", "mutation", variables);
|
|
3278
3349
|
},
|
|
3350
|
+
getKnowledgeBaseFile(variables, requestHeaders) {
|
|
3351
|
+
return withWrapper((wrappedRequestHeaders) => client.request(GetKnowledgeBaseFileDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getKnowledgeBaseFile", "query", variables);
|
|
3352
|
+
},
|
|
3279
3353
|
listKnowledgeBaseFiles(variables, requestHeaders) {
|
|
3280
3354
|
return withWrapper((wrappedRequestHeaders) => client.request(ListKnowledgeBaseFilesDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listKnowledgeBaseFiles", "query", variables);
|
|
3281
3355
|
},
|
|
@@ -3571,6 +3645,9 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
3571
3645
|
useGetKnowledgeBase(variables, config) {
|
|
3572
3646
|
return (0, import_useSWR.default)(genKey("GetKnowledgeBase", variables), () => sdk.getKnowledgeBase(variables), config);
|
|
3573
3647
|
},
|
|
3648
|
+
useGetKnowledgeBaseFile(variables, config) {
|
|
3649
|
+
return (0, import_useSWR.default)(genKey("GetKnowledgeBaseFile", variables), () => sdk.getKnowledgeBaseFile(variables), config);
|
|
3650
|
+
},
|
|
3574
3651
|
useListKnowledgeBaseFiles(variables, config) {
|
|
3575
3652
|
return (0, import_useSWR.default)(genKey("ListKnowledgeBaseFiles", variables), () => sdk.listKnowledgeBaseFiles(variables), config);
|
|
3576
3653
|
},
|
|
@@ -3729,6 +3806,7 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
3729
3806
|
GetEmbedderDocument,
|
|
3730
3807
|
GetGptStoreDocument,
|
|
3731
3808
|
GetKnowledgeBaseDocument,
|
|
3809
|
+
GetKnowledgeBaseFileDocument,
|
|
3732
3810
|
GetLlmDocument,
|
|
3733
3811
|
GetLogInfoDocument,
|
|
3734
3812
|
GetModelDocument,
|
package/dist/cjs/taro.d.ts
CHANGED
|
@@ -199,6 +199,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
199
199
|
deleteKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
200
200
|
input: import("./sdk").DeleteKnowledgeBaseFileInput;
|
|
201
201
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteKnowledgeBaseFilesMutation>;
|
|
202
|
+
getKnowledgeBaseFile(variables: import("./sdk").Exact<{
|
|
203
|
+
id: string;
|
|
204
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetKnowledgeBaseFileQuery>;
|
|
202
205
|
listKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
203
206
|
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
204
207
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFilesQuery>;
|
|
@@ -529,6 +532,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
529
532
|
name: string;
|
|
530
533
|
namespace: string;
|
|
531
534
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetKnowledgeBaseQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetKnowledgeBaseQuery, import("graphql-request/src/types").ClientError>;
|
|
535
|
+
useGetKnowledgeBaseFile(variables: import("./sdk").Exact<{
|
|
536
|
+
id: string;
|
|
537
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetKnowledgeBaseFileQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetKnowledgeBaseFileQuery, import("graphql-request/src/types").ClientError>;
|
|
532
538
|
useListKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
533
539
|
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
534
540
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFilesQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFilesQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -808,6 +814,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
808
814
|
deleteKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
809
815
|
input: import("./sdk").DeleteKnowledgeBaseFileInput;
|
|
810
816
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteKnowledgeBaseFilesMutation>;
|
|
817
|
+
getKnowledgeBaseFile(variables: import("./sdk").Exact<{
|
|
818
|
+
id: string;
|
|
819
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetKnowledgeBaseFileQuery>;
|
|
811
820
|
listKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
812
821
|
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
813
822
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFilesQuery>;
|
|
@@ -1138,6 +1147,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1138
1147
|
name: string;
|
|
1139
1148
|
namespace: string;
|
|
1140
1149
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetKnowledgeBaseQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetKnowledgeBaseQuery, import("graphql-request/src/types").ClientError>;
|
|
1150
|
+
useGetKnowledgeBaseFile(variables: import("./sdk").Exact<{
|
|
1151
|
+
id: string;
|
|
1152
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetKnowledgeBaseFileQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetKnowledgeBaseFileQuery, import("graphql-request/src/types").ClientError>;
|
|
1141
1153
|
useListKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
1142
1154
|
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
1143
1155
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFilesQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFilesQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -1417,6 +1429,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1417
1429
|
deleteKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
1418
1430
|
input: import("./sdk").DeleteKnowledgeBaseFileInput;
|
|
1419
1431
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteKnowledgeBaseFilesMutation>;
|
|
1432
|
+
getKnowledgeBaseFile(variables: import("./sdk").Exact<{
|
|
1433
|
+
id: string;
|
|
1434
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetKnowledgeBaseFileQuery>;
|
|
1420
1435
|
listKnowledgeBaseFiles(variables: import("./sdk").Exact<{
|
|
1421
1436
|
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
1422
1437
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFilesQuery>;
|