@yuntijs/arcadia-bff-sdk 1.2.82 → 1.2.83
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 +8 -0
- package/dist/cjs/sdk.js +5 -0
- package/dist/esm/sdk.d.ts +8 -0
- package/dist/esm/sdk.js +5 -5
- 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
|
@@ -1218,6 +1218,7 @@ export type DeleteVersionedDatasetInput = {
|
|
|
1218
1218
|
export type Document = {
|
|
1219
1219
|
__typename?: 'Document';
|
|
1220
1220
|
content: Scalars['String']['output'];
|
|
1221
|
+
metadata: Scalars['Map']['output'];
|
|
1221
1222
|
rankScore?: Maybe<Scalars['Float']['output']>;
|
|
1222
1223
|
rerankScore?: Maybe<Scalars['Float']['output']>;
|
|
1223
1224
|
score?: Maybe<Scalars['Float']['output']>;
|
|
@@ -1484,6 +1485,7 @@ export type KnowledgeBaseFileChunk = {
|
|
|
1484
1485
|
id: Scalars['String']['output'];
|
|
1485
1486
|
indexInFile: Scalars['Int']['output'];
|
|
1486
1487
|
processingPhase: Scalars['String']['output'];
|
|
1488
|
+
processingPhaseReason: Scalars['String']['output'];
|
|
1487
1489
|
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
1488
1490
|
};
|
|
1489
1491
|
export type KnowledgeBaseMutation = {
|
|
@@ -1590,6 +1592,7 @@ export type KnowledgeBaseStructuredFileChunk = {
|
|
|
1590
1592
|
id: Scalars['String']['output'];
|
|
1591
1593
|
knowledgeBase: Scalars['String']['output'];
|
|
1592
1594
|
processingPhase: Scalars['String']['output'];
|
|
1595
|
+
processingPhaseReason: Scalars['String']['output'];
|
|
1593
1596
|
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
1594
1597
|
};
|
|
1595
1598
|
export type Llm = {
|
|
@@ -5804,6 +5807,7 @@ export type ListKnowledgeBaseFileChunksQuery = {
|
|
|
5804
5807
|
content: string;
|
|
5805
5808
|
contentSizeInBytes: number;
|
|
5806
5809
|
processingPhase: string;
|
|
5810
|
+
processingPhaseReason: string;
|
|
5807
5811
|
} | {
|
|
5808
5812
|
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
5809
5813
|
} | {
|
|
@@ -5934,6 +5938,7 @@ export type ListKnowledgeBaseStructuredFileChunksQuery = {
|
|
|
5934
5938
|
content?: any | null;
|
|
5935
5939
|
contentSizeInBytes: number;
|
|
5936
5940
|
processingPhase: string;
|
|
5941
|
+
processingPhaseReason: string;
|
|
5937
5942
|
} | {
|
|
5938
5943
|
__typename?: 'LLM';
|
|
5939
5944
|
} | {
|
|
@@ -5993,6 +5998,7 @@ export type CreateKnowledgeBasePrecisionTestingMutation = {
|
|
|
5993
5998
|
};
|
|
5994
5999
|
documents?: Array<{
|
|
5995
6000
|
__typename?: 'Document';
|
|
6001
|
+
metadata: any;
|
|
5996
6002
|
content: string;
|
|
5997
6003
|
score?: number | null;
|
|
5998
6004
|
rankScore?: number | null;
|
|
@@ -6032,6 +6038,7 @@ export type GetKnowledgeBasePrecisionTestingQuery = {
|
|
|
6032
6038
|
};
|
|
6033
6039
|
documents?: Array<{
|
|
6034
6040
|
__typename?: 'Document';
|
|
6041
|
+
metadata: any;
|
|
6035
6042
|
content: string;
|
|
6036
6043
|
score?: number | null;
|
|
6037
6044
|
rankScore?: number | null;
|
|
@@ -6099,6 +6106,7 @@ export type ListKnowledgeBasePrecisionTestingQuery = {
|
|
|
6099
6106
|
};
|
|
6100
6107
|
documents?: Array<{
|
|
6101
6108
|
__typename?: 'Document';
|
|
6109
|
+
metadata: any;
|
|
6102
6110
|
content: string;
|
|
6103
6111
|
score?: number | null;
|
|
6104
6112
|
rankScore?: number | null;
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -1333,6 +1333,7 @@ var ListKnowledgeBaseFileChunksDocument = import_graphql_tag.default`
|
|
|
1333
1333
|
content
|
|
1334
1334
|
contentSizeInBytes
|
|
1335
1335
|
processingPhase
|
|
1336
|
+
processingPhaseReason
|
|
1336
1337
|
}
|
|
1337
1338
|
}
|
|
1338
1339
|
}
|
|
@@ -1389,6 +1390,7 @@ var ListKnowledgeBaseStructuredFileChunksDocument = import_graphql_tag.default`
|
|
|
1389
1390
|
content
|
|
1390
1391
|
contentSizeInBytes
|
|
1391
1392
|
processingPhase
|
|
1393
|
+
processingPhaseReason
|
|
1392
1394
|
}
|
|
1393
1395
|
}
|
|
1394
1396
|
}
|
|
@@ -1409,6 +1411,7 @@ var CreateKnowledgeBasePrecisionTestingDocument = import_graphql_tag.default`
|
|
|
1409
1411
|
query
|
|
1410
1412
|
documents {
|
|
1411
1413
|
... on Document {
|
|
1414
|
+
metadata
|
|
1412
1415
|
content
|
|
1413
1416
|
score
|
|
1414
1417
|
rankScore
|
|
@@ -1441,6 +1444,7 @@ var GetKnowledgeBasePrecisionTestingDocument = import_graphql_tag.default`
|
|
|
1441
1444
|
query
|
|
1442
1445
|
documents {
|
|
1443
1446
|
... on Document {
|
|
1447
|
+
metadata
|
|
1444
1448
|
content
|
|
1445
1449
|
score
|
|
1446
1450
|
rankScore
|
|
@@ -1470,6 +1474,7 @@ var ListKnowledgeBasePrecisionTestingDocument = import_graphql_tag.default`
|
|
|
1470
1474
|
query
|
|
1471
1475
|
documents {
|
|
1472
1476
|
... on Document {
|
|
1477
|
+
metadata
|
|
1473
1478
|
content
|
|
1474
1479
|
score
|
|
1475
1480
|
rankScore
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -1218,6 +1218,7 @@ export type DeleteVersionedDatasetInput = {
|
|
|
1218
1218
|
export type Document = {
|
|
1219
1219
|
__typename?: 'Document';
|
|
1220
1220
|
content: Scalars['String']['output'];
|
|
1221
|
+
metadata: Scalars['Map']['output'];
|
|
1221
1222
|
rankScore?: Maybe<Scalars['Float']['output']>;
|
|
1222
1223
|
rerankScore?: Maybe<Scalars['Float']['output']>;
|
|
1223
1224
|
score?: Maybe<Scalars['Float']['output']>;
|
|
@@ -1484,6 +1485,7 @@ export type KnowledgeBaseFileChunk = {
|
|
|
1484
1485
|
id: Scalars['String']['output'];
|
|
1485
1486
|
indexInFile: Scalars['Int']['output'];
|
|
1486
1487
|
processingPhase: Scalars['String']['output'];
|
|
1488
|
+
processingPhaseReason: Scalars['String']['output'];
|
|
1487
1489
|
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
1488
1490
|
};
|
|
1489
1491
|
export type KnowledgeBaseMutation = {
|
|
@@ -1590,6 +1592,7 @@ export type KnowledgeBaseStructuredFileChunk = {
|
|
|
1590
1592
|
id: Scalars['String']['output'];
|
|
1591
1593
|
knowledgeBase: Scalars['String']['output'];
|
|
1592
1594
|
processingPhase: Scalars['String']['output'];
|
|
1595
|
+
processingPhaseReason: Scalars['String']['output'];
|
|
1593
1596
|
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
1594
1597
|
};
|
|
1595
1598
|
export type Llm = {
|
|
@@ -5804,6 +5807,7 @@ export type ListKnowledgeBaseFileChunksQuery = {
|
|
|
5804
5807
|
content: string;
|
|
5805
5808
|
contentSizeInBytes: number;
|
|
5806
5809
|
processingPhase: string;
|
|
5810
|
+
processingPhaseReason: string;
|
|
5807
5811
|
} | {
|
|
5808
5812
|
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
5809
5813
|
} | {
|
|
@@ -5934,6 +5938,7 @@ export type ListKnowledgeBaseStructuredFileChunksQuery = {
|
|
|
5934
5938
|
content?: any | null;
|
|
5935
5939
|
contentSizeInBytes: number;
|
|
5936
5940
|
processingPhase: string;
|
|
5941
|
+
processingPhaseReason: string;
|
|
5937
5942
|
} | {
|
|
5938
5943
|
__typename?: 'LLM';
|
|
5939
5944
|
} | {
|
|
@@ -5993,6 +5998,7 @@ export type CreateKnowledgeBasePrecisionTestingMutation = {
|
|
|
5993
5998
|
};
|
|
5994
5999
|
documents?: Array<{
|
|
5995
6000
|
__typename?: 'Document';
|
|
6001
|
+
metadata: any;
|
|
5996
6002
|
content: string;
|
|
5997
6003
|
score?: number | null;
|
|
5998
6004
|
rankScore?: number | null;
|
|
@@ -6032,6 +6038,7 @@ export type GetKnowledgeBasePrecisionTestingQuery = {
|
|
|
6032
6038
|
};
|
|
6033
6039
|
documents?: Array<{
|
|
6034
6040
|
__typename?: 'Document';
|
|
6041
|
+
metadata: any;
|
|
6035
6042
|
content: string;
|
|
6036
6043
|
score?: number | null;
|
|
6037
6044
|
rankScore?: number | null;
|
|
@@ -6099,6 +6106,7 @@ export type ListKnowledgeBasePrecisionTestingQuery = {
|
|
|
6099
6106
|
};
|
|
6100
6107
|
documents?: Array<{
|
|
6101
6108
|
__typename?: 'Document';
|
|
6109
|
+
metadata: any;
|
|
6102
6110
|
content: string;
|
|
6103
6111
|
score?: number | null;
|
|
6104
6112
|
rankScore?: number | null;
|
package/dist/esm/sdk.js
CHANGED
|
@@ -209,16 +209,16 @@ export var ListKnowledgeBaseFilesDocument = gql(_templateObject51 || (_templateO
|
|
|
209
209
|
export var CreateKnowledgeBaseFileChunkDocument = gql(_templateObject52 || (_templateObject52 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseFileChunk($input: CreateKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n createKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
|
|
210
210
|
export var UpdateKnowledgeBaseFileChunkDocument = gql(_templateObject53 || (_templateObject53 = _taggedTemplateLiteral(["\n mutation updateKnowledgeBaseFileChunk($input: UpdateKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n updateKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
|
|
211
211
|
export var DeleteKnowledgeBaseFileChunkDocument = gql(_templateObject54 || (_templateObject54 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBaseFileChunk($input: DeleteKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n deleteKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
|
|
212
|
-
export var ListKnowledgeBaseFileChunksDocument = gql(_templateObject55 || (_templateObject55 = _taggedTemplateLiteral(["\n query listKnowledgeBaseFileChunks($input: ListKnowledgeBaseFileChunksInput!) {\n KnowledgeBase {\n listKnowledgeBaseFileChunks(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBaseFileChunk {\n id\n fileId\n createdAt\n updatedAt\n indexInFile\n content\n contentSizeInBytes\n processingPhase\n }\n }\n }\n }\n}\n "])));
|
|
212
|
+
export var ListKnowledgeBaseFileChunksDocument = gql(_templateObject55 || (_templateObject55 = _taggedTemplateLiteral(["\n query listKnowledgeBaseFileChunks($input: ListKnowledgeBaseFileChunksInput!) {\n KnowledgeBase {\n listKnowledgeBaseFileChunks(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBaseFileChunk {\n id\n fileId\n createdAt\n updatedAt\n indexInFile\n content\n contentSizeInBytes\n processingPhase\n processingPhaseReason\n }\n }\n }\n }\n}\n "])));
|
|
213
213
|
export var ShowStructuredFileInfoDocument = gql(_templateObject56 || (_templateObject56 = _taggedTemplateLiteral(["\n query showStructuredFileInfo($input: CreateKnowledgeBaseStructuredFileInput!) {\n KnowledgeBase {\n showStructuredFileInfo(input: $input) {\n sheets\n currentSheet\n totalRows\n rowHeader\n headers\n }\n }\n}\n "])));
|
|
214
214
|
export var CreateKnowledgeBaseStructuredFilesDocument = gql(_templateObject57 || (_templateObject57 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseStructuredFiles($input: CreateKnowledgeBaseStructuredFileInput!) {\n KnowledgeBase {\n createKnowledgeBaseStructuredFiles(input: $input)\n }\n}\n "])));
|
|
215
215
|
export var CreateKnowledgeBaseStructuredFileChunkDocument = gql(_templateObject58 || (_templateObject58 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseStructuredFileChunk($input: CreateKnowledgeBaseStructuredFileChunkInput!) {\n KnowledgeBase {\n createKnowledgeBaseStructuredFileChunk(input: $input)\n }\n}\n "])));
|
|
216
216
|
export var UpdateKnowledgeBaseStructuredFileChunkDocument = gql(_templateObject59 || (_templateObject59 = _taggedTemplateLiteral(["\n mutation updateKnowledgeBaseStructuredFileChunk($input: UpdateKnowledgeBaseStructuredFileChunkInput!) {\n KnowledgeBase {\n updateKnowledgeBaseStructuredFileChunk(input: $input)\n }\n}\n "])));
|
|
217
|
-
export var ListKnowledgeBaseStructuredFileChunksDocument = gql(_templateObject60 || (_templateObject60 = _taggedTemplateLiteral(["\n query listKnowledgeBaseStructuredFileChunks($input: ListKnowledgeBaseStructuredFileChunksInput!) {\n KnowledgeBase {\n listKnowledgeBaseStructuredFileChunks(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBaseStructuredFileChunk {\n id\n knowledgeBase\n fileId\n createdAt\n updatedAt\n content\n contentSizeInBytes\n processingPhase\n }\n }\n }\n }\n}\n "])));
|
|
218
|
-
export var CreateKnowledgeBasePrecisionTestingDocument = gql(_templateObject61 || (_templateObject61 = _taggedTemplateLiteral(["\n mutation createKnowledgeBasePrecisionTesting($input: CreateKnowledgeBasePrecisionTestingInput!) {\n KnowledgeBase {\n createKnowledgeBasePrecisionTesting(input: $input) {\n id\n createdAt\n retrieverConfig {\n searchMode\n scoreThreshold\n numDocuments\n }\n query\n documents {\n ... on Document {\n content\n score\n rankScore\n rerankScore\n }\n }\n timeCost\n }\n }\n}\n "])));
|
|
217
|
+
export var ListKnowledgeBaseStructuredFileChunksDocument = gql(_templateObject60 || (_templateObject60 = _taggedTemplateLiteral(["\n query listKnowledgeBaseStructuredFileChunks($input: ListKnowledgeBaseStructuredFileChunksInput!) {\n KnowledgeBase {\n listKnowledgeBaseStructuredFileChunks(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBaseStructuredFileChunk {\n id\n knowledgeBase\n fileId\n createdAt\n updatedAt\n content\n contentSizeInBytes\n processingPhase\n processingPhaseReason\n }\n }\n }\n }\n}\n "])));
|
|
218
|
+
export var CreateKnowledgeBasePrecisionTestingDocument = gql(_templateObject61 || (_templateObject61 = _taggedTemplateLiteral(["\n mutation createKnowledgeBasePrecisionTesting($input: CreateKnowledgeBasePrecisionTestingInput!) {\n KnowledgeBase {\n createKnowledgeBasePrecisionTesting(input: $input) {\n id\n createdAt\n retrieverConfig {\n searchMode\n scoreThreshold\n numDocuments\n }\n query\n documents {\n ... on Document {\n metadata\n content\n score\n rankScore\n rerankScore\n }\n }\n timeCost\n }\n }\n}\n "])));
|
|
219
219
|
export var DeleteKnowledgeBasePrecisionTestingDocument = gql(_templateObject62 || (_templateObject62 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBasePrecisionTesting($input: DeleteKnowledgeBasePrecisionTestingInput!) {\n KnowledgeBase {\n deleteKnowledgeBasePrecisionTesting(input: $input)\n }\n}\n "])));
|
|
220
|
-
export var GetKnowledgeBasePrecisionTestingDocument = gql(_templateObject63 || (_templateObject63 = _taggedTemplateLiteral(["\n query getKnowledgeBasePrecisionTesting($id: String!) {\n KnowledgeBase {\n getKnowledgeBasePrecisionTesting(id: $id) {\n id\n createdAt\n retrieverConfig {\n searchMode\n scoreThreshold\n numDocuments\n }\n query\n documents {\n ... on Document {\n content\n score\n rankScore\n rerankScore\n }\n }\n timeCost\n }\n }\n}\n "])));
|
|
221
|
-
export var ListKnowledgeBasePrecisionTestingDocument = gql(_templateObject64 || (_templateObject64 = _taggedTemplateLiteral(["\n query listKnowledgeBasePrecisionTesting($input: ListKnowledgeBasePrecisionTestingInput!) {\n KnowledgeBase {\n listKnowledgeBasePrecisionTesting(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on PrecisionTestingRecord {\n id\n createdAt\n retrieverConfig {\n searchMode\n scoreThreshold\n numDocuments\n }\n query\n documents {\n ... on Document {\n content\n score\n rankScore\n rerankScore\n }\n }\n timeCost\n }\n }\n }\n }\n}\n "])));
|
|
220
|
+
export var GetKnowledgeBasePrecisionTestingDocument = gql(_templateObject63 || (_templateObject63 = _taggedTemplateLiteral(["\n query getKnowledgeBasePrecisionTesting($id: String!) {\n KnowledgeBase {\n getKnowledgeBasePrecisionTesting(id: $id) {\n id\n createdAt\n retrieverConfig {\n searchMode\n scoreThreshold\n numDocuments\n }\n query\n documents {\n ... on Document {\n metadata\n content\n score\n rankScore\n rerankScore\n }\n }\n timeCost\n }\n }\n}\n "])));
|
|
221
|
+
export var ListKnowledgeBasePrecisionTestingDocument = gql(_templateObject64 || (_templateObject64 = _taggedTemplateLiteral(["\n query listKnowledgeBasePrecisionTesting($input: ListKnowledgeBasePrecisionTestingInput!) {\n KnowledgeBase {\n listKnowledgeBasePrecisionTesting(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on PrecisionTestingRecord {\n id\n createdAt\n retrieverConfig {\n searchMode\n scoreThreshold\n numDocuments\n }\n query\n documents {\n ... on Document {\n metadata\n content\n score\n rankScore\n rerankScore\n }\n }\n timeCost\n }\n }\n }\n }\n}\n "])));
|
|
222
222
|
export var ListLlMsDocument = gql(_templateObject65 || (_templateObject65 = _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 "])));
|
|
223
223
|
export var GetLlmDocument = gql(_templateObject66 || (_templateObject66 = _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 "])));
|
|
224
224
|
export var ListModelsDocument = gql(_templateObject67 || (_templateObject67 = _taggedTemplateLiteral(["\n query listModels($input: ListModelInput!, $filesInput: FileFilter) {\n Model {\n listModels(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Model {\n id\n creationTimestamp\n name\n namespace\n systemModel\n labels\n annotations\n creator\n displayName\n description\n status\n message\n types\n updateTimestamp\n huggingFaceRepo\n modelScopeRepo\n revision\n modelSource\n files(input: $filesInput) {\n totalCount\n hasNextPage\n nodes {\n ... on F {\n path\n time\n fileType\n count\n size\n creationTimestamp\n }\n }\n }\n }\n }\n }\n }\n}\n "])));
|