@yuntijs/arcadia-bff-sdk 1.2.65 → 1.2.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/sdk.d.ts +46 -1
- package/dist/cjs/sdk.js +26 -0
- package/dist/esm/sdk.d.ts +46 -1
- package/dist/esm/sdk.js +6 -6
- 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/sdk.d.ts
CHANGED
|
@@ -588,12 +588,14 @@ export type CreateRagInput = {
|
|
|
588
588
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
589
589
|
};
|
|
590
590
|
export type CreateSftInput = {
|
|
591
|
+
additionalEnvs?: InputMaybe<Scalars['Map']['input']>;
|
|
591
592
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
592
593
|
baseModel: TypedObjectReferenceInput;
|
|
593
594
|
datasets: Array<Scalars['String']['input']>;
|
|
594
595
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
595
596
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
596
597
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
598
|
+
matchExpressions?: InputMaybe<Array<InputMaybe<NodeSelectorRequirementInput>>>;
|
|
597
599
|
metrics: Array<SftMetricInput>;
|
|
598
600
|
name: Scalars['String']['input'];
|
|
599
601
|
namespace: Scalars['String']['input'];
|
|
@@ -1328,6 +1330,7 @@ export type KnowledgeBaseFile = {
|
|
|
1328
1330
|
* 规则: enum { Pending , Processing , Succeeded, Failed, Skipped}
|
|
1329
1331
|
*/
|
|
1330
1332
|
phase?: Maybe<Scalars['String']['output']>;
|
|
1333
|
+
phaseReason?: Maybe<Scalars['String']['output']>;
|
|
1331
1334
|
/** 文件大小 */
|
|
1332
1335
|
size: Scalars['String']['output'];
|
|
1333
1336
|
/** 文件大小-字符长度 */
|
|
@@ -2462,6 +2465,8 @@ export type ResourcesInput = {
|
|
|
2462
2465
|
};
|
|
2463
2466
|
export type Sft = {
|
|
2464
2467
|
__typename?: 'SFT';
|
|
2468
|
+
/** SFT 微调任务的附加参数 */
|
|
2469
|
+
additionalEnvs?: Maybe<Scalars['Map']['output']>;
|
|
2465
2470
|
/** 添加一些辅助性记录信息 */
|
|
2466
2471
|
annotations?: Maybe<Scalars['Map']['output']>;
|
|
2467
2472
|
/**
|
|
@@ -2489,6 +2494,8 @@ export type Sft = {
|
|
|
2489
2494
|
displayName?: Maybe<Scalars['String']['output']>;
|
|
2490
2495
|
/** 一些用于标记,选择的的标签 */
|
|
2491
2496
|
labels?: Maybe<Scalars['Map']['output']>;
|
|
2497
|
+
/** SFT 微调节点亲合度配置 */
|
|
2498
|
+
matchExpressions?: Maybe<Array<Maybe<NodeSelectorRequirement>>>;
|
|
2492
2499
|
/**
|
|
2493
2500
|
* SFT 微调任务指定的参数列表
|
|
2494
2501
|
* 规则:必填
|
|
@@ -2546,7 +2553,7 @@ export type Sft = {
|
|
|
2546
2553
|
suspend: Scalars['Boolean']['output'];
|
|
2547
2554
|
/**
|
|
2548
2555
|
* SFT 微调任务的类型:
|
|
2549
|
-
* 规则:为 {"full", "
|
|
2556
|
+
* 规则:为 {"full", "LoRA", "QLoRA"} 之一
|
|
2550
2557
|
*/
|
|
2551
2558
|
type: Scalars['String']['output'];
|
|
2552
2559
|
};
|
|
@@ -2599,6 +2606,12 @@ export type SftQuery = {
|
|
|
2599
2606
|
__typename?: 'SFTQuery';
|
|
2600
2607
|
getSFT: Sft;
|
|
2601
2608
|
listSFT: PaginatedResult;
|
|
2609
|
+
/**
|
|
2610
|
+
* 列出 SFT 微调任务的全部参数
|
|
2611
|
+
* 参数可选值:
|
|
2612
|
+
* - "All": 列出所有参数
|
|
2613
|
+
* - 分类:"Basic", "LoRA", "General", "QLoRA", "Dataset"
|
|
2614
|
+
*/
|
|
2602
2615
|
listSFTMetric: Array<Maybe<SftMetric>>;
|
|
2603
2616
|
};
|
|
2604
2617
|
export type SftQueryGetSftArgs = {
|
|
@@ -3058,12 +3071,14 @@ export type UpdateRagInput = {
|
|
|
3058
3071
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3059
3072
|
};
|
|
3060
3073
|
export type UpdateSftInput = {
|
|
3074
|
+
additionalEnvs?: InputMaybe<Scalars['Map']['input']>;
|
|
3061
3075
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
3062
3076
|
baseModel?: InputMaybe<TypedObjectReferenceInput>;
|
|
3063
3077
|
datasets: Array<Scalars['String']['input']>;
|
|
3064
3078
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
3065
3079
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
3066
3080
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
3081
|
+
matchExpressions?: InputMaybe<Array<InputMaybe<NodeSelectorRequirementInput>>>;
|
|
3067
3082
|
metrics: Array<SftMetricInput>;
|
|
3068
3083
|
name: Scalars['String']['input'];
|
|
3069
3084
|
namespace: Scalars['String']['input'];
|
|
@@ -5275,6 +5290,7 @@ export type GetKnowledgeBaseFileQuery = {
|
|
|
5275
5290
|
createTimestamp?: any | null;
|
|
5276
5291
|
updateTimestamp?: any | null;
|
|
5277
5292
|
phase?: string | null;
|
|
5293
|
+
phaseReason?: string | null;
|
|
5278
5294
|
};
|
|
5279
5295
|
} | null;
|
|
5280
5296
|
};
|
|
@@ -5322,6 +5338,7 @@ export type ListKnowledgeBaseFilesQuery = {
|
|
|
5322
5338
|
createTimestamp?: any | null;
|
|
5323
5339
|
updateTimestamp?: any | null;
|
|
5324
5340
|
phase?: string | null;
|
|
5341
|
+
phaseReason?: string | null;
|
|
5325
5342
|
} | {
|
|
5326
5343
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
5327
5344
|
} | {
|
|
@@ -7588,6 +7605,7 @@ export type ListSftQuery = {
|
|
|
7588
7605
|
status: string;
|
|
7589
7606
|
phase?: string | null;
|
|
7590
7607
|
phaseMessage?: string | null;
|
|
7608
|
+
additionalEnvs?: any | null;
|
|
7591
7609
|
storage: {
|
|
7592
7610
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
7593
7611
|
accessModes: Array<string>;
|
|
@@ -7656,6 +7674,12 @@ export type ListSftQuery = {
|
|
|
7656
7674
|
memory?: string | null;
|
|
7657
7675
|
nvidiaGPU?: string | null;
|
|
7658
7676
|
};
|
|
7677
|
+
matchExpressions?: Array<{
|
|
7678
|
+
__typename?: 'NodeSelectorRequirement';
|
|
7679
|
+
key: string;
|
|
7680
|
+
operator: string;
|
|
7681
|
+
values: Array<string>;
|
|
7682
|
+
} | null> | null;
|
|
7659
7683
|
} | {
|
|
7660
7684
|
__typename?: 'TuningDataSet';
|
|
7661
7685
|
} | {
|
|
@@ -7699,6 +7723,7 @@ export type GetSftQuery = {
|
|
|
7699
7723
|
status: string;
|
|
7700
7724
|
phase?: string | null;
|
|
7701
7725
|
phaseMessage?: string | null;
|
|
7726
|
+
additionalEnvs?: any | null;
|
|
7702
7727
|
storage: {
|
|
7703
7728
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
7704
7729
|
accessModes: Array<string>;
|
|
@@ -7767,6 +7792,12 @@ export type GetSftQuery = {
|
|
|
7767
7792
|
memory?: string | null;
|
|
7768
7793
|
nvidiaGPU?: string | null;
|
|
7769
7794
|
};
|
|
7795
|
+
matchExpressions?: Array<{
|
|
7796
|
+
__typename?: 'NodeSelectorRequirement';
|
|
7797
|
+
key: string;
|
|
7798
|
+
operator: string;
|
|
7799
|
+
values: Array<string>;
|
|
7800
|
+
} | null> | null;
|
|
7770
7801
|
};
|
|
7771
7802
|
} | null;
|
|
7772
7803
|
};
|
|
@@ -7814,6 +7845,7 @@ export type CreateSftMutation = {
|
|
|
7814
7845
|
status: string;
|
|
7815
7846
|
phase?: string | null;
|
|
7816
7847
|
phaseMessage?: string | null;
|
|
7848
|
+
additionalEnvs?: any | null;
|
|
7817
7849
|
storage: {
|
|
7818
7850
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
7819
7851
|
accessModes: Array<string>;
|
|
@@ -7882,6 +7914,12 @@ export type CreateSftMutation = {
|
|
|
7882
7914
|
memory?: string | null;
|
|
7883
7915
|
nvidiaGPU?: string | null;
|
|
7884
7916
|
};
|
|
7917
|
+
matchExpressions?: Array<{
|
|
7918
|
+
__typename?: 'NodeSelectorRequirement';
|
|
7919
|
+
key: string;
|
|
7920
|
+
operator: string;
|
|
7921
|
+
values: Array<string>;
|
|
7922
|
+
} | null> | null;
|
|
7885
7923
|
};
|
|
7886
7924
|
} | null;
|
|
7887
7925
|
};
|
|
@@ -7909,6 +7947,7 @@ export type UpdateSftMutation = {
|
|
|
7909
7947
|
status: string;
|
|
7910
7948
|
phase?: string | null;
|
|
7911
7949
|
phaseMessage?: string | null;
|
|
7950
|
+
additionalEnvs?: any | null;
|
|
7912
7951
|
storage: {
|
|
7913
7952
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
7914
7953
|
accessModes: Array<string>;
|
|
@@ -7977,6 +8016,12 @@ export type UpdateSftMutation = {
|
|
|
7977
8016
|
memory?: string | null;
|
|
7978
8017
|
nvidiaGPU?: string | null;
|
|
7979
8018
|
};
|
|
8019
|
+
matchExpressions?: Array<{
|
|
8020
|
+
__typename?: 'NodeSelectorRequirement';
|
|
8021
|
+
key: string;
|
|
8022
|
+
operator: string;
|
|
8023
|
+
values: Array<string>;
|
|
8024
|
+
} | null> | null;
|
|
7980
8025
|
};
|
|
7981
8026
|
} | null;
|
|
7982
8027
|
};
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -1240,6 +1240,7 @@ var GetKnowledgeBaseFileDocument = import_graphql_tag.default`
|
|
|
1240
1240
|
createTimestamp
|
|
1241
1241
|
updateTimestamp
|
|
1242
1242
|
phase
|
|
1243
|
+
phaseReason
|
|
1243
1244
|
}
|
|
1244
1245
|
}
|
|
1245
1246
|
}
|
|
@@ -1265,6 +1266,7 @@ var ListKnowledgeBaseFilesDocument = import_graphql_tag.default`
|
|
|
1265
1266
|
createTimestamp
|
|
1266
1267
|
updateTimestamp
|
|
1267
1268
|
phase
|
|
1269
|
+
phaseReason
|
|
1268
1270
|
}
|
|
1269
1271
|
}
|
|
1270
1272
|
}
|
|
@@ -2475,6 +2477,12 @@ var ListSftDocument = import_graphql_tag.default`
|
|
|
2475
2477
|
memory
|
|
2476
2478
|
nvidiaGPU
|
|
2477
2479
|
}
|
|
2480
|
+
matchExpressions {
|
|
2481
|
+
key
|
|
2482
|
+
operator
|
|
2483
|
+
values
|
|
2484
|
+
}
|
|
2485
|
+
additionalEnvs
|
|
2478
2486
|
}
|
|
2479
2487
|
}
|
|
2480
2488
|
}
|
|
@@ -2560,6 +2568,12 @@ var GetSftDocument = import_graphql_tag.default`
|
|
|
2560
2568
|
memory
|
|
2561
2569
|
nvidiaGPU
|
|
2562
2570
|
}
|
|
2571
|
+
matchExpressions {
|
|
2572
|
+
key
|
|
2573
|
+
operator
|
|
2574
|
+
values
|
|
2575
|
+
}
|
|
2576
|
+
additionalEnvs
|
|
2563
2577
|
}
|
|
2564
2578
|
}
|
|
2565
2579
|
}
|
|
@@ -2661,6 +2675,12 @@ var CreateSftDocument = import_graphql_tag.default`
|
|
|
2661
2675
|
memory
|
|
2662
2676
|
nvidiaGPU
|
|
2663
2677
|
}
|
|
2678
|
+
matchExpressions {
|
|
2679
|
+
key
|
|
2680
|
+
operator
|
|
2681
|
+
values
|
|
2682
|
+
}
|
|
2683
|
+
additionalEnvs
|
|
2664
2684
|
}
|
|
2665
2685
|
}
|
|
2666
2686
|
}
|
|
@@ -2744,6 +2764,12 @@ var UpdateSftDocument = import_graphql_tag.default`
|
|
|
2744
2764
|
memory
|
|
2745
2765
|
nvidiaGPU
|
|
2746
2766
|
}
|
|
2767
|
+
matchExpressions {
|
|
2768
|
+
key
|
|
2769
|
+
operator
|
|
2770
|
+
values
|
|
2771
|
+
}
|
|
2772
|
+
additionalEnvs
|
|
2747
2773
|
}
|
|
2748
2774
|
}
|
|
2749
2775
|
}
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -588,12 +588,14 @@ export type CreateRagInput = {
|
|
|
588
588
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
589
589
|
};
|
|
590
590
|
export type CreateSftInput = {
|
|
591
|
+
additionalEnvs?: InputMaybe<Scalars['Map']['input']>;
|
|
591
592
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
592
593
|
baseModel: TypedObjectReferenceInput;
|
|
593
594
|
datasets: Array<Scalars['String']['input']>;
|
|
594
595
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
595
596
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
596
597
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
598
|
+
matchExpressions?: InputMaybe<Array<InputMaybe<NodeSelectorRequirementInput>>>;
|
|
597
599
|
metrics: Array<SftMetricInput>;
|
|
598
600
|
name: Scalars['String']['input'];
|
|
599
601
|
namespace: Scalars['String']['input'];
|
|
@@ -1328,6 +1330,7 @@ export type KnowledgeBaseFile = {
|
|
|
1328
1330
|
* 规则: enum { Pending , Processing , Succeeded, Failed, Skipped}
|
|
1329
1331
|
*/
|
|
1330
1332
|
phase?: Maybe<Scalars['String']['output']>;
|
|
1333
|
+
phaseReason?: Maybe<Scalars['String']['output']>;
|
|
1331
1334
|
/** 文件大小 */
|
|
1332
1335
|
size: Scalars['String']['output'];
|
|
1333
1336
|
/** 文件大小-字符长度 */
|
|
@@ -2462,6 +2465,8 @@ export type ResourcesInput = {
|
|
|
2462
2465
|
};
|
|
2463
2466
|
export type Sft = {
|
|
2464
2467
|
__typename?: 'SFT';
|
|
2468
|
+
/** SFT 微调任务的附加参数 */
|
|
2469
|
+
additionalEnvs?: Maybe<Scalars['Map']['output']>;
|
|
2465
2470
|
/** 添加一些辅助性记录信息 */
|
|
2466
2471
|
annotations?: Maybe<Scalars['Map']['output']>;
|
|
2467
2472
|
/**
|
|
@@ -2489,6 +2494,8 @@ export type Sft = {
|
|
|
2489
2494
|
displayName?: Maybe<Scalars['String']['output']>;
|
|
2490
2495
|
/** 一些用于标记,选择的的标签 */
|
|
2491
2496
|
labels?: Maybe<Scalars['Map']['output']>;
|
|
2497
|
+
/** SFT 微调节点亲合度配置 */
|
|
2498
|
+
matchExpressions?: Maybe<Array<Maybe<NodeSelectorRequirement>>>;
|
|
2492
2499
|
/**
|
|
2493
2500
|
* SFT 微调任务指定的参数列表
|
|
2494
2501
|
* 规则:必填
|
|
@@ -2546,7 +2553,7 @@ export type Sft = {
|
|
|
2546
2553
|
suspend: Scalars['Boolean']['output'];
|
|
2547
2554
|
/**
|
|
2548
2555
|
* SFT 微调任务的类型:
|
|
2549
|
-
* 规则:为 {"full", "
|
|
2556
|
+
* 规则:为 {"full", "LoRA", "QLoRA"} 之一
|
|
2550
2557
|
*/
|
|
2551
2558
|
type: Scalars['String']['output'];
|
|
2552
2559
|
};
|
|
@@ -2599,6 +2606,12 @@ export type SftQuery = {
|
|
|
2599
2606
|
__typename?: 'SFTQuery';
|
|
2600
2607
|
getSFT: Sft;
|
|
2601
2608
|
listSFT: PaginatedResult;
|
|
2609
|
+
/**
|
|
2610
|
+
* 列出 SFT 微调任务的全部参数
|
|
2611
|
+
* 参数可选值:
|
|
2612
|
+
* - "All": 列出所有参数
|
|
2613
|
+
* - 分类:"Basic", "LoRA", "General", "QLoRA", "Dataset"
|
|
2614
|
+
*/
|
|
2602
2615
|
listSFTMetric: Array<Maybe<SftMetric>>;
|
|
2603
2616
|
};
|
|
2604
2617
|
export type SftQueryGetSftArgs = {
|
|
@@ -3058,12 +3071,14 @@ export type UpdateRagInput = {
|
|
|
3058
3071
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3059
3072
|
};
|
|
3060
3073
|
export type UpdateSftInput = {
|
|
3074
|
+
additionalEnvs?: InputMaybe<Scalars['Map']['input']>;
|
|
3061
3075
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
3062
3076
|
baseModel?: InputMaybe<TypedObjectReferenceInput>;
|
|
3063
3077
|
datasets: Array<Scalars['String']['input']>;
|
|
3064
3078
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
3065
3079
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
3066
3080
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
3081
|
+
matchExpressions?: InputMaybe<Array<InputMaybe<NodeSelectorRequirementInput>>>;
|
|
3067
3082
|
metrics: Array<SftMetricInput>;
|
|
3068
3083
|
name: Scalars['String']['input'];
|
|
3069
3084
|
namespace: Scalars['String']['input'];
|
|
@@ -5275,6 +5290,7 @@ export type GetKnowledgeBaseFileQuery = {
|
|
|
5275
5290
|
createTimestamp?: any | null;
|
|
5276
5291
|
updateTimestamp?: any | null;
|
|
5277
5292
|
phase?: string | null;
|
|
5293
|
+
phaseReason?: string | null;
|
|
5278
5294
|
};
|
|
5279
5295
|
} | null;
|
|
5280
5296
|
};
|
|
@@ -5322,6 +5338,7 @@ export type ListKnowledgeBaseFilesQuery = {
|
|
|
5322
5338
|
createTimestamp?: any | null;
|
|
5323
5339
|
updateTimestamp?: any | null;
|
|
5324
5340
|
phase?: string | null;
|
|
5341
|
+
phaseReason?: string | null;
|
|
5325
5342
|
} | {
|
|
5326
5343
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
5327
5344
|
} | {
|
|
@@ -7588,6 +7605,7 @@ export type ListSftQuery = {
|
|
|
7588
7605
|
status: string;
|
|
7589
7606
|
phase?: string | null;
|
|
7590
7607
|
phaseMessage?: string | null;
|
|
7608
|
+
additionalEnvs?: any | null;
|
|
7591
7609
|
storage: {
|
|
7592
7610
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
7593
7611
|
accessModes: Array<string>;
|
|
@@ -7656,6 +7674,12 @@ export type ListSftQuery = {
|
|
|
7656
7674
|
memory?: string | null;
|
|
7657
7675
|
nvidiaGPU?: string | null;
|
|
7658
7676
|
};
|
|
7677
|
+
matchExpressions?: Array<{
|
|
7678
|
+
__typename?: 'NodeSelectorRequirement';
|
|
7679
|
+
key: string;
|
|
7680
|
+
operator: string;
|
|
7681
|
+
values: Array<string>;
|
|
7682
|
+
} | null> | null;
|
|
7659
7683
|
} | {
|
|
7660
7684
|
__typename?: 'TuningDataSet';
|
|
7661
7685
|
} | {
|
|
@@ -7699,6 +7723,7 @@ export type GetSftQuery = {
|
|
|
7699
7723
|
status: string;
|
|
7700
7724
|
phase?: string | null;
|
|
7701
7725
|
phaseMessage?: string | null;
|
|
7726
|
+
additionalEnvs?: any | null;
|
|
7702
7727
|
storage: {
|
|
7703
7728
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
7704
7729
|
accessModes: Array<string>;
|
|
@@ -7767,6 +7792,12 @@ export type GetSftQuery = {
|
|
|
7767
7792
|
memory?: string | null;
|
|
7768
7793
|
nvidiaGPU?: string | null;
|
|
7769
7794
|
};
|
|
7795
|
+
matchExpressions?: Array<{
|
|
7796
|
+
__typename?: 'NodeSelectorRequirement';
|
|
7797
|
+
key: string;
|
|
7798
|
+
operator: string;
|
|
7799
|
+
values: Array<string>;
|
|
7800
|
+
} | null> | null;
|
|
7770
7801
|
};
|
|
7771
7802
|
} | null;
|
|
7772
7803
|
};
|
|
@@ -7814,6 +7845,7 @@ export type CreateSftMutation = {
|
|
|
7814
7845
|
status: string;
|
|
7815
7846
|
phase?: string | null;
|
|
7816
7847
|
phaseMessage?: string | null;
|
|
7848
|
+
additionalEnvs?: any | null;
|
|
7817
7849
|
storage: {
|
|
7818
7850
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
7819
7851
|
accessModes: Array<string>;
|
|
@@ -7882,6 +7914,12 @@ export type CreateSftMutation = {
|
|
|
7882
7914
|
memory?: string | null;
|
|
7883
7915
|
nvidiaGPU?: string | null;
|
|
7884
7916
|
};
|
|
7917
|
+
matchExpressions?: Array<{
|
|
7918
|
+
__typename?: 'NodeSelectorRequirement';
|
|
7919
|
+
key: string;
|
|
7920
|
+
operator: string;
|
|
7921
|
+
values: Array<string>;
|
|
7922
|
+
} | null> | null;
|
|
7885
7923
|
};
|
|
7886
7924
|
} | null;
|
|
7887
7925
|
};
|
|
@@ -7909,6 +7947,7 @@ export type UpdateSftMutation = {
|
|
|
7909
7947
|
status: string;
|
|
7910
7948
|
phase?: string | null;
|
|
7911
7949
|
phaseMessage?: string | null;
|
|
7950
|
+
additionalEnvs?: any | null;
|
|
7912
7951
|
storage: {
|
|
7913
7952
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
7914
7953
|
accessModes: Array<string>;
|
|
@@ -7977,6 +8016,12 @@ export type UpdateSftMutation = {
|
|
|
7977
8016
|
memory?: string | null;
|
|
7978
8017
|
nvidiaGPU?: string | null;
|
|
7979
8018
|
};
|
|
8019
|
+
matchExpressions?: Array<{
|
|
8020
|
+
__typename?: 'NodeSelectorRequirement';
|
|
8021
|
+
key: string;
|
|
8022
|
+
operator: string;
|
|
8023
|
+
values: Array<string>;
|
|
8024
|
+
} | null> | null;
|
|
7980
8025
|
};
|
|
7981
8026
|
} | null;
|
|
7982
8027
|
};
|
package/dist/esm/sdk.js
CHANGED
|
@@ -204,8 +204,8 @@ export var UpdateKnowledgeBaseDocument = gql(_templateObject46 || (_templateObje
|
|
|
204
204
|
export var DeleteKnowledgeBaseDocument = gql(_templateObject47 || (_templateObject47 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBase($input: DeleteCommonInput) {\n KnowledgeBase {\n deleteKnowledgeBase(input: $input)\n }\n}\n "])));
|
|
205
205
|
export var CreateKnowledgeBaseFilesDocument = gql(_templateObject48 || (_templateObject48 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseFiles($input: CreateKnowledgeBaseFileInput!) {\n KnowledgeBase {\n createKnowledgeBaseFiles(input: $input)\n }\n}\n "])));
|
|
206
206
|
export var DeleteKnowledgeBaseFilesDocument = gql(_templateObject49 || (_templateObject49 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBaseFiles($input: DeleteKnowledgeBaseFileInput!) {\n KnowledgeBase {\n deleteKnowledgeBaseFiles(input: $input)\n }\n}\n "])));
|
|
207
|
-
export var GetKnowledgeBaseFileDocument = gql(_templateObject50 || (_templateObject50 = _taggedTemplateLiteral(["\n query getKnowledgeBaseFile($id: String!) {\n KnowledgeBase {\n getKnowledgeBaseFile(id: $id) {\n id\n source\n sourceType\n name\n size\n sizeInBytes\n chunkMethod\n chunkSize\n count\n timeCost\n createTimestamp\n updateTimestamp\n phase\n }\n }\n}\n "])));
|
|
208
|
-
export var ListKnowledgeBaseFilesDocument = gql(_templateObject51 || (_templateObject51 = _taggedTemplateLiteral(["\n query listKnowledgeBaseFiles($input: ListKnowledgeBaseFilesInput!) {\n KnowledgeBase {\n listKnowledgeBaseFiles(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBaseFile {\n id\n source\n sourceType\n name\n size\n sizeInBytes\n chunkMethod\n chunkSize\n count\n timeCost\n createTimestamp\n updateTimestamp\n phase\n }\n }\n }\n }\n}\n "])));
|
|
207
|
+
export var GetKnowledgeBaseFileDocument = gql(_templateObject50 || (_templateObject50 = _taggedTemplateLiteral(["\n query getKnowledgeBaseFile($id: String!) {\n KnowledgeBase {\n getKnowledgeBaseFile(id: $id) {\n id\n source\n sourceType\n name\n size\n sizeInBytes\n chunkMethod\n chunkSize\n count\n timeCost\n createTimestamp\n updateTimestamp\n phase\n phaseReason\n }\n }\n}\n "])));
|
|
208
|
+
export var ListKnowledgeBaseFilesDocument = gql(_templateObject51 || (_templateObject51 = _taggedTemplateLiteral(["\n query listKnowledgeBaseFiles($input: ListKnowledgeBaseFilesInput!) {\n KnowledgeBase {\n listKnowledgeBaseFiles(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBaseFile {\n id\n source\n sourceType\n name\n size\n sizeInBytes\n chunkMethod\n chunkSize\n count\n timeCost\n createTimestamp\n updateTimestamp\n phase\n phaseReason\n }\n }\n }\n }\n}\n "])));
|
|
209
209
|
export var CreateKnowledgeBaseFileChunkDocument = gql(_templateObject52 || (_templateObject52 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseFileChunk($input: CreateKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n createKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
|
|
210
210
|
export var UpdateKnowledgeBaseFileChunkDocument = gql(_templateObject53 || (_templateObject53 = _taggedTemplateLiteral(["\n mutation updateKnowledgeBaseFileChunk($input: UpdateKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n updateKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
|
|
211
211
|
export var DeleteKnowledgeBaseFileChunkDocument = gql(_templateObject54 || (_templateObject54 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBaseFileChunk($input: DeleteKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n deleteKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
|
|
@@ -253,11 +253,11 @@ export var UpdateContentDocument = gql(_templateObject95 || (_templateObject95 =
|
|
|
253
253
|
export var DeleteContentDocument = gql(_templateObject96 || (_templateObject96 = _taggedTemplateLiteral(["\n mutation deleteContent($contentIDs: [String!]) {\n TuningDataSet {\n deleteContent(contentIDs: $contentIDs)\n }\n}\n "])));
|
|
254
254
|
export var DeleteVersionAllContentDocument = gql(_templateObject97 || (_templateObject97 = _taggedTemplateLiteral(["\n mutation deleteVersionAllContent($id: String!) {\n TuningDataSet {\n deleteVersionAllContent(id: $id)\n }\n}\n "])));
|
|
255
255
|
export var LoadVersionFilesDocument = gql(_templateObject98 || (_templateObject98 = _taggedTemplateLiteral(["\n mutation loadVersionFiles($id: String!, $files: [String!]) {\n TuningDataSet {\n loadVersionFiles(id: $id, files: $files)\n }\n}\n "])));
|
|
256
|
-
export var ListSftDocument = gql(_templateObject99 || (_templateObject99 = _taggedTemplateLiteral(["\n query listSFT($input: ListCommonInput!) {\n SFT {\n listSFT(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on SFT {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n }\n }\n }\n }\n}\n "])));
|
|
257
|
-
export var GetSftDocument = gql(_templateObject100 || (_templateObject100 = _taggedTemplateLiteral(["\n query getSFT($name: String!, $namespace: String!) {\n SFT {\n getSFT(name: $name, namespace: $namespace) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n }\n }\n}\n "])));
|
|
256
|
+
export var ListSftDocument = gql(_templateObject99 || (_templateObject99 = _taggedTemplateLiteral(["\n query listSFT($input: ListCommonInput!) {\n SFT {\n listSFT(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on SFT {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n }\n }\n}\n "])));
|
|
257
|
+
export var GetSftDocument = gql(_templateObject100 || (_templateObject100 = _taggedTemplateLiteral(["\n query getSFT($name: String!, $namespace: String!) {\n SFT {\n getSFT(name: $name, namespace: $namespace) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n}\n "])));
|
|
258
258
|
export var ListSftMetricDocument = gql(_templateObject101 || (_templateObject101 = _taggedTemplateLiteral(["\n query listSFTMetric($kind: String!) {\n SFT {\n listSFTMetric(kind: $kind) {\n ... on SFTMetric {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n }\n }\n}\n "])));
|
|
259
|
-
export var CreateSftDocument = gql(_templateObject102 || (_templateObject102 = _taggedTemplateLiteral(["\n mutation createSFT($input: CreateSFTInput!) {\n SFT {\n createSFT(input: $input) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n }\n }\n}\n "])));
|
|
260
|
-
export var UpdateSftDocument = gql(_templateObject103 || (_templateObject103 = _taggedTemplateLiteral(["\n mutation updateSFT($input: UpdateSFTInput!) {\n SFT {\n updateSFT(input: $input) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n }\n }\n}\n "])));
|
|
259
|
+
export var CreateSftDocument = gql(_templateObject102 || (_templateObject102 = _taggedTemplateLiteral(["\n mutation createSFT($input: CreateSFTInput!) {\n SFT {\n createSFT(input: $input) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n}\n "])));
|
|
260
|
+
export var UpdateSftDocument = gql(_templateObject103 || (_templateObject103 = _taggedTemplateLiteral(["\n mutation updateSFT($input: UpdateSFTInput!) {\n SFT {\n updateSFT(input: $input) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n}\n "])));
|
|
261
261
|
export var DeleteSftDocument = gql(_templateObject104 || (_templateObject104 = _taggedTemplateLiteral(["\n mutation deleteSFT($input: DeleteCommonInput!) {\n SFT {\n deleteSFT(input: $input)\n }\n}\n "])));
|
|
262
262
|
export var ExportSftDocument = gql(_templateObject105 || (_templateObject105 = _taggedTemplateLiteral(["\n mutation exportSFT($name: String!, $namespace: String!) {\n SFT {\n exportSFT(name: $name, namespace: $namespace)\n }\n}\n "])));
|
|
263
263
|
export var CreateVersionedDatasetDocument = gql(_templateObject106 || (_templateObject106 = _taggedTemplateLiteral(["\n mutation createVersionedDataset($input: CreateVersionedDatasetInput!) {\n VersionedDataset {\n createVersionedDataset(input: $input) {\n name\n displayName\n creator\n namespace\n version\n updateTimestamp\n creationTimestamp\n released\n syncStatus\n dataProcessStatus\n }\n }\n}\n "])));
|