@yuntijs/arcadia-bff-sdk 1.2.35 → 1.2.36
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 +85 -0
- package/dist/cjs/sdk.d.ts +349 -3
- package/dist/cjs/sdk.js +130 -0
- package/dist/cjs/taro.d.ts +62 -0
- package/dist/esm/index.d.ts +85 -0
- package/dist/esm/sdk.d.ts +349 -3
- package/dist/esm/sdk.js +55 -15
- package/dist/esm/taro.d.ts +62 -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/sdk.d.ts
CHANGED
|
@@ -547,8 +547,14 @@ export type CreateModelServiceInput = {
|
|
|
547
547
|
/** 模型服务创建命名空间 */
|
|
548
548
|
namespace: Scalars['String']['input'];
|
|
549
549
|
/**
|
|
550
|
-
*
|
|
550
|
+
* 模型服务的Reranking模型列表
|
|
551
|
+
* 规则;如果不填或者为空,则按照模型的API类型获取默认的模型列表
|
|
552
|
+
*/
|
|
553
|
+
rerankingModels?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
554
|
+
/**
|
|
555
|
+
* 模型服务能力类型,支持 llm, embedding, reranking 三种模型类型
|
|
551
556
|
* 规则: 如果该模型支持多种模型类型,则可多选。多选后组成的字段通过逗号隔开。如 "llm,embedding"
|
|
557
|
+
* 规则:尚未支持 reranking 与其他类型并行
|
|
552
558
|
*/
|
|
553
559
|
types?: InputMaybe<Scalars['String']['input']>;
|
|
554
560
|
};
|
|
@@ -604,6 +610,29 @@ export type CreateRagInput = {
|
|
|
604
610
|
storage?: InputMaybe<PersistentVolumeClaimSpecInput>;
|
|
605
611
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
606
612
|
};
|
|
613
|
+
export type CreateRerankerInput = {
|
|
614
|
+
/** 模型服务资源注释 */
|
|
615
|
+
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
616
|
+
/** 模型服务资源描述 */
|
|
617
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
618
|
+
/** 模型服务资源展示名称作为显示,并提供编辑 */
|
|
619
|
+
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
620
|
+
/** 模型服务访问信息(必填) */
|
|
621
|
+
endpointinput: EndpointInput;
|
|
622
|
+
/** 模型服务资源标签 */
|
|
623
|
+
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
624
|
+
/** 此Reranker支持调用的模型列表 */
|
|
625
|
+
models?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
626
|
+
/** 模型服务资源名称(不可同名) */
|
|
627
|
+
name: Scalars['String']['input'];
|
|
628
|
+
/** 模型服务创建命名空间 */
|
|
629
|
+
namespace: Scalars['String']['input'];
|
|
630
|
+
/**
|
|
631
|
+
* Reranker 类型
|
|
632
|
+
* 规则: 目前仅支持 bge 一种
|
|
633
|
+
*/
|
|
634
|
+
type?: InputMaybe<Scalars['String']['input']>;
|
|
635
|
+
};
|
|
607
636
|
export type CreateVersionedDatasetInput = {
|
|
608
637
|
/** 一些备注用的注视信息,或者记录一个简单的配置 */
|
|
609
638
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
@@ -1505,6 +1534,7 @@ export type ListModelServiceInput = {
|
|
|
1505
1534
|
* - llm 则仅返回LLM模型服务
|
|
1506
1535
|
* - embedding 则仅返回Embedding模型服务
|
|
1507
1536
|
* - llm,embedding 则返回同时提供LLM和Embedding能力的模型服务
|
|
1537
|
+
* - reranking 则返回Reranking模型服务
|
|
1508
1538
|
*/
|
|
1509
1539
|
types?: InputMaybe<Scalars['String']['input']>;
|
|
1510
1540
|
};
|
|
@@ -1735,6 +1765,11 @@ export type ModelService = {
|
|
|
1735
1765
|
* 规则: worker 本地
|
|
1736
1766
|
*/
|
|
1737
1767
|
providerType?: Maybe<Scalars['String']['output']>;
|
|
1768
|
+
/**
|
|
1769
|
+
* 模型服务的Reranking模型列表
|
|
1770
|
+
* 规则;如果不填或者为空,则按照模型的API类型获取默认的模型列表
|
|
1771
|
+
*/
|
|
1772
|
+
rerankingModels?: Maybe<Array<Scalars['String']['output']>>;
|
|
1738
1773
|
/**
|
|
1739
1774
|
* 状态
|
|
1740
1775
|
* 规则: 目前分为六种状态
|
|
@@ -1795,6 +1830,7 @@ export type Mutation = {
|
|
|
1795
1830
|
ModelService?: Maybe<ModelServiceMutation>;
|
|
1796
1831
|
Plugin?: Maybe<PluginMutation>;
|
|
1797
1832
|
RAG?: Maybe<RagMutation>;
|
|
1833
|
+
Reranker?: Maybe<RerankerMutation>;
|
|
1798
1834
|
VersionedDataset?: Maybe<VersionedDatasetMutation>;
|
|
1799
1835
|
Worker?: Maybe<WorkerMutation>;
|
|
1800
1836
|
dataProcess?: Maybe<DataProcessMutation>;
|
|
@@ -1839,7 +1875,7 @@ export type OssInput = {
|
|
|
1839
1875
|
bucket: Scalars['String']['input'];
|
|
1840
1876
|
object?: InputMaybe<Scalars['String']['input']>;
|
|
1841
1877
|
};
|
|
1842
|
-
export type PageNode = AgentMetadata | AgentPrompt | AgentRelease | AgentReleaseHistory | Dataset | Datasource | Embedder | F | KnowledgeBase | Llm | Model | ModelService | Node | Plugin | Rag | RayCluster | VersionedDataset | Worker;
|
|
1878
|
+
export type PageNode = AgentMetadata | AgentPrompt | AgentRelease | AgentReleaseHistory | Dataset | Datasource | Embedder | F | KnowledgeBase | Llm | Model | ModelService | Node | Plugin | Rag | RayCluster | Reranker | VersionedDataset | Worker;
|
|
1843
1879
|
export type PaginatedDataProcessItem = {
|
|
1844
1880
|
__typename?: 'PaginatedDataProcessItem';
|
|
1845
1881
|
data?: Maybe<Array<DataProcessItem>>;
|
|
@@ -2032,6 +2068,7 @@ export type Query = {
|
|
|
2032
2068
|
Plugin?: Maybe<PluginQuery>;
|
|
2033
2069
|
RAG?: Maybe<RagQuery>;
|
|
2034
2070
|
RayCluster?: Maybe<RayClusterQuery>;
|
|
2071
|
+
Reranker?: Maybe<RerankerQuery>;
|
|
2035
2072
|
VersionedDataset?: Maybe<VersionedDatasetQuery>;
|
|
2036
2073
|
Worker?: Maybe<WorkerQuery>;
|
|
2037
2074
|
dataProcess?: Maybe<DataProcessQuery>;
|
|
@@ -2210,6 +2247,58 @@ export type RemoveDuplicateConfigItem = {
|
|
|
2210
2247
|
embedding_provider: Scalars['String']['output'];
|
|
2211
2248
|
similarity: Scalars['String']['output'];
|
|
2212
2249
|
};
|
|
2250
|
+
export type Reranker = {
|
|
2251
|
+
__typename?: 'Reranker';
|
|
2252
|
+
annotations?: Maybe<Scalars['Map']['output']>;
|
|
2253
|
+
/** 服务地址 */
|
|
2254
|
+
baseUrl: Scalars['String']['output'];
|
|
2255
|
+
creationTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
2256
|
+
creator?: Maybe<Scalars['String']['output']>;
|
|
2257
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
2258
|
+
displayName?: Maybe<Scalars['String']['output']>;
|
|
2259
|
+
id?: Maybe<Scalars['String']['output']>;
|
|
2260
|
+
labels?: Maybe<Scalars['Map']['output']>;
|
|
2261
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
2262
|
+
/** 此Reranker支持调用的模型列表 */
|
|
2263
|
+
models?: Maybe<Array<Scalars['String']['output']>>;
|
|
2264
|
+
name: Scalars['String']['output'];
|
|
2265
|
+
namespace: Scalars['String']['output'];
|
|
2266
|
+
/**
|
|
2267
|
+
* Reranker供应商类型:
|
|
2268
|
+
* 规则: 当前仅支持 worker
|
|
2269
|
+
*/
|
|
2270
|
+
provider?: Maybe<Scalars['String']['output']>;
|
|
2271
|
+
status?: Maybe<Scalars['String']['output']>;
|
|
2272
|
+
type?: Maybe<Scalars['String']['output']>;
|
|
2273
|
+
updateTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
2274
|
+
};
|
|
2275
|
+
export type RerankerMutation = {
|
|
2276
|
+
__typename?: 'RerankerMutation';
|
|
2277
|
+
createReranker: Reranker;
|
|
2278
|
+
deleteRerankers?: Maybe<Scalars['Void']['output']>;
|
|
2279
|
+
updateReranker: Reranker;
|
|
2280
|
+
};
|
|
2281
|
+
export type RerankerMutationCreateRerankerArgs = {
|
|
2282
|
+
input: CreateRerankerInput;
|
|
2283
|
+
};
|
|
2284
|
+
export type RerankerMutationDeleteRerankersArgs = {
|
|
2285
|
+
input?: InputMaybe<DeleteCommonInput>;
|
|
2286
|
+
};
|
|
2287
|
+
export type RerankerMutationUpdateRerankerArgs = {
|
|
2288
|
+
input?: InputMaybe<UpdateRerankerInput>;
|
|
2289
|
+
};
|
|
2290
|
+
export type RerankerQuery = {
|
|
2291
|
+
__typename?: 'RerankerQuery';
|
|
2292
|
+
getReranker: Reranker;
|
|
2293
|
+
listRerankers: PaginatedResult;
|
|
2294
|
+
};
|
|
2295
|
+
export type RerankerQueryGetRerankerArgs = {
|
|
2296
|
+
name: Scalars['String']['input'];
|
|
2297
|
+
namespace: Scalars['String']['input'];
|
|
2298
|
+
};
|
|
2299
|
+
export type RerankerQueryListRerankersArgs = {
|
|
2300
|
+
input: ListCommonInput;
|
|
2301
|
+
};
|
|
2213
2302
|
export type Resource = {
|
|
2214
2303
|
__typename?: 'Resource';
|
|
2215
2304
|
limits?: Maybe<Scalars['Map']['output']>;
|
|
@@ -2552,8 +2641,14 @@ export type UpdateModelServiceInput = {
|
|
|
2552
2641
|
/** 模型创建命名空间 */
|
|
2553
2642
|
namespace: Scalars['String']['input'];
|
|
2554
2643
|
/**
|
|
2555
|
-
*
|
|
2644
|
+
* 模型服务的Reranking模型列表
|
|
2645
|
+
* 规则;如果不填或者为空,则按照模型的API类型获取默认的模型列表
|
|
2646
|
+
*/
|
|
2647
|
+
rerankingModels?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2648
|
+
/**
|
|
2649
|
+
* 模型服务能力类型,支持 llm, embedding, reranking 三种模型类型
|
|
2556
2650
|
* 规则: 如果该模型支持多种模型类型,则可多选。多选后组成的字段通过逗号隔开。如 "llm,embedding"
|
|
2651
|
+
* 规则:尚未支持 reranking 与其他类型并行
|
|
2557
2652
|
*/
|
|
2558
2653
|
types?: InputMaybe<Scalars['String']['input']>;
|
|
2559
2654
|
};
|
|
@@ -2604,6 +2699,29 @@ export type UpdateRagInput = {
|
|
|
2604
2699
|
storage?: InputMaybe<PersistentVolumeClaimSpecInput>;
|
|
2605
2700
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2606
2701
|
};
|
|
2702
|
+
export type UpdateRerankerInput = {
|
|
2703
|
+
/** 模型服务资源注释 */
|
|
2704
|
+
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
2705
|
+
/** 模型服务资源描述 */
|
|
2706
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
2707
|
+
/** 模型服务资源展示名称作为显示,并提供编辑 */
|
|
2708
|
+
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
2709
|
+
/** 模型服务访问信息 */
|
|
2710
|
+
endpointinput?: InputMaybe<EndpointInput>;
|
|
2711
|
+
/** 模型服务资源标签 */
|
|
2712
|
+
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
2713
|
+
/** 此Reranker支持调用的模型列表 */
|
|
2714
|
+
models?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2715
|
+
/** 待修改模型服务资源名称(必填) */
|
|
2716
|
+
name: Scalars['String']['input'];
|
|
2717
|
+
/** 待修改模型服务创建命名空间(必填) */
|
|
2718
|
+
namespace: Scalars['String']['input'];
|
|
2719
|
+
/**
|
|
2720
|
+
* Reranker 类型
|
|
2721
|
+
* 规则: 目前仅支持 bge 一种
|
|
2722
|
+
*/
|
|
2723
|
+
type?: InputMaybe<Scalars['String']['input']>;
|
|
2724
|
+
};
|
|
2607
2725
|
export type UpdateVersionedDatasetInput = {
|
|
2608
2726
|
/** 传递方式同label */
|
|
2609
2727
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
@@ -3233,6 +3351,8 @@ export type GetAgentLatestReleaseInEachPlatformQuery = {
|
|
|
3233
3351
|
__typename?: 'RAG';
|
|
3234
3352
|
} | {
|
|
3235
3353
|
__typename?: 'RayCluster';
|
|
3354
|
+
} | {
|
|
3355
|
+
__typename?: 'Reranker';
|
|
3236
3356
|
} | {
|
|
3237
3357
|
__typename?: 'VersionedDataset';
|
|
3238
3358
|
} | {
|
|
@@ -3301,6 +3421,8 @@ export type GetAgentReleaseHistoryQuery = {
|
|
|
3301
3421
|
__typename?: 'RAG';
|
|
3302
3422
|
} | {
|
|
3303
3423
|
__typename?: 'RayCluster';
|
|
3424
|
+
} | {
|
|
3425
|
+
__typename?: 'Reranker';
|
|
3304
3426
|
} | {
|
|
3305
3427
|
__typename?: 'VersionedDataset';
|
|
3306
3428
|
} | {
|
|
@@ -3371,6 +3493,8 @@ export type ListAgentsQuery = {
|
|
|
3371
3493
|
__typename?: 'RAG';
|
|
3372
3494
|
} | {
|
|
3373
3495
|
__typename?: 'RayCluster';
|
|
3496
|
+
} | {
|
|
3497
|
+
__typename?: 'Reranker';
|
|
3374
3498
|
} | {
|
|
3375
3499
|
__typename?: 'VersionedDataset';
|
|
3376
3500
|
} | {
|
|
@@ -3430,6 +3554,8 @@ export type ListAgentPromptQuery = {
|
|
|
3430
3554
|
__typename?: 'RAG';
|
|
3431
3555
|
} | {
|
|
3432
3556
|
__typename?: 'RayCluster';
|
|
3557
|
+
} | {
|
|
3558
|
+
__typename?: 'Reranker';
|
|
3433
3559
|
} | {
|
|
3434
3560
|
__typename?: 'VersionedDataset';
|
|
3435
3561
|
} | {
|
|
@@ -3798,6 +3924,8 @@ export type ListDatasetsQuery = {
|
|
|
3798
3924
|
__typename?: 'RAG';
|
|
3799
3925
|
} | {
|
|
3800
3926
|
__typename?: 'RayCluster';
|
|
3927
|
+
} | {
|
|
3928
|
+
__typename?: 'Reranker';
|
|
3801
3929
|
} | {
|
|
3802
3930
|
__typename?: 'VersionedDataset';
|
|
3803
3931
|
name: string;
|
|
@@ -3839,6 +3967,8 @@ export type ListDatasetsQuery = {
|
|
|
3839
3967
|
__typename?: 'RAG';
|
|
3840
3968
|
} | {
|
|
3841
3969
|
__typename?: 'RayCluster';
|
|
3970
|
+
} | {
|
|
3971
|
+
__typename?: 'Reranker';
|
|
3842
3972
|
} | {
|
|
3843
3973
|
__typename?: 'VersionedDataset';
|
|
3844
3974
|
} | {
|
|
@@ -3903,6 +4033,8 @@ export type GetDatasetQuery = {
|
|
|
3903
4033
|
__typename?: 'RAG';
|
|
3904
4034
|
} | {
|
|
3905
4035
|
__typename?: 'RayCluster';
|
|
4036
|
+
} | {
|
|
4037
|
+
__typename?: 'Reranker';
|
|
3906
4038
|
} | {
|
|
3907
4039
|
__typename?: 'VersionedDataset';
|
|
3908
4040
|
name: string;
|
|
@@ -4144,6 +4276,8 @@ export type ListDatasourcesQuery = {
|
|
|
4144
4276
|
__typename: 'RAG';
|
|
4145
4277
|
} | {
|
|
4146
4278
|
__typename: 'RayCluster';
|
|
4279
|
+
} | {
|
|
4280
|
+
__typename: 'Reranker';
|
|
4147
4281
|
} | {
|
|
4148
4282
|
__typename: 'VersionedDataset';
|
|
4149
4283
|
} | {
|
|
@@ -4331,6 +4465,8 @@ export type ListEmbeddersQuery = {
|
|
|
4331
4465
|
__typename?: 'RAG';
|
|
4332
4466
|
} | {
|
|
4333
4467
|
__typename?: 'RayCluster';
|
|
4468
|
+
} | {
|
|
4469
|
+
__typename?: 'Reranker';
|
|
4334
4470
|
} | {
|
|
4335
4471
|
__typename?: 'VersionedDataset';
|
|
4336
4472
|
} | {
|
|
@@ -4455,6 +4591,8 @@ export type ListKnowledgeBasesQuery = {
|
|
|
4455
4591
|
__typename?: 'RAG';
|
|
4456
4592
|
} | {
|
|
4457
4593
|
__typename?: 'RayCluster';
|
|
4594
|
+
} | {
|
|
4595
|
+
__typename?: 'Reranker';
|
|
4458
4596
|
} | {
|
|
4459
4597
|
__typename?: 'VersionedDataset';
|
|
4460
4598
|
} | {
|
|
@@ -4713,6 +4851,8 @@ export type ListLlMsQuery = {
|
|
|
4713
4851
|
__typename?: 'RAG';
|
|
4714
4852
|
} | {
|
|
4715
4853
|
__typename?: 'RayCluster';
|
|
4854
|
+
} | {
|
|
4855
|
+
__typename?: 'Reranker';
|
|
4716
4856
|
} | {
|
|
4717
4857
|
__typename?: 'VersionedDataset';
|
|
4718
4858
|
} | {
|
|
@@ -4841,6 +4981,8 @@ export type ListModelsQuery = {
|
|
|
4841
4981
|
__typename?: 'RAG';
|
|
4842
4982
|
} | {
|
|
4843
4983
|
__typename?: 'RayCluster';
|
|
4984
|
+
} | {
|
|
4985
|
+
__typename?: 'Reranker';
|
|
4844
4986
|
} | {
|
|
4845
4987
|
__typename?: 'VersionedDataset';
|
|
4846
4988
|
} | {
|
|
@@ -4857,6 +4999,8 @@ export type ListModelsQuery = {
|
|
|
4857
4999
|
__typename: 'RAG';
|
|
4858
5000
|
} | {
|
|
4859
5001
|
__typename: 'RayCluster';
|
|
5002
|
+
} | {
|
|
5003
|
+
__typename: 'Reranker';
|
|
4860
5004
|
} | {
|
|
4861
5005
|
__typename: 'VersionedDataset';
|
|
4862
5006
|
} | {
|
|
@@ -4936,6 +5080,8 @@ export type GetModelQuery = {
|
|
|
4936
5080
|
__typename?: 'RAG';
|
|
4937
5081
|
} | {
|
|
4938
5082
|
__typename?: 'RayCluster';
|
|
5083
|
+
} | {
|
|
5084
|
+
__typename?: 'Reranker';
|
|
4939
5085
|
} | {
|
|
4940
5086
|
__typename?: 'VersionedDataset';
|
|
4941
5087
|
} | {
|
|
@@ -5037,6 +5183,7 @@ export type CreateModelServiceMutation = {
|
|
|
5037
5183
|
apiType?: string | null;
|
|
5038
5184
|
llmModels?: Array<string> | null;
|
|
5039
5185
|
embeddingModels?: Array<string> | null;
|
|
5186
|
+
rerankingModels?: Array<string> | null;
|
|
5040
5187
|
creationTimestamp?: any | null;
|
|
5041
5188
|
updateTimestamp?: any | null;
|
|
5042
5189
|
status?: string | null;
|
|
@@ -5067,6 +5214,7 @@ export type UpdateModelServiceMutation = {
|
|
|
5067
5214
|
apiType?: string | null;
|
|
5068
5215
|
llmModels?: Array<string> | null;
|
|
5069
5216
|
embeddingModels?: Array<string> | null;
|
|
5217
|
+
rerankingModels?: Array<string> | null;
|
|
5070
5218
|
creationTimestamp?: any | null;
|
|
5071
5219
|
updateTimestamp?: any | null;
|
|
5072
5220
|
status?: string | null;
|
|
@@ -5108,6 +5256,7 @@ export type GetModelServiceQuery = {
|
|
|
5108
5256
|
apiType?: string | null;
|
|
5109
5257
|
llmModels?: Array<string> | null;
|
|
5110
5258
|
embeddingModels?: Array<string> | null;
|
|
5259
|
+
rerankingModels?: Array<string> | null;
|
|
5111
5260
|
creationTimestamp?: any | null;
|
|
5112
5261
|
updateTimestamp?: any | null;
|
|
5113
5262
|
status?: string | null;
|
|
@@ -5164,6 +5313,7 @@ export type ListModelServicesQuery = {
|
|
|
5164
5313
|
apiType?: string | null;
|
|
5165
5314
|
llmModels?: Array<string> | null;
|
|
5166
5315
|
embeddingModels?: Array<string> | null;
|
|
5316
|
+
rerankingModels?: Array<string> | null;
|
|
5167
5317
|
creationTimestamp?: any | null;
|
|
5168
5318
|
updateTimestamp?: any | null;
|
|
5169
5319
|
status?: string | null;
|
|
@@ -5177,6 +5327,8 @@ export type ListModelServicesQuery = {
|
|
|
5177
5327
|
__typename: 'RAG';
|
|
5178
5328
|
} | {
|
|
5179
5329
|
__typename: 'RayCluster';
|
|
5330
|
+
} | {
|
|
5331
|
+
__typename: 'Reranker';
|
|
5180
5332
|
} | {
|
|
5181
5333
|
__typename: 'VersionedDataset';
|
|
5182
5334
|
} | {
|
|
@@ -5246,6 +5398,8 @@ export type ListNodesQuery = {
|
|
|
5246
5398
|
__typename: 'RAG';
|
|
5247
5399
|
} | {
|
|
5248
5400
|
__typename: 'RayCluster';
|
|
5401
|
+
} | {
|
|
5402
|
+
__typename: 'Reranker';
|
|
5249
5403
|
} | {
|
|
5250
5404
|
__typename: 'VersionedDataset';
|
|
5251
5405
|
} | {
|
|
@@ -5320,6 +5474,8 @@ export type ListPluginsQuery = {
|
|
|
5320
5474
|
__typename: 'RAG';
|
|
5321
5475
|
} | {
|
|
5322
5476
|
__typename: 'RayCluster';
|
|
5477
|
+
} | {
|
|
5478
|
+
__typename: 'Reranker';
|
|
5323
5479
|
} | {
|
|
5324
5480
|
__typename: 'VersionedDataset';
|
|
5325
5481
|
} | {
|
|
@@ -5575,6 +5731,8 @@ export type ListRagQuery = {
|
|
|
5575
5731
|
};
|
|
5576
5732
|
} | {
|
|
5577
5733
|
__typename?: 'RayCluster';
|
|
5734
|
+
} | {
|
|
5735
|
+
__typename?: 'Reranker';
|
|
5578
5736
|
} | {
|
|
5579
5737
|
__typename?: 'VersionedDataset';
|
|
5580
5738
|
} | {
|
|
@@ -5907,6 +6065,8 @@ export type ListRayClustersQuery = {
|
|
|
5907
6065
|
headAddress?: string | null;
|
|
5908
6066
|
dashboardHost?: string | null;
|
|
5909
6067
|
pythonVersion?: string | null;
|
|
6068
|
+
} | {
|
|
6069
|
+
__typename: 'Reranker';
|
|
5910
6070
|
} | {
|
|
5911
6071
|
__typename: 'VersionedDataset';
|
|
5912
6072
|
} | {
|
|
@@ -5915,6 +6075,156 @@ export type ListRayClustersQuery = {
|
|
|
5915
6075
|
};
|
|
5916
6076
|
} | null;
|
|
5917
6077
|
};
|
|
6078
|
+
export type CreateRerankerMutationVariables = Exact<{
|
|
6079
|
+
input: CreateRerankerInput;
|
|
6080
|
+
}>;
|
|
6081
|
+
export type CreateRerankerMutation = {
|
|
6082
|
+
__typename?: 'Mutation';
|
|
6083
|
+
Reranker?: {
|
|
6084
|
+
__typename?: 'RerankerMutation';
|
|
6085
|
+
createReranker: {
|
|
6086
|
+
__typename?: 'Reranker';
|
|
6087
|
+
name: string;
|
|
6088
|
+
namespace: string;
|
|
6089
|
+
labels?: any | null;
|
|
6090
|
+
annotations?: any | null;
|
|
6091
|
+
displayName?: string | null;
|
|
6092
|
+
description?: string | null;
|
|
6093
|
+
baseUrl: string;
|
|
6094
|
+
models?: Array<string> | null;
|
|
6095
|
+
type?: string | null;
|
|
6096
|
+
provider?: string | null;
|
|
6097
|
+
updateTimestamp?: any | null;
|
|
6098
|
+
status?: string | null;
|
|
6099
|
+
message?: string | null;
|
|
6100
|
+
};
|
|
6101
|
+
} | null;
|
|
6102
|
+
};
|
|
6103
|
+
export type UpdateRerankerMutationVariables = Exact<{
|
|
6104
|
+
input?: InputMaybe<UpdateRerankerInput>;
|
|
6105
|
+
}>;
|
|
6106
|
+
export type UpdateRerankerMutation = {
|
|
6107
|
+
__typename?: 'Mutation';
|
|
6108
|
+
Reranker?: {
|
|
6109
|
+
__typename?: 'RerankerMutation';
|
|
6110
|
+
updateReranker: {
|
|
6111
|
+
__typename?: 'Reranker';
|
|
6112
|
+
name: string;
|
|
6113
|
+
namespace: string;
|
|
6114
|
+
labels?: any | null;
|
|
6115
|
+
annotations?: any | null;
|
|
6116
|
+
displayName?: string | null;
|
|
6117
|
+
description?: string | null;
|
|
6118
|
+
baseUrl: string;
|
|
6119
|
+
models?: Array<string> | null;
|
|
6120
|
+
type?: string | null;
|
|
6121
|
+
provider?: string | null;
|
|
6122
|
+
updateTimestamp?: any | null;
|
|
6123
|
+
status?: string | null;
|
|
6124
|
+
message?: string | null;
|
|
6125
|
+
};
|
|
6126
|
+
} | null;
|
|
6127
|
+
};
|
|
6128
|
+
export type DeleteRerankersMutationVariables = Exact<{
|
|
6129
|
+
input: DeleteCommonInput;
|
|
6130
|
+
}>;
|
|
6131
|
+
export type DeleteRerankersMutation = {
|
|
6132
|
+
__typename?: 'Mutation';
|
|
6133
|
+
Reranker?: {
|
|
6134
|
+
__typename?: 'RerankerMutation';
|
|
6135
|
+
deleteRerankers?: any | null;
|
|
6136
|
+
} | null;
|
|
6137
|
+
};
|
|
6138
|
+
export type ListRerankersQueryVariables = Exact<{
|
|
6139
|
+
input: ListCommonInput;
|
|
6140
|
+
}>;
|
|
6141
|
+
export type ListRerankersQuery = {
|
|
6142
|
+
__typename?: 'Query';
|
|
6143
|
+
Reranker?: {
|
|
6144
|
+
__typename?: 'RerankerQuery';
|
|
6145
|
+
listRerankers: {
|
|
6146
|
+
__typename?: 'PaginatedResult';
|
|
6147
|
+
totalCount: number;
|
|
6148
|
+
hasNextPage: boolean;
|
|
6149
|
+
nodes?: Array<{
|
|
6150
|
+
__typename?: 'AgentMetadata';
|
|
6151
|
+
} | {
|
|
6152
|
+
__typename?: 'AgentPrompt';
|
|
6153
|
+
} | {
|
|
6154
|
+
__typename?: 'AgentRelease';
|
|
6155
|
+
} | {
|
|
6156
|
+
__typename?: 'AgentReleaseHistory';
|
|
6157
|
+
} | {
|
|
6158
|
+
__typename?: 'Dataset';
|
|
6159
|
+
} | {
|
|
6160
|
+
__typename?: 'Datasource';
|
|
6161
|
+
} | {
|
|
6162
|
+
__typename?: 'Embedder';
|
|
6163
|
+
} | {
|
|
6164
|
+
__typename?: 'F';
|
|
6165
|
+
} | {
|
|
6166
|
+
__typename?: 'KnowledgeBase';
|
|
6167
|
+
} | {
|
|
6168
|
+
__typename?: 'LLM';
|
|
6169
|
+
} | {
|
|
6170
|
+
__typename?: 'Model';
|
|
6171
|
+
} | {
|
|
6172
|
+
__typename?: 'ModelService';
|
|
6173
|
+
} | {
|
|
6174
|
+
__typename?: 'Node';
|
|
6175
|
+
} | {
|
|
6176
|
+
__typename?: 'Plugin';
|
|
6177
|
+
} | {
|
|
6178
|
+
__typename?: 'RAG';
|
|
6179
|
+
} | {
|
|
6180
|
+
__typename?: 'RayCluster';
|
|
6181
|
+
} | {
|
|
6182
|
+
__typename?: 'Reranker';
|
|
6183
|
+
name: string;
|
|
6184
|
+
namespace: string;
|
|
6185
|
+
labels?: any | null;
|
|
6186
|
+
annotations?: any | null;
|
|
6187
|
+
displayName?: string | null;
|
|
6188
|
+
description?: string | null;
|
|
6189
|
+
baseUrl: string;
|
|
6190
|
+
models?: Array<string> | null;
|
|
6191
|
+
type?: string | null;
|
|
6192
|
+
provider?: string | null;
|
|
6193
|
+
updateTimestamp?: any | null;
|
|
6194
|
+
status?: string | null;
|
|
6195
|
+
message?: string | null;
|
|
6196
|
+
} | {
|
|
6197
|
+
__typename?: 'VersionedDataset';
|
|
6198
|
+
} | {
|
|
6199
|
+
__typename?: 'Worker';
|
|
6200
|
+
}> | null;
|
|
6201
|
+
};
|
|
6202
|
+
} | null;
|
|
6203
|
+
};
|
|
6204
|
+
export type GetRerankerQueryVariables = Exact<{
|
|
6205
|
+
name: Scalars['String']['input'];
|
|
6206
|
+
namespace: Scalars['String']['input'];
|
|
6207
|
+
}>;
|
|
6208
|
+
export type GetRerankerQuery = {
|
|
6209
|
+
__typename?: 'Query';
|
|
6210
|
+
Reranker?: {
|
|
6211
|
+
__typename?: 'RerankerQuery';
|
|
6212
|
+
getReranker: {
|
|
6213
|
+
__typename?: 'Reranker';
|
|
6214
|
+
name: string;
|
|
6215
|
+
namespace: string;
|
|
6216
|
+
labels?: any | null;
|
|
6217
|
+
annotations?: any | null;
|
|
6218
|
+
displayName?: string | null;
|
|
6219
|
+
description?: string | null;
|
|
6220
|
+
baseUrl: string;
|
|
6221
|
+
models?: Array<string> | null;
|
|
6222
|
+
type?: string | null;
|
|
6223
|
+
provider?: string | null;
|
|
6224
|
+
updateTimestamp?: any | null;
|
|
6225
|
+
};
|
|
6226
|
+
} | null;
|
|
6227
|
+
};
|
|
5918
6228
|
export type CreateVersionedDatasetMutationVariables = Exact<{
|
|
5919
6229
|
input: CreateVersionedDatasetInput;
|
|
5920
6230
|
}>;
|
|
@@ -6030,6 +6340,8 @@ export type GetVersionedDatasetQuery = {
|
|
|
6030
6340
|
__typename?: 'RAG';
|
|
6031
6341
|
} | {
|
|
6032
6342
|
__typename?: 'RayCluster';
|
|
6343
|
+
} | {
|
|
6344
|
+
__typename?: 'Reranker';
|
|
6033
6345
|
} | {
|
|
6034
6346
|
__typename?: 'VersionedDataset';
|
|
6035
6347
|
} | {
|
|
@@ -6083,6 +6395,8 @@ export type ListVersionedDatasetsQuery = {
|
|
|
6083
6395
|
__typename?: 'RAG';
|
|
6084
6396
|
} | {
|
|
6085
6397
|
__typename?: 'RayCluster';
|
|
6398
|
+
} | {
|
|
6399
|
+
__typename?: 'Reranker';
|
|
6086
6400
|
} | {
|
|
6087
6401
|
__typename?: 'VersionedDataset';
|
|
6088
6402
|
id?: string | null;
|
|
@@ -6143,6 +6457,8 @@ export type ListVersionedDatasetsQuery = {
|
|
|
6143
6457
|
__typename?: 'RAG';
|
|
6144
6458
|
} | {
|
|
6145
6459
|
__typename?: 'RayCluster';
|
|
6460
|
+
} | {
|
|
6461
|
+
__typename?: 'Reranker';
|
|
6146
6462
|
} | {
|
|
6147
6463
|
__typename?: 'VersionedDataset';
|
|
6148
6464
|
} | {
|
|
@@ -6198,6 +6514,8 @@ export type ListWorkersQuery = {
|
|
|
6198
6514
|
__typename: 'RAG';
|
|
6199
6515
|
} | {
|
|
6200
6516
|
__typename: 'RayCluster';
|
|
6517
|
+
} | {
|
|
6518
|
+
__typename: 'Reranker';
|
|
6201
6519
|
} | {
|
|
6202
6520
|
__typename: 'VersionedDataset';
|
|
6203
6521
|
} | {
|
|
@@ -6492,6 +6810,11 @@ export declare const CreateRagDocument: import("../node_modules/.pnpm/graphql@16
|
|
|
6492
6810
|
export declare const UpdateRagDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6493
6811
|
export declare const DeleteRagDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6494
6812
|
export declare const ListRayClustersDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6813
|
+
export declare const CreateRerankerDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6814
|
+
export declare const UpdateRerankerDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6815
|
+
export declare const DeleteRerankersDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6816
|
+
export declare const ListRerankersDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6817
|
+
export declare const GetRerankerDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6495
6818
|
export declare const CreateVersionedDatasetDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6496
6819
|
export declare const UpdateVersionedDatasetDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6497
6820
|
export declare const DeleteVersionedDatasetsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -6579,6 +6902,11 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
6579
6902
|
updateRAG(variables: UpdateRagMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateRagMutation>;
|
|
6580
6903
|
deleteRAG(variables: DeleteRagMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteRagMutation>;
|
|
6581
6904
|
listRayClusters(variables: ListRayClustersQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListRayClustersQuery>;
|
|
6905
|
+
createReranker(variables: CreateRerankerMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateRerankerMutation>;
|
|
6906
|
+
updateReranker(variables?: UpdateRerankerMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateRerankerMutation>;
|
|
6907
|
+
deleteRerankers(variables: DeleteRerankersMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteRerankersMutation>;
|
|
6908
|
+
listRerankers(variables: ListRerankersQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListRerankersQuery>;
|
|
6909
|
+
getReranker(variables: GetRerankerQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetRerankerQuery>;
|
|
6582
6910
|
createVersionedDataset(variables: CreateVersionedDatasetMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateVersionedDatasetMutation>;
|
|
6583
6911
|
updateVersionedDataset(variables: UpdateVersionedDatasetMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateVersionedDatasetMutation>;
|
|
6584
6912
|
deleteVersionedDatasets(variables: DeleteVersionedDatasetsMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteVersionedDatasetsMutation>;
|
|
@@ -6631,6 +6959,8 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
6631
6959
|
useListRag(variables: ListRagQueryVariables, config?: SWRConfigInterface<ListRagQuery, ClientError>): import("./useSWR").SWRResponsePro<ListRagQuery, ClientError>;
|
|
6632
6960
|
useGetRag(variables: GetRagQueryVariables, config?: SWRConfigInterface<GetRagQuery, ClientError>): import("./useSWR").SWRResponsePro<GetRagQuery, ClientError>;
|
|
6633
6961
|
useListRayClusters(variables: ListRayClustersQueryVariables, config?: SWRConfigInterface<ListRayClustersQuery, ClientError>): import("./useSWR").SWRResponsePro<ListRayClustersQuery, ClientError>;
|
|
6962
|
+
useListRerankers(variables: ListRerankersQueryVariables, config?: SWRConfigInterface<ListRerankersQuery, ClientError>): import("./useSWR").SWRResponsePro<ListRerankersQuery, ClientError>;
|
|
6963
|
+
useGetReranker(variables: GetRerankerQueryVariables, config?: SWRConfigInterface<GetRerankerQuery, ClientError>): import("./useSWR").SWRResponsePro<GetRerankerQuery, ClientError>;
|
|
6634
6964
|
useGetVersionedDataset(variables: GetVersionedDatasetQueryVariables, config?: SWRConfigInterface<GetVersionedDatasetQuery, ClientError>): import("./useSWR").SWRResponsePro<GetVersionedDatasetQuery, ClientError>;
|
|
6635
6965
|
useListVersionedDatasets(variables: ListVersionedDatasetsQueryVariables, config?: SWRConfigInterface<ListVersionedDatasetsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListVersionedDatasetsQuery, ClientError>;
|
|
6636
6966
|
useListWorkers(variables: ListWorkersQueryVariables, config?: SWRConfigInterface<ListWorkersQuery, ClientError>): import("./useSWR").SWRResponsePro<ListWorkersQuery, ClientError>;
|
|
@@ -6887,6 +7217,22 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
6887
7217
|
listRayClusters(variables: Exact<{
|
|
6888
7218
|
input: ListCommonInput;
|
|
6889
7219
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListRayClustersQuery>;
|
|
7220
|
+
createReranker(variables: Exact<{
|
|
7221
|
+
input: CreateRerankerInput;
|
|
7222
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateRerankerMutation>;
|
|
7223
|
+
updateReranker(variables?: Exact<{
|
|
7224
|
+
input?: InputMaybe<UpdateRerankerInput> | undefined;
|
|
7225
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateRerankerMutation>;
|
|
7226
|
+
deleteRerankers(variables: Exact<{
|
|
7227
|
+
input: DeleteCommonInput;
|
|
7228
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteRerankersMutation>;
|
|
7229
|
+
listRerankers(variables: Exact<{
|
|
7230
|
+
input: ListCommonInput;
|
|
7231
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListRerankersQuery>;
|
|
7232
|
+
getReranker(variables: Exact<{
|
|
7233
|
+
name: string;
|
|
7234
|
+
namespace: string;
|
|
7235
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetRerankerQuery>;
|
|
6890
7236
|
createVersionedDataset(variables: Exact<{
|
|
6891
7237
|
input: CreateVersionedDatasetInput;
|
|
6892
7238
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateVersionedDatasetMutation>;
|