@yuntijs/arcadia-bff-sdk 1.2.40 → 1.2.41
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 +10 -0
- package/dist/cjs/sdk.js +4 -0
- package/dist/esm/sdk.d.ts +10 -0
- 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/cjs/sdk.d.ts
CHANGED
|
@@ -454,6 +454,8 @@ export type CreateKnowledgeBaseInput = {
|
|
|
454
454
|
chunkOverlap?: InputMaybe<Scalars['Int']['input']>;
|
|
455
455
|
/** chunkSize为知识库做文档拆分时的块大小 */
|
|
456
456
|
chunkSize?: InputMaybe<Scalars['Int']['input']>;
|
|
457
|
+
/** 知识库的数据类型 */
|
|
458
|
+
dataType: Scalars['String']['input'];
|
|
457
459
|
/** 知识库资源描述 */
|
|
458
460
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
459
461
|
/** 知识库资源展示名称作为显示,并提供编辑 */
|
|
@@ -1237,6 +1239,8 @@ export type FileDetails = {
|
|
|
1237
1239
|
};
|
|
1238
1240
|
/** 根据条件顾虑版本内的文件,只支持关键词搜索 */
|
|
1239
1241
|
export type FileFilter = {
|
|
1242
|
+
/** 根据数据类型过滤,同知识库的数据类型 */
|
|
1243
|
+
dataType?: InputMaybe<Scalars['String']['input']>;
|
|
1240
1244
|
/** 根据关键词搜索文件,strings.Container(fileName, keyword) */
|
|
1241
1245
|
keyword?: InputMaybe<Scalars['String']['input']>;
|
|
1242
1246
|
/** 页 */
|
|
@@ -1296,6 +1300,8 @@ export type KnowledgeBase = {
|
|
|
1296
1300
|
* 规则: webhook启用后自动添加,默认为空
|
|
1297
1301
|
*/
|
|
1298
1302
|
creator?: Maybe<Scalars['String']['output']>;
|
|
1303
|
+
/** 知识库的数据类型: text or structured */
|
|
1304
|
+
dataType?: Maybe<Scalars['String']['output']>;
|
|
1299
1305
|
/** 描述信息 */
|
|
1300
1306
|
description?: Maybe<Scalars['String']['output']>;
|
|
1301
1307
|
/** 展示名 */
|
|
@@ -4725,6 +4731,7 @@ export type ListKnowledgeBasesQuery = {
|
|
|
4725
4731
|
creator?: string | null;
|
|
4726
4732
|
displayName?: string | null;
|
|
4727
4733
|
description?: string | null;
|
|
4734
|
+
dataType?: string | null;
|
|
4728
4735
|
chunkSize?: number | null;
|
|
4729
4736
|
chunkOverlap?: number | null;
|
|
4730
4737
|
batchSize?: number | null;
|
|
@@ -4810,6 +4817,7 @@ export type GetKnowledgeBaseQuery = {
|
|
|
4810
4817
|
creator?: string | null;
|
|
4811
4818
|
displayName?: string | null;
|
|
4812
4819
|
description?: string | null;
|
|
4820
|
+
dataType?: string | null;
|
|
4813
4821
|
chunkSize?: number | null;
|
|
4814
4822
|
chunkOverlap?: number | null;
|
|
4815
4823
|
batchSize?: number | null;
|
|
@@ -4871,6 +4879,7 @@ export type CreateKnowledgeBaseMutation = {
|
|
|
4871
4879
|
creator?: string | null;
|
|
4872
4880
|
displayName?: string | null;
|
|
4873
4881
|
description?: string | null;
|
|
4882
|
+
dataType?: string | null;
|
|
4874
4883
|
chunkSize?: number | null;
|
|
4875
4884
|
chunkOverlap?: number | null;
|
|
4876
4885
|
batchSize?: number | null;
|
|
@@ -4932,6 +4941,7 @@ export type UpdateKnowledgeBaseMutation = {
|
|
|
4932
4941
|
creator?: string | null;
|
|
4933
4942
|
displayName?: string | null;
|
|
4934
4943
|
description?: string | null;
|
|
4944
|
+
dataType?: string | null;
|
|
4935
4945
|
chunkSize?: number | null;
|
|
4936
4946
|
chunkOverlap?: number | null;
|
|
4937
4947
|
batchSize?: number | null;
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -1082,6 +1082,7 @@ var ListKnowledgeBasesDocument = import_graphql_tag.default`
|
|
|
1082
1082
|
creator
|
|
1083
1083
|
displayName
|
|
1084
1084
|
description
|
|
1085
|
+
dataType
|
|
1085
1086
|
chunkSize
|
|
1086
1087
|
chunkOverlap
|
|
1087
1088
|
batchSize
|
|
@@ -1136,6 +1137,7 @@ var GetKnowledgeBaseDocument = import_graphql_tag.default`
|
|
|
1136
1137
|
creator
|
|
1137
1138
|
displayName
|
|
1138
1139
|
description
|
|
1140
|
+
dataType
|
|
1139
1141
|
chunkSize
|
|
1140
1142
|
chunkOverlap
|
|
1141
1143
|
batchSize
|
|
@@ -1188,6 +1190,7 @@ var CreateKnowledgeBaseDocument = import_graphql_tag.default`
|
|
|
1188
1190
|
creator
|
|
1189
1191
|
displayName
|
|
1190
1192
|
description
|
|
1193
|
+
dataType
|
|
1191
1194
|
chunkSize
|
|
1192
1195
|
chunkOverlap
|
|
1193
1196
|
batchSize
|
|
@@ -1240,6 +1243,7 @@ var UpdateKnowledgeBaseDocument = import_graphql_tag.default`
|
|
|
1240
1243
|
creator
|
|
1241
1244
|
displayName
|
|
1242
1245
|
description
|
|
1246
|
+
dataType
|
|
1243
1247
|
chunkSize
|
|
1244
1248
|
chunkOverlap
|
|
1245
1249
|
batchSize
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -454,6 +454,8 @@ export type CreateKnowledgeBaseInput = {
|
|
|
454
454
|
chunkOverlap?: InputMaybe<Scalars['Int']['input']>;
|
|
455
455
|
/** chunkSize为知识库做文档拆分时的块大小 */
|
|
456
456
|
chunkSize?: InputMaybe<Scalars['Int']['input']>;
|
|
457
|
+
/** 知识库的数据类型 */
|
|
458
|
+
dataType: Scalars['String']['input'];
|
|
457
459
|
/** 知识库资源描述 */
|
|
458
460
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
459
461
|
/** 知识库资源展示名称作为显示,并提供编辑 */
|
|
@@ -1237,6 +1239,8 @@ export type FileDetails = {
|
|
|
1237
1239
|
};
|
|
1238
1240
|
/** 根据条件顾虑版本内的文件,只支持关键词搜索 */
|
|
1239
1241
|
export type FileFilter = {
|
|
1242
|
+
/** 根据数据类型过滤,同知识库的数据类型 */
|
|
1243
|
+
dataType?: InputMaybe<Scalars['String']['input']>;
|
|
1240
1244
|
/** 根据关键词搜索文件,strings.Container(fileName, keyword) */
|
|
1241
1245
|
keyword?: InputMaybe<Scalars['String']['input']>;
|
|
1242
1246
|
/** 页 */
|
|
@@ -1296,6 +1300,8 @@ export type KnowledgeBase = {
|
|
|
1296
1300
|
* 规则: webhook启用后自动添加,默认为空
|
|
1297
1301
|
*/
|
|
1298
1302
|
creator?: Maybe<Scalars['String']['output']>;
|
|
1303
|
+
/** 知识库的数据类型: text or structured */
|
|
1304
|
+
dataType?: Maybe<Scalars['String']['output']>;
|
|
1299
1305
|
/** 描述信息 */
|
|
1300
1306
|
description?: Maybe<Scalars['String']['output']>;
|
|
1301
1307
|
/** 展示名 */
|
|
@@ -4725,6 +4731,7 @@ export type ListKnowledgeBasesQuery = {
|
|
|
4725
4731
|
creator?: string | null;
|
|
4726
4732
|
displayName?: string | null;
|
|
4727
4733
|
description?: string | null;
|
|
4734
|
+
dataType?: string | null;
|
|
4728
4735
|
chunkSize?: number | null;
|
|
4729
4736
|
chunkOverlap?: number | null;
|
|
4730
4737
|
batchSize?: number | null;
|
|
@@ -4810,6 +4817,7 @@ export type GetKnowledgeBaseQuery = {
|
|
|
4810
4817
|
creator?: string | null;
|
|
4811
4818
|
displayName?: string | null;
|
|
4812
4819
|
description?: string | null;
|
|
4820
|
+
dataType?: string | null;
|
|
4813
4821
|
chunkSize?: number | null;
|
|
4814
4822
|
chunkOverlap?: number | null;
|
|
4815
4823
|
batchSize?: number | null;
|
|
@@ -4871,6 +4879,7 @@ export type CreateKnowledgeBaseMutation = {
|
|
|
4871
4879
|
creator?: string | null;
|
|
4872
4880
|
displayName?: string | null;
|
|
4873
4881
|
description?: string | null;
|
|
4882
|
+
dataType?: string | null;
|
|
4874
4883
|
chunkSize?: number | null;
|
|
4875
4884
|
chunkOverlap?: number | null;
|
|
4876
4885
|
batchSize?: number | null;
|
|
@@ -4932,6 +4941,7 @@ export type UpdateKnowledgeBaseMutation = {
|
|
|
4932
4941
|
creator?: string | null;
|
|
4933
4942
|
displayName?: string | null;
|
|
4934
4943
|
description?: string | null;
|
|
4944
|
+
dataType?: string | null;
|
|
4935
4945
|
chunkSize?: number | null;
|
|
4936
4946
|
chunkOverlap?: number | null;
|
|
4937
4947
|
batchSize?: number | null;
|
package/dist/esm/sdk.js
CHANGED
|
@@ -211,10 +211,10 @@ export var UpdateEmbedderDocument = gql(_templateObject42 || (_templateObject42
|
|
|
211
211
|
export var DeleteEmbeddersDocument = gql(_templateObject43 || (_templateObject43 = _taggedTemplateLiteral(["\n mutation deleteEmbedders($input: DeleteCommonInput!) {\n Embedder {\n deleteEmbedders(input: $input)\n }\n}\n "])));
|
|
212
212
|
export var ListEmbeddersDocument = gql(_templateObject44 || (_templateObject44 = _taggedTemplateLiteral(["\n query listEmbedders($input: ListCommonInput!) {\n Embedder {\n listEmbedders(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on Embedder {\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 }\n }\n }\n}\n "])));
|
|
213
213
|
export var GetEmbedderDocument = gql(_templateObject45 || (_templateObject45 = _taggedTemplateLiteral(["\n query getEmbedder($name: String!, $namespace: String!) {\n Embedder {\n getEmbedder(name: $name, namespace: $namespace) {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n provider\n type\n updateTimestamp\n }\n }\n}\n "])));
|
|
214
|
-
export var ListKnowledgeBasesDocument = gql(_templateObject46 || (_templateObject46 = _taggedTemplateLiteral(["\n query listKnowledgeBases($input: ListKnowledgeBaseInput!) {\n KnowledgeBase {\n listKnowledgeBases(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBase {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n chunkSize\n chunkOverlap\n batchSize\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n timeCost\n version\n latestVersion\n }\n }\n }\n }\n }\n }\n}\n "])));
|
|
215
|
-
export var GetKnowledgeBaseDocument = gql(_templateObject47 || (_templateObject47 = _taggedTemplateLiteral(["\n query getKnowledgeBase($name: String!, $namespace: String!) {\n KnowledgeBase {\n getKnowledgeBase(name: $name, namespace: $namespace) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n chunkSize\n chunkOverlap\n batchSize\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n timeCost\n version\n latestVersion\n }\n }\n }\n }\n}\n "])));
|
|
216
|
-
export var CreateKnowledgeBaseDocument = gql(_templateObject48 || (_templateObject48 = _taggedTemplateLiteral(["\n mutation createKnowledgeBase($input: CreateKnowledgeBaseInput!) {\n KnowledgeBase {\n createKnowledgeBase(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n chunkSize\n chunkOverlap\n batchSize\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n timeCost\n version\n latestVersion\n }\n }\n }\n }\n}\n "])));
|
|
217
|
-
export var UpdateKnowledgeBaseDocument = gql(_templateObject49 || (_templateObject49 = _taggedTemplateLiteral(["\n mutation updateKnowledgeBase($input: UpdateKnowledgeBaseInput) {\n KnowledgeBase {\n updateKnowledgeBase(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n chunkSize\n chunkOverlap\n batchSize\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n timeCost\n version\n latestVersion\n }\n }\n }\n }\n}\n "])));
|
|
214
|
+
export var ListKnowledgeBasesDocument = gql(_templateObject46 || (_templateObject46 = _taggedTemplateLiteral(["\n query listKnowledgeBases($input: ListKnowledgeBaseInput!) {\n KnowledgeBase {\n listKnowledgeBases(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBase {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n dataType\n chunkSize\n chunkOverlap\n batchSize\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n timeCost\n version\n latestVersion\n }\n }\n }\n }\n }\n }\n}\n "])));
|
|
215
|
+
export var GetKnowledgeBaseDocument = gql(_templateObject47 || (_templateObject47 = _taggedTemplateLiteral(["\n query getKnowledgeBase($name: String!, $namespace: String!) {\n KnowledgeBase {\n getKnowledgeBase(name: $name, namespace: $namespace) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n dataType\n chunkSize\n chunkOverlap\n batchSize\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n timeCost\n version\n latestVersion\n }\n }\n }\n }\n}\n "])));
|
|
216
|
+
export var CreateKnowledgeBaseDocument = gql(_templateObject48 || (_templateObject48 = _taggedTemplateLiteral(["\n mutation createKnowledgeBase($input: CreateKnowledgeBaseInput!) {\n KnowledgeBase {\n createKnowledgeBase(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n dataType\n chunkSize\n chunkOverlap\n batchSize\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n timeCost\n version\n latestVersion\n }\n }\n }\n }\n}\n "])));
|
|
217
|
+
export var UpdateKnowledgeBaseDocument = gql(_templateObject49 || (_templateObject49 = _taggedTemplateLiteral(["\n mutation updateKnowledgeBase($input: UpdateKnowledgeBaseInput) {\n KnowledgeBase {\n updateKnowledgeBase(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n dataType\n chunkSize\n chunkOverlap\n batchSize\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n timeCost\n version\n latestVersion\n }\n }\n }\n }\n}\n "])));
|
|
218
218
|
export var DeleteKnowledgeBaseDocument = gql(_templateObject50 || (_templateObject50 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBase($input: DeleteCommonInput) {\n KnowledgeBase {\n deleteKnowledgeBase(input: $input)\n }\n}\n "])));
|
|
219
219
|
export var ListLlMsDocument = gql(_templateObject51 || (_templateObject51 = _taggedTemplateLiteral(["\n query listLLMs($input: ListCommonInput!) {\n LLM {\n listLLMs(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on LLM {\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 }\n }\n }\n}\n "])));
|
|
220
220
|
export var GetLlmDocument = gql(_templateObject52 || (_templateObject52 = _taggedTemplateLiteral(["\n query getLLM($name: String!, $namespace: String!) {\n LLM {\n getLLM(name: $name, namespace: $namespace) {\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 }\n}\n "])));
|