@yuntijs/arcadia-bff-sdk 1.0.74 → 1.0.76
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/index.d.ts +42 -0
- package/dist/esm/sdk.d.ts +211 -1
- package/dist/esm/sdk.js +68 -37
- 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
|
@@ -69,6 +69,12 @@ export declare const sdk: {
|
|
|
69
69
|
name: string;
|
|
70
70
|
namespace: string;
|
|
71
71
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetEmbedderQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetEmbedderQuery, import("graphql-request/src/types").ClientError>;
|
|
72
|
+
useGetGpt(variables: import("./sdk").Exact<{
|
|
73
|
+
name: string;
|
|
74
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetGptQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetGptQuery, import("graphql-request/src/types").ClientError>;
|
|
75
|
+
useListGpTs(variables: import("./sdk").Exact<{
|
|
76
|
+
input: import("./sdk").ListGptInput;
|
|
77
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListGpTsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListGpTsQuery, import("graphql-request/src/types").ClientError>;
|
|
72
78
|
useListKnowledgeBases(variables: import("./sdk").Exact<{
|
|
73
79
|
input: import("./sdk").ListKnowledgeBaseInput;
|
|
74
80
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBasesQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBasesQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -232,6 +238,12 @@ export declare const sdk: {
|
|
|
232
238
|
name: string;
|
|
233
239
|
namespace: string;
|
|
234
240
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetEmbedderQuery>;
|
|
241
|
+
getGPT(variables: import("./sdk").Exact<{
|
|
242
|
+
name: string;
|
|
243
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetGptQuery>;
|
|
244
|
+
listGPTs(variables: import("./sdk").Exact<{
|
|
245
|
+
input: import("./sdk").ListGptInput;
|
|
246
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListGpTsQuery>;
|
|
235
247
|
listKnowledgeBases(variables: import("./sdk").Exact<{
|
|
236
248
|
input: import("./sdk").ListKnowledgeBaseInput;
|
|
237
249
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBasesQuery>;
|
|
@@ -474,6 +486,12 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
474
486
|
name: string;
|
|
475
487
|
namespace: string;
|
|
476
488
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetEmbedderQuery>;
|
|
489
|
+
getGPT(variables: import("./sdk").Exact<{
|
|
490
|
+
name: string;
|
|
491
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetGptQuery>;
|
|
492
|
+
listGPTs(variables: import("./sdk").Exact<{
|
|
493
|
+
input: import("./sdk").ListGptInput;
|
|
494
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListGpTsQuery>;
|
|
477
495
|
listKnowledgeBases(variables: import("./sdk").Exact<{
|
|
478
496
|
input: import("./sdk").ListKnowledgeBaseInput;
|
|
479
497
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBasesQuery>;
|
|
@@ -653,6 +671,12 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
653
671
|
name: string;
|
|
654
672
|
namespace: string;
|
|
655
673
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetEmbedderQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetEmbedderQuery, import("graphql-request/src/types").ClientError>;
|
|
674
|
+
useGetGpt(variables: import("./sdk").Exact<{
|
|
675
|
+
name: string;
|
|
676
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetGptQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetGptQuery, import("graphql-request/src/types").ClientError>;
|
|
677
|
+
useListGpTs(variables: import("./sdk").Exact<{
|
|
678
|
+
input: import("./sdk").ListGptInput;
|
|
679
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListGpTsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListGpTsQuery, import("graphql-request/src/types").ClientError>;
|
|
656
680
|
useListKnowledgeBases(variables: import("./sdk").Exact<{
|
|
657
681
|
input: import("./sdk").ListKnowledgeBaseInput;
|
|
658
682
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBasesQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBasesQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -816,6 +840,12 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
816
840
|
name: string;
|
|
817
841
|
namespace: string;
|
|
818
842
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetEmbedderQuery>;
|
|
843
|
+
getGPT(variables: import("./sdk").Exact<{
|
|
844
|
+
name: string;
|
|
845
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetGptQuery>;
|
|
846
|
+
listGPTs(variables: import("./sdk").Exact<{
|
|
847
|
+
input: import("./sdk").ListGptInput;
|
|
848
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListGpTsQuery>;
|
|
819
849
|
listKnowledgeBases(variables: import("./sdk").Exact<{
|
|
820
850
|
input: import("./sdk").ListKnowledgeBaseInput;
|
|
821
851
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBasesQuery>;
|
|
@@ -995,6 +1025,12 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
995
1025
|
name: string;
|
|
996
1026
|
namespace: string;
|
|
997
1027
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetEmbedderQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetEmbedderQuery, import("graphql-request/src/types").ClientError>;
|
|
1028
|
+
useGetGpt(variables: import("./sdk").Exact<{
|
|
1029
|
+
name: string;
|
|
1030
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetGptQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetGptQuery, import("graphql-request/src/types").ClientError>;
|
|
1031
|
+
useListGpTs(variables: import("./sdk").Exact<{
|
|
1032
|
+
input: import("./sdk").ListGptInput;
|
|
1033
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListGpTsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListGpTsQuery, import("graphql-request/src/types").ClientError>;
|
|
998
1034
|
useListKnowledgeBases(variables: import("./sdk").Exact<{
|
|
999
1035
|
input: import("./sdk").ListKnowledgeBaseInput;
|
|
1000
1036
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBasesQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBasesQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -1158,6 +1194,12 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1158
1194
|
name: string;
|
|
1159
1195
|
namespace: string;
|
|
1160
1196
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetEmbedderQuery>;
|
|
1197
|
+
getGPT(variables: import("./sdk").Exact<{
|
|
1198
|
+
name: string;
|
|
1199
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetGptQuery>;
|
|
1200
|
+
listGPTs(variables: import("./sdk").Exact<{
|
|
1201
|
+
input: import("./sdk").ListGptInput;
|
|
1202
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListGpTsQuery>;
|
|
1161
1203
|
listKnowledgeBases(variables: import("./sdk").Exact<{
|
|
1162
1204
|
input: import("./sdk").ListKnowledgeBaseInput;
|
|
1163
1205
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBasesQuery>;
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -120,6 +120,8 @@ export type Application = {
|
|
|
120
120
|
showRetrievalInfo?: Maybe<Scalars['Boolean']['output']>;
|
|
121
121
|
/** temperature 温度 */
|
|
122
122
|
temperature?: Maybe<Scalars['Float']['output']>;
|
|
123
|
+
/** tools 要使用的工具列表 */
|
|
124
|
+
tools?: Maybe<Array<Maybe<Tool>>>;
|
|
123
125
|
/** userPrompt 用户级别的 Prompt */
|
|
124
126
|
userPrompt?: Maybe<Scalars['String']['output']>;
|
|
125
127
|
};
|
|
@@ -131,6 +133,8 @@ export type ApplicationMetadata = {
|
|
|
131
133
|
__typename?: 'ApplicationMetadata';
|
|
132
134
|
/** 添加一些辅助性记录信息 */
|
|
133
135
|
annotations?: Maybe<Scalars['Map']['output']>;
|
|
136
|
+
/** category:所属分类 */
|
|
137
|
+
category?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
134
138
|
/** 创建时间 */
|
|
135
139
|
creationTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
136
140
|
/**
|
|
@@ -209,6 +213,8 @@ export type CountDataProcessItem = {
|
|
|
209
213
|
export type CreateApplicationMetadataInput = {
|
|
210
214
|
/** 添加一些辅助性记录信息 */
|
|
211
215
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
216
|
+
/** category:所属分类 */
|
|
217
|
+
category?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
212
218
|
/** 描述信息 */
|
|
213
219
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
214
220
|
/** 展示名,别名 */
|
|
@@ -981,6 +987,40 @@ export type FileGroup = {
|
|
|
981
987
|
export type FileItem = {
|
|
982
988
|
name: Scalars['String']['input'];
|
|
983
989
|
};
|
|
990
|
+
/**
|
|
991
|
+
* GPT
|
|
992
|
+
* GPT应用需要的信息
|
|
993
|
+
*/
|
|
994
|
+
export type Gpt = {
|
|
995
|
+
__typename?: 'GPT';
|
|
996
|
+
/** category:gpt所属分类 */
|
|
997
|
+
category?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
998
|
+
/** creator: 创造者 */
|
|
999
|
+
creator?: Maybe<Scalars['String']['output']>;
|
|
1000
|
+
/** description: 描述信息 */
|
|
1001
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
1002
|
+
/** displayName: 展示名称 */
|
|
1003
|
+
displayName?: Maybe<Scalars['String']['output']>;
|
|
1004
|
+
/** hot: 热度 */
|
|
1005
|
+
hot?: Maybe<Scalars['Int64']['output']>;
|
|
1006
|
+
/** icon: base64的图标 */
|
|
1007
|
+
icon?: Maybe<Scalars['String']['output']>;
|
|
1008
|
+
/** name: 集群内唯一名称,实际是app的 namespace/name */
|
|
1009
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
1010
|
+
/** 对话开场白 */
|
|
1011
|
+
prologue?: Maybe<Scalars['String']['output']>;
|
|
1012
|
+
};
|
|
1013
|
+
export type GptQuery = {
|
|
1014
|
+
__typename?: 'GPTQuery';
|
|
1015
|
+
getGPT: Gpt;
|
|
1016
|
+
listGPT: PaginatedResult;
|
|
1017
|
+
};
|
|
1018
|
+
export type GptQueryGetGptArgs = {
|
|
1019
|
+
name: Scalars['String']['input'];
|
|
1020
|
+
};
|
|
1021
|
+
export type GptQueryListGptArgs = {
|
|
1022
|
+
input: ListGptInput;
|
|
1023
|
+
};
|
|
984
1024
|
/** 知识库 */
|
|
985
1025
|
export type KnowledgeBase = {
|
|
986
1026
|
__typename?: 'KnowledgeBase';
|
|
@@ -1178,6 +1218,25 @@ export type ListDatasetInput = {
|
|
|
1178
1218
|
*/
|
|
1179
1219
|
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1180
1220
|
};
|
|
1221
|
+
export type ListGptInput = {
|
|
1222
|
+
/**
|
|
1223
|
+
* category: gpt所属分类
|
|
1224
|
+
* 规则:分类和关键词同时使用时是and的关系;不填时会默认返回推荐分类的结果
|
|
1225
|
+
*/
|
|
1226
|
+
category?: InputMaybe<Scalars['String']['input']>;
|
|
1227
|
+
/** 关键词: 模糊匹配 */
|
|
1228
|
+
keyword?: InputMaybe<Scalars['String']['input']>;
|
|
1229
|
+
/**
|
|
1230
|
+
* 分页页码,
|
|
1231
|
+
* 规则: 从1开始,默认是1
|
|
1232
|
+
*/
|
|
1233
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1234
|
+
/**
|
|
1235
|
+
* 每页数量,
|
|
1236
|
+
* 规则: 默认10,值为-1返回全部
|
|
1237
|
+
*/
|
|
1238
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1239
|
+
};
|
|
1181
1240
|
/** 知识库分页列表查询的输入 */
|
|
1182
1241
|
export type ListKnowledgeBaseInput = {
|
|
1183
1242
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1515,7 +1574,7 @@ export type OssInput = {
|
|
|
1515
1574
|
bucket: Scalars['String']['input'];
|
|
1516
1575
|
object?: InputMaybe<Scalars['String']['input']>;
|
|
1517
1576
|
};
|
|
1518
|
-
export type PageNode = ApplicationMetadata | Dataset | Datasource | Embedder | F | KnowledgeBase | Llm | Model | ModelService | Rag | RayCluster | VersionedDataset | Worker;
|
|
1577
|
+
export type PageNode = ApplicationMetadata | Dataset | Datasource | Embedder | F | Gpt | KnowledgeBase | Llm | Model | ModelService | Rag | RayCluster | VersionedDataset | Worker;
|
|
1519
1578
|
export type PaginatedDataProcessItem = {
|
|
1520
1579
|
__typename?: 'PaginatedDataProcessItem';
|
|
1521
1580
|
data?: Maybe<Array<DataProcessItem>>;
|
|
@@ -1566,6 +1625,7 @@ export type Query = {
|
|
|
1566
1625
|
Dataset?: Maybe<DatasetQuery>;
|
|
1567
1626
|
Datasource?: Maybe<DatasourceQuery>;
|
|
1568
1627
|
Embedder?: Maybe<EmbedderQuery>;
|
|
1628
|
+
GPT?: Maybe<GptQuery>;
|
|
1569
1629
|
KnowledgeBase?: Maybe<KnowledgeBaseQuery>;
|
|
1570
1630
|
LLM?: Maybe<LlmQuery>;
|
|
1571
1631
|
Model?: Maybe<ModelQuery>;
|
|
@@ -1760,6 +1820,21 @@ export type SelectorInput = {
|
|
|
1760
1820
|
matchExpressions?: InputMaybe<Array<InputMaybe<LabelSelectorRequirementInput>>>;
|
|
1761
1821
|
matchLabels?: InputMaybe<Scalars['Map']['input']>;
|
|
1762
1822
|
};
|
|
1823
|
+
/** Tool 应用和Agent中用到的工具 */
|
|
1824
|
+
export type Tool = {
|
|
1825
|
+
__typename?: 'Tool';
|
|
1826
|
+
/** 名称,目前只有bing可选 */
|
|
1827
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
1828
|
+
/** params 参数 */
|
|
1829
|
+
params?: Maybe<Scalars['Map']['output']>;
|
|
1830
|
+
};
|
|
1831
|
+
/** ToolInput 应用和Agent中用到的工具 */
|
|
1832
|
+
export type ToolInput = {
|
|
1833
|
+
/** 名称(必填),目前只有bing可选 */
|
|
1834
|
+
name: Scalars['String']['input'];
|
|
1835
|
+
/** params 参数,可选 */
|
|
1836
|
+
params?: InputMaybe<Scalars['Map']['input']>;
|
|
1837
|
+
};
|
|
1763
1838
|
export type TypedObjectReference = {
|
|
1764
1839
|
__typename?: 'TypedObjectReference';
|
|
1765
1840
|
apiGroup?: Maybe<Scalars['String']['output']>;
|
|
@@ -1813,12 +1888,16 @@ export type UpdateApplicationConfigInput = {
|
|
|
1813
1888
|
showRetrievalInfo?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1814
1889
|
/** temperature 温度 */
|
|
1815
1890
|
temperature?: InputMaybe<Scalars['Float']['input']>;
|
|
1891
|
+
/** tools 要使用的工具列表 */
|
|
1892
|
+
tools?: InputMaybe<Array<InputMaybe<ToolInput>>>;
|
|
1816
1893
|
/** userPrompt 用户级别的 Prompt */
|
|
1817
1894
|
userPrompt?: InputMaybe<Scalars['String']['input']>;
|
|
1818
1895
|
};
|
|
1819
1896
|
export type UpdateApplicationMetadataInput = {
|
|
1820
1897
|
/** 添加一些辅助性记录信息,如果要更新,请传递完整内容 */
|
|
1821
1898
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
1899
|
+
/** category:所属分类 */
|
|
1900
|
+
category?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1822
1901
|
/** 描述信息 */
|
|
1823
1902
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
1824
1903
|
/** 展示名,别名 */
|
|
@@ -2417,6 +2496,11 @@ export type UpdateApplicationConfigMutation = {
|
|
|
2417
2496
|
isPublic?: boolean | null;
|
|
2418
2497
|
status?: string | null;
|
|
2419
2498
|
} | null;
|
|
2499
|
+
tools?: Array<{
|
|
2500
|
+
__typename?: 'Tool';
|
|
2501
|
+
name?: string | null;
|
|
2502
|
+
params?: any | null;
|
|
2503
|
+
} | null> | null;
|
|
2420
2504
|
};
|
|
2421
2505
|
} | null;
|
|
2422
2506
|
};
|
|
@@ -2461,6 +2545,11 @@ export type GetApplicationQuery = {
|
|
|
2461
2545
|
isPublic?: boolean | null;
|
|
2462
2546
|
status?: string | null;
|
|
2463
2547
|
} | null;
|
|
2548
|
+
tools?: Array<{
|
|
2549
|
+
__typename?: 'Tool';
|
|
2550
|
+
name?: string | null;
|
|
2551
|
+
params?: any | null;
|
|
2552
|
+
} | null> | null;
|
|
2464
2553
|
};
|
|
2465
2554
|
} | null;
|
|
2466
2555
|
};
|
|
@@ -2500,6 +2589,8 @@ export type ListApplicationsQuery = {
|
|
|
2500
2589
|
__typename?: 'Embedder';
|
|
2501
2590
|
} | {
|
|
2502
2591
|
__typename?: 'F';
|
|
2592
|
+
} | {
|
|
2593
|
+
__typename?: 'GPT';
|
|
2503
2594
|
} | {
|
|
2504
2595
|
__typename?: 'KnowledgeBase';
|
|
2505
2596
|
} | {
|
|
@@ -2789,6 +2880,8 @@ export type ListDatasetsQuery = {
|
|
|
2789
2880
|
__typename?: 'Embedder';
|
|
2790
2881
|
} | {
|
|
2791
2882
|
__typename?: 'F';
|
|
2883
|
+
} | {
|
|
2884
|
+
__typename?: 'GPT';
|
|
2792
2885
|
} | {
|
|
2793
2886
|
__typename?: 'KnowledgeBase';
|
|
2794
2887
|
} | {
|
|
@@ -2826,6 +2919,8 @@ export type ListDatasetsQuery = {
|
|
|
2826
2919
|
__typename?: 'Embedder';
|
|
2827
2920
|
} | {
|
|
2828
2921
|
__typename?: 'F';
|
|
2922
|
+
} | {
|
|
2923
|
+
__typename?: 'GPT';
|
|
2829
2924
|
} | {
|
|
2830
2925
|
__typename?: 'KnowledgeBase';
|
|
2831
2926
|
} | {
|
|
@@ -2880,6 +2975,8 @@ export type GetDatasetQuery = {
|
|
|
2880
2975
|
__typename?: 'Embedder';
|
|
2881
2976
|
} | {
|
|
2882
2977
|
__typename?: 'F';
|
|
2978
|
+
} | {
|
|
2979
|
+
__typename?: 'GPT';
|
|
2883
2980
|
} | {
|
|
2884
2981
|
__typename?: 'KnowledgeBase';
|
|
2885
2982
|
} | {
|
|
@@ -3099,6 +3196,8 @@ export type ListDatasourcesQuery = {
|
|
|
3099
3196
|
__typename: 'Embedder';
|
|
3100
3197
|
} | {
|
|
3101
3198
|
__typename: 'F';
|
|
3199
|
+
} | {
|
|
3200
|
+
__typename: 'GPT';
|
|
3102
3201
|
} | {
|
|
3103
3202
|
__typename: 'KnowledgeBase';
|
|
3104
3203
|
} | {
|
|
@@ -3272,6 +3371,8 @@ export type ListEmbeddersQuery = {
|
|
|
3272
3371
|
message?: string | null;
|
|
3273
3372
|
} | {
|
|
3274
3373
|
__typename?: 'F';
|
|
3374
|
+
} | {
|
|
3375
|
+
__typename?: 'GPT';
|
|
3275
3376
|
} | {
|
|
3276
3377
|
__typename?: 'KnowledgeBase';
|
|
3277
3378
|
} | {
|
|
@@ -3316,6 +3417,79 @@ export type GetEmbedderQuery = {
|
|
|
3316
3417
|
};
|
|
3317
3418
|
} | null;
|
|
3318
3419
|
};
|
|
3420
|
+
export type GetGptQueryVariables = Exact<{
|
|
3421
|
+
name: Scalars['String']['input'];
|
|
3422
|
+
}>;
|
|
3423
|
+
export type GetGptQuery = {
|
|
3424
|
+
__typename?: 'Query';
|
|
3425
|
+
GPT?: {
|
|
3426
|
+
__typename?: 'GPTQuery';
|
|
3427
|
+
getGPT: {
|
|
3428
|
+
__typename?: 'GPT';
|
|
3429
|
+
name?: string | null;
|
|
3430
|
+
displayName?: string | null;
|
|
3431
|
+
description?: string | null;
|
|
3432
|
+
hot?: any | null;
|
|
3433
|
+
creator?: string | null;
|
|
3434
|
+
category?: Array<string | null> | null;
|
|
3435
|
+
icon?: string | null;
|
|
3436
|
+
prologue?: string | null;
|
|
3437
|
+
};
|
|
3438
|
+
} | null;
|
|
3439
|
+
};
|
|
3440
|
+
export type ListGpTsQueryVariables = Exact<{
|
|
3441
|
+
input: ListGptInput;
|
|
3442
|
+
}>;
|
|
3443
|
+
export type ListGpTsQuery = {
|
|
3444
|
+
__typename?: 'Query';
|
|
3445
|
+
GPT?: {
|
|
3446
|
+
__typename?: 'GPTQuery';
|
|
3447
|
+
listGPT: {
|
|
3448
|
+
__typename?: 'PaginatedResult';
|
|
3449
|
+
page?: number | null;
|
|
3450
|
+
pageSize?: number | null;
|
|
3451
|
+
totalCount: number;
|
|
3452
|
+
hasNextPage: boolean;
|
|
3453
|
+
nodes?: Array<{
|
|
3454
|
+
__typename?: 'ApplicationMetadata';
|
|
3455
|
+
} | {
|
|
3456
|
+
__typename?: 'Dataset';
|
|
3457
|
+
} | {
|
|
3458
|
+
__typename?: 'Datasource';
|
|
3459
|
+
} | {
|
|
3460
|
+
__typename?: 'Embedder';
|
|
3461
|
+
} | {
|
|
3462
|
+
__typename?: 'F';
|
|
3463
|
+
} | {
|
|
3464
|
+
__typename?: 'GPT';
|
|
3465
|
+
name?: string | null;
|
|
3466
|
+
displayName?: string | null;
|
|
3467
|
+
description?: string | null;
|
|
3468
|
+
hot?: any | null;
|
|
3469
|
+
creator?: string | null;
|
|
3470
|
+
category?: Array<string | null> | null;
|
|
3471
|
+
icon?: string | null;
|
|
3472
|
+
prologue?: string | null;
|
|
3473
|
+
} | {
|
|
3474
|
+
__typename?: 'KnowledgeBase';
|
|
3475
|
+
} | {
|
|
3476
|
+
__typename?: 'LLM';
|
|
3477
|
+
} | {
|
|
3478
|
+
__typename?: 'Model';
|
|
3479
|
+
} | {
|
|
3480
|
+
__typename?: 'ModelService';
|
|
3481
|
+
} | {
|
|
3482
|
+
__typename?: 'RAG';
|
|
3483
|
+
} | {
|
|
3484
|
+
__typename?: 'RayCluster';
|
|
3485
|
+
} | {
|
|
3486
|
+
__typename?: 'VersionedDataset';
|
|
3487
|
+
} | {
|
|
3488
|
+
__typename?: 'Worker';
|
|
3489
|
+
}> | null;
|
|
3490
|
+
};
|
|
3491
|
+
} | null;
|
|
3492
|
+
};
|
|
3319
3493
|
export type ListKnowledgeBasesQueryVariables = Exact<{
|
|
3320
3494
|
input: ListKnowledgeBaseInput;
|
|
3321
3495
|
}>;
|
|
@@ -3337,6 +3511,8 @@ export type ListKnowledgeBasesQuery = {
|
|
|
3337
3511
|
__typename?: 'Embedder';
|
|
3338
3512
|
} | {
|
|
3339
3513
|
__typename?: 'F';
|
|
3514
|
+
} | {
|
|
3515
|
+
__typename?: 'GPT';
|
|
3340
3516
|
} | {
|
|
3341
3517
|
__typename?: 'KnowledgeBase';
|
|
3342
3518
|
id?: string | null;
|
|
@@ -3597,6 +3773,8 @@ export type ListLlMsQuery = {
|
|
|
3597
3773
|
__typename?: 'Embedder';
|
|
3598
3774
|
} | {
|
|
3599
3775
|
__typename?: 'F';
|
|
3776
|
+
} | {
|
|
3777
|
+
__typename?: 'GPT';
|
|
3600
3778
|
} | {
|
|
3601
3779
|
__typename?: 'KnowledgeBase';
|
|
3602
3780
|
} | {
|
|
@@ -3678,6 +3856,8 @@ export type ListModelsQuery = {
|
|
|
3678
3856
|
__typename: 'Embedder';
|
|
3679
3857
|
} | {
|
|
3680
3858
|
__typename: 'F';
|
|
3859
|
+
} | {
|
|
3860
|
+
__typename: 'GPT';
|
|
3681
3861
|
} | {
|
|
3682
3862
|
__typename: 'KnowledgeBase';
|
|
3683
3863
|
} | {
|
|
@@ -3718,6 +3898,8 @@ export type ListModelsQuery = {
|
|
|
3718
3898
|
count?: string | null;
|
|
3719
3899
|
size?: string | null;
|
|
3720
3900
|
creationTimestamp?: any | null;
|
|
3901
|
+
} | {
|
|
3902
|
+
__typename?: 'GPT';
|
|
3721
3903
|
} | {
|
|
3722
3904
|
__typename?: 'KnowledgeBase';
|
|
3723
3905
|
} | {
|
|
@@ -3795,6 +3977,8 @@ export type GetModelQuery = {
|
|
|
3795
3977
|
count?: string | null;
|
|
3796
3978
|
size?: string | null;
|
|
3797
3979
|
creationTimestamp?: any | null;
|
|
3980
|
+
} | {
|
|
3981
|
+
__typename?: 'GPT';
|
|
3798
3982
|
} | {
|
|
3799
3983
|
__typename?: 'KnowledgeBase';
|
|
3800
3984
|
} | {
|
|
@@ -4000,6 +4184,8 @@ export type ListModelServicesQuery = {
|
|
|
4000
4184
|
__typename: 'Embedder';
|
|
4001
4185
|
} | {
|
|
4002
4186
|
__typename: 'F';
|
|
4187
|
+
} | {
|
|
4188
|
+
__typename: 'GPT';
|
|
4003
4189
|
} | {
|
|
4004
4190
|
__typename: 'KnowledgeBase';
|
|
4005
4191
|
} | {
|
|
@@ -4075,6 +4261,8 @@ export type ListRagQuery = {
|
|
|
4075
4261
|
__typename?: 'Embedder';
|
|
4076
4262
|
} | {
|
|
4077
4263
|
__typename?: 'F';
|
|
4264
|
+
} | {
|
|
4265
|
+
__typename?: 'GPT';
|
|
4078
4266
|
} | {
|
|
4079
4267
|
__typename?: 'KnowledgeBase';
|
|
4080
4268
|
} | {
|
|
@@ -4419,6 +4607,8 @@ export type ListRayClustersQuery = {
|
|
|
4419
4607
|
__typename: 'Embedder';
|
|
4420
4608
|
} | {
|
|
4421
4609
|
__typename: 'F';
|
|
4610
|
+
} | {
|
|
4611
|
+
__typename: 'GPT';
|
|
4422
4612
|
} | {
|
|
4423
4613
|
__typename: 'KnowledgeBase';
|
|
4424
4614
|
} | {
|
|
@@ -4535,6 +4725,8 @@ export type GetVersionedDatasetQuery = {
|
|
|
4535
4725
|
count?: string | null;
|
|
4536
4726
|
size?: string | null;
|
|
4537
4727
|
creationTimestamp?: any | null;
|
|
4728
|
+
} | {
|
|
4729
|
+
__typename?: 'GPT';
|
|
4538
4730
|
} | {
|
|
4539
4731
|
__typename?: 'KnowledgeBase';
|
|
4540
4732
|
} | {
|
|
@@ -4578,6 +4770,8 @@ export type ListVersionedDatasetsQuery = {
|
|
|
4578
4770
|
__typename?: 'Embedder';
|
|
4579
4771
|
} | {
|
|
4580
4772
|
__typename?: 'F';
|
|
4773
|
+
} | {
|
|
4774
|
+
__typename?: 'GPT';
|
|
4581
4775
|
} | {
|
|
4582
4776
|
__typename?: 'KnowledgeBase';
|
|
4583
4777
|
} | {
|
|
@@ -4626,6 +4820,8 @@ export type ListVersionedDatasetsQuery = {
|
|
|
4626
4820
|
count?: string | null;
|
|
4627
4821
|
size?: string | null;
|
|
4628
4822
|
creationTimestamp?: any | null;
|
|
4823
|
+
} | {
|
|
4824
|
+
__typename?: 'GPT';
|
|
4629
4825
|
} | {
|
|
4630
4826
|
__typename?: 'KnowledgeBase';
|
|
4631
4827
|
} | {
|
|
@@ -4671,6 +4867,8 @@ export type ListWorkersQuery = {
|
|
|
4671
4867
|
__typename: 'Embedder';
|
|
4672
4868
|
} | {
|
|
4673
4869
|
__typename: 'F';
|
|
4870
|
+
} | {
|
|
4871
|
+
__typename: 'GPT';
|
|
4674
4872
|
} | {
|
|
4675
4873
|
__typename: 'KnowledgeBase';
|
|
4676
4874
|
} | {
|
|
@@ -4914,6 +5112,8 @@ export declare const UpdateEmbedderDocument: import("../node_modules/.pnpm/graph
|
|
|
4914
5112
|
export declare const DeleteEmbeddersDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
4915
5113
|
export declare const ListEmbeddersDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
4916
5114
|
export declare const GetEmbedderDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
5115
|
+
export declare const GetGptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
5116
|
+
export declare const ListGpTsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
4917
5117
|
export declare const ListKnowledgeBasesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
4918
5118
|
export declare const GetKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
4919
5119
|
export declare const CreateKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -4982,6 +5182,8 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
4982
5182
|
deleteEmbedders(variables: DeleteEmbeddersMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteEmbeddersMutation>;
|
|
4983
5183
|
listEmbedders(variables: ListEmbeddersQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListEmbeddersQuery>;
|
|
4984
5184
|
getEmbedder(variables: GetEmbedderQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetEmbedderQuery>;
|
|
5185
|
+
getGPT(variables: GetGptQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetGptQuery>;
|
|
5186
|
+
listGPTs(variables: ListGpTsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListGpTsQuery>;
|
|
4985
5187
|
listKnowledgeBases(variables: ListKnowledgeBasesQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListKnowledgeBasesQuery>;
|
|
4986
5188
|
getKnowledgeBase(variables: GetKnowledgeBaseQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetKnowledgeBaseQuery>;
|
|
4987
5189
|
createKnowledgeBase(variables: CreateKnowledgeBaseMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateKnowledgeBaseMutation>;
|
|
@@ -5036,6 +5238,8 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
5036
5238
|
useCheckDatasource(variables: CheckDatasourceQueryVariables, config?: SWRConfigInterface<CheckDatasourceQuery, ClientError>): import("./useSWR").SWRResponsePro<CheckDatasourceQuery, ClientError>;
|
|
5037
5239
|
useListEmbedders(variables: ListEmbeddersQueryVariables, config?: SWRConfigInterface<ListEmbeddersQuery, ClientError>): import("./useSWR").SWRResponsePro<ListEmbeddersQuery, ClientError>;
|
|
5038
5240
|
useGetEmbedder(variables: GetEmbedderQueryVariables, config?: SWRConfigInterface<GetEmbedderQuery, ClientError>): import("./useSWR").SWRResponsePro<GetEmbedderQuery, ClientError>;
|
|
5241
|
+
useGetGpt(variables: GetGptQueryVariables, config?: SWRConfigInterface<GetGptQuery, ClientError>): import("./useSWR").SWRResponsePro<GetGptQuery, ClientError>;
|
|
5242
|
+
useListGpTs(variables: ListGpTsQueryVariables, config?: SWRConfigInterface<ListGpTsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListGpTsQuery, ClientError>;
|
|
5039
5243
|
useListKnowledgeBases(variables: ListKnowledgeBasesQueryVariables, config?: SWRConfigInterface<ListKnowledgeBasesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBasesQuery, ClientError>;
|
|
5040
5244
|
useGetKnowledgeBase(variables: GetKnowledgeBaseQueryVariables, config?: SWRConfigInterface<GetKnowledgeBaseQuery, ClientError>): import("./useSWR").SWRResponsePro<GetKnowledgeBaseQuery, ClientError>;
|
|
5041
5245
|
useListLlMs(variables: ListLlMsQueryVariables, config?: SWRConfigInterface<ListLlMsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListLlMsQuery, ClientError>;
|
|
@@ -5156,6 +5360,12 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
5156
5360
|
name: string;
|
|
5157
5361
|
namespace: string;
|
|
5158
5362
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetEmbedderQuery>;
|
|
5363
|
+
getGPT(variables: Exact<{
|
|
5364
|
+
name: string;
|
|
5365
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetGptQuery>;
|
|
5366
|
+
listGPTs(variables: Exact<{
|
|
5367
|
+
input: ListGptInput;
|
|
5368
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListGpTsQuery>;
|
|
5159
5369
|
listKnowledgeBases(variables: Exact<{
|
|
5160
5370
|
input: ListKnowledgeBaseInput;
|
|
5161
5371
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListKnowledgeBasesQuery>;
|