@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/esm/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/esm/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>;
|