@yuntijs/arcadia-bff-sdk 1.1.0 → 1.1.1
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/esm/sdk.d.ts +61 -8
- package/dist/esm/sdk.js +4 -4
- 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/sdk.d.ts
CHANGED
|
@@ -423,7 +423,7 @@ export type CreateRagInput = {
|
|
|
423
423
|
judgeLLM: TypedObjectReferenceInput;
|
|
424
424
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
425
425
|
metrics: Array<RagMetricInput>;
|
|
426
|
-
name
|
|
426
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
427
427
|
namespace: Scalars['String']['input'];
|
|
428
428
|
serviceAccountName?: InputMaybe<Scalars['String']['input']>;
|
|
429
429
|
storage: PersistentVolumeClaimSpecInput;
|
|
@@ -1324,6 +1324,16 @@ export type ListRagInput = {
|
|
|
1324
1324
|
/** 根据名字,displayName字段获取 */
|
|
1325
1325
|
keyword?: InputMaybe<Scalars['String']['input']>;
|
|
1326
1326
|
namespace: Scalars['String']['input'];
|
|
1327
|
+
/**
|
|
1328
|
+
* 分页页码,
|
|
1329
|
+
* 规则: 从1开始,默认是1
|
|
1330
|
+
*/
|
|
1331
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1332
|
+
/**
|
|
1333
|
+
* 每页数量,
|
|
1334
|
+
* 规则: 默认10
|
|
1335
|
+
*/
|
|
1336
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1327
1337
|
/** 根据状态过滤 */
|
|
1328
1338
|
status?: InputMaybe<Scalars['String']['input']>;
|
|
1329
1339
|
};
|
|
@@ -1607,7 +1617,7 @@ export type PersistentVolumeClaimSpec = {
|
|
|
1607
1617
|
selector?: Maybe<Selector>;
|
|
1608
1618
|
storageClassName?: Maybe<Scalars['String']['output']>;
|
|
1609
1619
|
volumeMode?: Maybe<Scalars['String']['output']>;
|
|
1610
|
-
volumeName
|
|
1620
|
+
volumeName?: Maybe<Scalars['String']['output']>;
|
|
1611
1621
|
};
|
|
1612
1622
|
export type PersistentVolumeClaimSpecInput = {
|
|
1613
1623
|
accessModes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -1736,10 +1746,10 @@ export type RagMutationCreateRagArgs = {
|
|
|
1736
1746
|
input: CreateRagInput;
|
|
1737
1747
|
};
|
|
1738
1748
|
export type RagMutationDeleteRagArgs = {
|
|
1739
|
-
input
|
|
1749
|
+
input: DeleteRagInput;
|
|
1740
1750
|
};
|
|
1741
1751
|
export type RagMutationUpdateRagArgs = {
|
|
1742
|
-
input
|
|
1752
|
+
input: UpdateRagInput;
|
|
1743
1753
|
};
|
|
1744
1754
|
export type RagQuery = {
|
|
1745
1755
|
__typename?: 'RAGQuery';
|
|
@@ -4288,7 +4298,7 @@ export type ListRagQuery = {
|
|
|
4288
4298
|
storage: {
|
|
4289
4299
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
4290
4300
|
accessModes?: Array<string> | null;
|
|
4291
|
-
volumeName
|
|
4301
|
+
volumeName?: string | null;
|
|
4292
4302
|
storageClassName?: string | null;
|
|
4293
4303
|
volumeMode?: string | null;
|
|
4294
4304
|
selector?: {
|
|
@@ -4301,6 +4311,11 @@ export type ListRagQuery = {
|
|
|
4301
4311
|
operator?: string | null;
|
|
4302
4312
|
} | null> | null;
|
|
4303
4313
|
} | null;
|
|
4314
|
+
resources?: {
|
|
4315
|
+
__typename?: 'Resource';
|
|
4316
|
+
limits?: any | null;
|
|
4317
|
+
requests?: any | null;
|
|
4318
|
+
} | null;
|
|
4304
4319
|
datasource?: {
|
|
4305
4320
|
__typename?: 'TypedObjectReference';
|
|
4306
4321
|
apiGroup?: string | null;
|
|
@@ -4318,6 +4333,29 @@ export type ListRagQuery = {
|
|
|
4318
4333
|
displayName?: string | null;
|
|
4319
4334
|
} | null;
|
|
4320
4335
|
};
|
|
4336
|
+
datasets: Array<{
|
|
4337
|
+
__typename?: 'RAGDataset';
|
|
4338
|
+
source?: {
|
|
4339
|
+
__typename?: 'TypedObjectReference';
|
|
4340
|
+
apiGroup?: string | null;
|
|
4341
|
+
kind: string;
|
|
4342
|
+
name: string;
|
|
4343
|
+
namespace?: string | null;
|
|
4344
|
+
displayName?: string | null;
|
|
4345
|
+
} | null;
|
|
4346
|
+
}>;
|
|
4347
|
+
judgeLLM: {
|
|
4348
|
+
__typename?: 'LLM';
|
|
4349
|
+
name: string;
|
|
4350
|
+
namespace: string;
|
|
4351
|
+
baseUrl: string;
|
|
4352
|
+
models?: Array<string> | null;
|
|
4353
|
+
provider?: string | null;
|
|
4354
|
+
type?: string | null;
|
|
4355
|
+
status?: string | null;
|
|
4356
|
+
message?: string | null;
|
|
4357
|
+
displayName?: string | null;
|
|
4358
|
+
};
|
|
4321
4359
|
} | {
|
|
4322
4360
|
__typename?: 'RayCluster';
|
|
4323
4361
|
} | {
|
|
@@ -4353,7 +4391,7 @@ export type GetRagQuery = {
|
|
|
4353
4391
|
storage: {
|
|
4354
4392
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
4355
4393
|
accessModes?: Array<string> | null;
|
|
4356
|
-
volumeName
|
|
4394
|
+
volumeName?: string | null;
|
|
4357
4395
|
storageClassName?: string | null;
|
|
4358
4396
|
volumeMode?: string | null;
|
|
4359
4397
|
selector?: {
|
|
@@ -4366,6 +4404,11 @@ export type GetRagQuery = {
|
|
|
4366
4404
|
operator?: string | null;
|
|
4367
4405
|
} | null> | null;
|
|
4368
4406
|
} | null;
|
|
4407
|
+
resources?: {
|
|
4408
|
+
__typename?: 'Resource';
|
|
4409
|
+
limits?: any | null;
|
|
4410
|
+
requests?: any | null;
|
|
4411
|
+
} | null;
|
|
4369
4412
|
datasource?: {
|
|
4370
4413
|
__typename?: 'TypedObjectReference';
|
|
4371
4414
|
apiGroup?: string | null;
|
|
@@ -4486,7 +4529,7 @@ export type CreateRagMutation = {
|
|
|
4486
4529
|
storage: {
|
|
4487
4530
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
4488
4531
|
accessModes?: Array<string> | null;
|
|
4489
|
-
volumeName
|
|
4532
|
+
volumeName?: string | null;
|
|
4490
4533
|
storageClassName?: string | null;
|
|
4491
4534
|
volumeMode?: string | null;
|
|
4492
4535
|
selector?: {
|
|
@@ -4499,6 +4542,11 @@ export type CreateRagMutation = {
|
|
|
4499
4542
|
operator?: string | null;
|
|
4500
4543
|
} | null> | null;
|
|
4501
4544
|
} | null;
|
|
4545
|
+
resources?: {
|
|
4546
|
+
__typename?: 'Resource';
|
|
4547
|
+
limits?: any | null;
|
|
4548
|
+
requests?: any | null;
|
|
4549
|
+
} | null;
|
|
4502
4550
|
datasource?: {
|
|
4503
4551
|
__typename?: 'TypedObjectReference';
|
|
4504
4552
|
apiGroup?: string | null;
|
|
@@ -4543,7 +4591,7 @@ export type UpdateRagMutation = {
|
|
|
4543
4591
|
storage: {
|
|
4544
4592
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
4545
4593
|
accessModes?: Array<string> | null;
|
|
4546
|
-
volumeName
|
|
4594
|
+
volumeName?: string | null;
|
|
4547
4595
|
storageClassName?: string | null;
|
|
4548
4596
|
volumeMode?: string | null;
|
|
4549
4597
|
selector?: {
|
|
@@ -4556,6 +4604,11 @@ export type UpdateRagMutation = {
|
|
|
4556
4604
|
operator?: string | null;
|
|
4557
4605
|
} | null> | null;
|
|
4558
4606
|
} | null;
|
|
4607
|
+
resources?: {
|
|
4608
|
+
__typename?: 'Resource';
|
|
4609
|
+
limits?: any | null;
|
|
4610
|
+
requests?: any | null;
|
|
4611
|
+
} | null;
|
|
4559
4612
|
datasource?: {
|
|
4560
4613
|
__typename?: 'TypedObjectReference';
|
|
4561
4614
|
apiGroup?: string | null;
|
package/dist/esm/sdk.js
CHANGED
|
@@ -221,10 +221,10 @@ export var DeleteModelServicesDocument = gql(_templateObject49 || (_templateObje
|
|
|
221
221
|
export var GetModelServiceDocument = gql(_templateObject50 || (_templateObject50 = _taggedTemplateLiteral(["\n query getModelService($name: String!, $namespace: String!) {\n ModelService {\n getModelService(name: $name, namespace: $namespace) {\n id\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n providerType\n types\n apiType\n llmModels\n embeddingModels\n creationTimestamp\n updateTimestamp\n status\n message\n baseUrl\n }\n }\n}\n "])));
|
|
222
222
|
export var ListModelServicesDocument = gql(_templateObject51 || (_templateObject51 = _taggedTemplateLiteral(["\n query listModelServices($input: ListModelServiceInput) {\n ModelService {\n listModelServices(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on ModelService {\n id\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n providerType\n types\n apiType\n llmModels\n embeddingModels\n creationTimestamp\n updateTimestamp\n status\n message\n baseUrl\n }\n }\n }\n }\n}\n "])));
|
|
223
223
|
export var CheckModelServiceDocument = gql(_templateObject52 || (_templateObject52 = _taggedTemplateLiteral(["\n query checkModelService($input: CreateModelServiceInput!) {\n ModelService {\n checkModelService(input: $input) {\n name\n namespace\n apiType\n description\n }\n }\n}\n "])));
|
|
224
|
-
export var ListRagDocument = gql(_templateObject53 || (_templateObject53 = _taggedTemplateLiteral(["\n query listRAG($input: ListRAGInput!) {\n RAG {\n listRAG(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on RAG {\n name\n namespace\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\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 serviceAccountName\n suspend\n status\n phase\n phaseMessage\n }\n }\n }\n }\n}\n "])));
|
|
225
|
-
export var GetRagDocument = gql(_templateObject54 || (_templateObject54 = _taggedTemplateLiteral(["\n query getRAG($name: String!, $namespace: String!) {\n RAG {\n getRAG(name: $name, namespace: $namespace) {\n name\n namespace\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\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 serviceAccountName\n suspend\n status\n phase\n phaseMessage\n application {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n }\n prologue\n model\n llm\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebase\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n }\n datasets {\n source {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n files {\n path\n fileType\n }\n }\n judgeLLM {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n provider\n type\n updateTimestamp\n status\n message\n }\n metrics {\n metricKind\n parameters {\n key\n value\n }\n toleranceThreshbold\n }\n }\n }\n}\n "])));
|
|
226
|
-
export var CreateRagDocument = gql(_templateObject55 || (_templateObject55 = _taggedTemplateLiteral(["\n mutation createRAG($input: CreateRAGInput!) {\n RAG {\n createRAG(input: $input) {\n name\n namespace\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\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 serviceAccountName\n suspend\n status\n phase\n phaseMessage\n }\n }\n}\n "])));
|
|
227
|
-
export var UpdateRagDocument = gql(_templateObject56 || (_templateObject56 = _taggedTemplateLiteral(["\n mutation updateRAG($input: UpdateRAGInput!) {\n RAG {\n updateRAG(input: $input) {\n name\n namespace\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\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 serviceAccountName\n suspend\n status\n phase\n phaseMessage\n }\n }\n}\n "])));
|
|
224
|
+
export var ListRagDocument = gql(_templateObject53 || (_templateObject53 = _taggedTemplateLiteral(["\n query listRAG($input: ListRAGInput!) {\n RAG {\n listRAG(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on RAG {\n name\n namespace\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\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 source {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n judgeLLM {\n name\n namespace\n baseUrl\n models\n provider\n type\n status\n message\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n }\n }\n }\n }\n}\n "])));
|
|
225
|
+
export var GetRagDocument = gql(_templateObject54 || (_templateObject54 = _taggedTemplateLiteral(["\n query getRAG($name: String!, $namespace: String!) {\n RAG {\n getRAG(name: $name, namespace: $namespace) {\n name\n namespace\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n volumeName\n storageClassName\n volumeMode\n resources {\n limits\n requests\n }\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 serviceAccountName\n suspend\n status\n phase\n phaseMessage\n application {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n }\n prologue\n model\n llm\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebase\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n }\n datasets {\n source {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n files {\n path\n fileType\n }\n }\n judgeLLM {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n provider\n type\n updateTimestamp\n status\n message\n }\n metrics {\n metricKind\n parameters {\n key\n value\n }\n toleranceThreshbold\n }\n }\n }\n}\n "])));
|
|
226
|
+
export var CreateRagDocument = gql(_templateObject55 || (_templateObject55 = _taggedTemplateLiteral(["\n mutation createRAG($input: CreateRAGInput!) {\n RAG {\n createRAG(input: $input) {\n name\n namespace\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n volumeName\n storageClassName\n volumeMode\n resources {\n limits\n requests\n }\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 serviceAccountName\n suspend\n status\n phase\n phaseMessage\n }\n }\n}\n "])));
|
|
227
|
+
export var UpdateRagDocument = gql(_templateObject56 || (_templateObject56 = _taggedTemplateLiteral(["\n mutation updateRAG($input: UpdateRAGInput!) {\n RAG {\n updateRAG(input: $input) {\n name\n namespace\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n volumeName\n storageClassName\n volumeMode\n resources {\n limits\n requests\n }\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 serviceAccountName\n suspend\n status\n phase\n phaseMessage\n }\n }\n}\n "])));
|
|
228
228
|
export var DeleteRagDocument = gql(_templateObject57 || (_templateObject57 = _taggedTemplateLiteral(["\n mutation deleteRAG($input: DeleteRAGInput!) {\n RAG {\n deleteRAG(input: $input)\n }\n}\n "])));
|
|
229
229
|
export var ListRayClustersDocument = gql(_templateObject58 || (_templateObject58 = _taggedTemplateLiteral(["\n query listRayClusters($input: ListCommonInput!) {\n RayCluster {\n listRayClusters(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on RayCluster {\n index\n name\n headAddress\n dashboardHost\n pythonVersion\n }\n }\n }\n }\n}\n "])));
|
|
230
230
|
export var CreateVersionedDatasetDocument = gql(_templateObject59 || (_templateObject59 = _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 "])));
|