@yuntijs/arcadia-bff-sdk 1.2.70 → 1.2.72
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 +57 -0
- package/dist/cjs/sdk.d.ts +238 -8
- package/dist/cjs/sdk.js +66 -0
- package/dist/cjs/taro.d.ts +42 -0
- package/dist/esm/index.d.ts +57 -0
- package/dist/esm/sdk.d.ts +238 -8
- package/dist/esm/sdk.js +96 -67
- package/dist/esm/taro.d.ts +42 -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
|
@@ -500,6 +500,11 @@ export type CreateKnowledgeBaseInput = {
|
|
|
500
500
|
/** "向量数据库(目前不需要填写,直接使用系统默认的向量数据库) */
|
|
501
501
|
vectorStore?: InputMaybe<TypedObjectReferenceInput>;
|
|
502
502
|
};
|
|
503
|
+
export type CreateKnowledgeBaseStructuredFileChunkInput = {
|
|
504
|
+
content?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
505
|
+
/** knowledgebase知识库 */
|
|
506
|
+
knowledgebase: Scalars['String']['input'];
|
|
507
|
+
};
|
|
503
508
|
export type CreateKnowledgeBaseStructuredFileInput = {
|
|
504
509
|
filePath: Scalars['String']['input'];
|
|
505
510
|
/** knowledgebase所属知识库 */
|
|
@@ -1399,7 +1404,6 @@ export type KnowledgeBaseMutation = {
|
|
|
1399
1404
|
deleteKnowledgeBase?: Maybe<Scalars['Void']['output']>;
|
|
1400
1405
|
deleteKnowledgeBaseFileChunk?: Maybe<Scalars['Void']['output']>;
|
|
1401
1406
|
deleteKnowledgeBaseFiles?: Maybe<Scalars['Void']['output']>;
|
|
1402
|
-
deleteKnowledgeBaseStructuredFileChunk?: Maybe<Scalars['Void']['output']>;
|
|
1403
1407
|
updateKnowledgeBase: KnowledgeBase;
|
|
1404
1408
|
updateKnowledgeBaseFileChunk?: Maybe<Scalars['Void']['output']>;
|
|
1405
1409
|
updateKnowledgeBaseStructuredFileChunk?: Maybe<Scalars['Void']['output']>;
|
|
@@ -1414,7 +1418,7 @@ export type KnowledgeBaseMutationCreateKnowledgeBaseFilesArgs = {
|
|
|
1414
1418
|
input: CreateKnowledgeBaseFileInput;
|
|
1415
1419
|
};
|
|
1416
1420
|
export type KnowledgeBaseMutationCreateKnowledgeBaseStructuredFileChunkArgs = {
|
|
1417
|
-
input:
|
|
1421
|
+
input: CreateKnowledgeBaseStructuredFileChunkInput;
|
|
1418
1422
|
};
|
|
1419
1423
|
export type KnowledgeBaseMutationCreateKnowledgeBaseStructuredFilesArgs = {
|
|
1420
1424
|
input: CreateKnowledgeBaseStructuredFileInput;
|
|
@@ -1428,9 +1432,6 @@ export type KnowledgeBaseMutationDeleteKnowledgeBaseFileChunkArgs = {
|
|
|
1428
1432
|
export type KnowledgeBaseMutationDeleteKnowledgeBaseFilesArgs = {
|
|
1429
1433
|
input: DeleteKnowledgeBaseFileInput;
|
|
1430
1434
|
};
|
|
1431
|
-
export type KnowledgeBaseMutationDeleteKnowledgeBaseStructuredFileChunkArgs = {
|
|
1432
|
-
input: DeleteKnowledgeBaseFileChunkInput;
|
|
1433
|
-
};
|
|
1434
1435
|
export type KnowledgeBaseMutationUpdateKnowledgeBaseArgs = {
|
|
1435
1436
|
input?: InputMaybe<UpdateKnowledgeBaseInput>;
|
|
1436
1437
|
};
|
|
@@ -1438,7 +1439,7 @@ export type KnowledgeBaseMutationUpdateKnowledgeBaseFileChunkArgs = {
|
|
|
1438
1439
|
input: UpdateKnowledgeBaseFileChunkInput;
|
|
1439
1440
|
};
|
|
1440
1441
|
export type KnowledgeBaseMutationUpdateKnowledgeBaseStructuredFileChunkArgs = {
|
|
1441
|
-
input:
|
|
1442
|
+
input: UpdateKnowledgeBaseStructuredFileChunkInput;
|
|
1442
1443
|
};
|
|
1443
1444
|
export type KnowledgeBaseQuery = {
|
|
1444
1445
|
__typename?: 'KnowledgeBaseQuery';
|
|
@@ -1464,7 +1465,7 @@ export type KnowledgeBaseQueryListKnowledgeBaseFilesArgs = {
|
|
|
1464
1465
|
input: ListKnowledgeBaseFilesInput;
|
|
1465
1466
|
};
|
|
1466
1467
|
export type KnowledgeBaseQueryListKnowledgeBaseStructuredFileChunksArgs = {
|
|
1467
|
-
input:
|
|
1468
|
+
input: ListKnowledgeBaseStructuredFileChunksInput;
|
|
1468
1469
|
};
|
|
1469
1470
|
export type KnowledgeBaseQueryListKnowledgeBasesArgs = {
|
|
1470
1471
|
input: ListKnowledgeBaseInput;
|
|
@@ -1472,6 +1473,17 @@ export type KnowledgeBaseQueryListKnowledgeBasesArgs = {
|
|
|
1472
1473
|
export type KnowledgeBaseQueryShowStructuredFileInfoArgs = {
|
|
1473
1474
|
input: CreateKnowledgeBaseStructuredFileInput;
|
|
1474
1475
|
};
|
|
1476
|
+
export type KnowledgeBaseStructuredFileChunk = {
|
|
1477
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
1478
|
+
content?: Maybe<Scalars['Map']['output']>;
|
|
1479
|
+
contentSizeInBytes: Scalars['Int']['output'];
|
|
1480
|
+
createdAt?: Maybe<Scalars['Time']['output']>;
|
|
1481
|
+
fileId?: Maybe<Scalars['String']['output']>;
|
|
1482
|
+
id: Scalars['String']['output'];
|
|
1483
|
+
knowledgeBase: Scalars['String']['output'];
|
|
1484
|
+
processingPhase: Scalars['String']['output'];
|
|
1485
|
+
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
1486
|
+
};
|
|
1475
1487
|
export type Llm = {
|
|
1476
1488
|
__typename?: 'LLM';
|
|
1477
1489
|
annotations?: Maybe<Scalars['Map']['output']>;
|
|
@@ -1653,6 +1665,22 @@ export type ListKnowledgeBaseInput = {
|
|
|
1653
1665
|
*/
|
|
1654
1666
|
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1655
1667
|
};
|
|
1668
|
+
export type ListKnowledgeBaseStructuredFileChunksInput = {
|
|
1669
|
+
/** 基于关键字检索相关chunk */
|
|
1670
|
+
keyword?: InputMaybe<Scalars['String']['input']>;
|
|
1671
|
+
/** knowledgebase知识库.由 namespace_name组成 */
|
|
1672
|
+
knowledgebase: Scalars['String']['input'];
|
|
1673
|
+
/**
|
|
1674
|
+
* 分页页码,
|
|
1675
|
+
* 规则: 从1开始,默认是1
|
|
1676
|
+
*/
|
|
1677
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1678
|
+
/**
|
|
1679
|
+
* 每页数量,
|
|
1680
|
+
* 规则: 默认10
|
|
1681
|
+
*/
|
|
1682
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1683
|
+
};
|
|
1656
1684
|
export type ListModelInput = {
|
|
1657
1685
|
/** 字段选择器 */
|
|
1658
1686
|
fieldSelector?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2061,7 +2089,7 @@ export type OssInput = {
|
|
|
2061
2089
|
bucket: Scalars['String']['input'];
|
|
2062
2090
|
object?: InputMaybe<Scalars['String']['input']>;
|
|
2063
2091
|
};
|
|
2064
|
-
export type PageNode = AgentMetadata | AgentPrompt | AgentRelease | AgentReleaseHistory | Dataset | Datasource | Embedder | F | KnowledgeBase | KnowledgeBaseFile | KnowledgeBaseFileChunk | Llm | Model | ModelService | Node | Plugin | Rag | RayCluster | Reranker | Sft | TuningDataSet | TuningVersionedDataset | TuningVersionedDatasetContent | TuningVersionedDatasetFiles | VersionedDataset | Worker | Workflow;
|
|
2092
|
+
export type PageNode = AgentMetadata | AgentPrompt | AgentRelease | AgentReleaseHistory | Dataset | Datasource | Embedder | F | KnowledgeBase | KnowledgeBaseFile | KnowledgeBaseFileChunk | KnowledgeBaseStructuredFileChunk | Llm | Model | ModelService | Node | Plugin | Rag | RayCluster | Reranker | Sft | TuningDataSet | TuningVersionedDataset | TuningVersionedDatasetContent | TuningVersionedDatasetFiles | VersionedDataset | Worker | Workflow;
|
|
2065
2093
|
export type PaginatedDataProcessItem = {
|
|
2066
2094
|
__typename?: 'PaginatedDataProcessItem';
|
|
2067
2095
|
data?: Maybe<Array<DataProcessItem>>;
|
|
@@ -3055,6 +3083,12 @@ export type UpdateKnowledgeBaseInput = {
|
|
|
3055
3083
|
/** 知识库创建命名空间 */
|
|
3056
3084
|
namespace: Scalars['String']['input'];
|
|
3057
3085
|
};
|
|
3086
|
+
export type UpdateKnowledgeBaseStructuredFileChunkInput = {
|
|
3087
|
+
/** 新的内容 */
|
|
3088
|
+
content?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3089
|
+
/** chunk id */
|
|
3090
|
+
id: Scalars['String']['input'];
|
|
3091
|
+
};
|
|
3058
3092
|
/** 模型更新的输入 */
|
|
3059
3093
|
export type UpdateModelInput = {
|
|
3060
3094
|
/** 模型资源注释 */
|
|
@@ -3846,6 +3880,8 @@ export type GetAgentLatestReleaseInEachPlatformQuery = {
|
|
|
3846
3880
|
__typename?: 'KnowledgeBaseFile';
|
|
3847
3881
|
} | {
|
|
3848
3882
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
3883
|
+
} | {
|
|
3884
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
3849
3885
|
} | {
|
|
3850
3886
|
__typename?: 'LLM';
|
|
3851
3887
|
} | {
|
|
@@ -3932,6 +3968,8 @@ export type GetAgentReleaseHistoryQuery = {
|
|
|
3932
3968
|
__typename?: 'KnowledgeBaseFile';
|
|
3933
3969
|
} | {
|
|
3934
3970
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
3971
|
+
} | {
|
|
3972
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
3935
3973
|
} | {
|
|
3936
3974
|
__typename?: 'LLM';
|
|
3937
3975
|
} | {
|
|
@@ -4020,6 +4058,8 @@ export type ListAgentsQuery = {
|
|
|
4020
4058
|
__typename?: 'KnowledgeBaseFile';
|
|
4021
4059
|
} | {
|
|
4022
4060
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
4061
|
+
} | {
|
|
4062
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
4023
4063
|
} | {
|
|
4024
4064
|
__typename?: 'LLM';
|
|
4025
4065
|
} | {
|
|
@@ -4097,6 +4137,8 @@ export type ListAgentPromptQuery = {
|
|
|
4097
4137
|
__typename?: 'KnowledgeBaseFile';
|
|
4098
4138
|
} | {
|
|
4099
4139
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
4140
|
+
} | {
|
|
4141
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
4100
4142
|
} | {
|
|
4101
4143
|
__typename?: 'LLM';
|
|
4102
4144
|
} | {
|
|
@@ -4483,6 +4525,8 @@ export type ListDatasetsQuery = {
|
|
|
4483
4525
|
__typename?: 'KnowledgeBaseFile';
|
|
4484
4526
|
} | {
|
|
4485
4527
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
4528
|
+
} | {
|
|
4529
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
4486
4530
|
} | {
|
|
4487
4531
|
__typename?: 'LLM';
|
|
4488
4532
|
} | {
|
|
@@ -4542,6 +4586,8 @@ export type ListDatasetsQuery = {
|
|
|
4542
4586
|
__typename?: 'KnowledgeBaseFile';
|
|
4543
4587
|
} | {
|
|
4544
4588
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
4589
|
+
} | {
|
|
4590
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
4545
4591
|
} | {
|
|
4546
4592
|
__typename?: 'LLM';
|
|
4547
4593
|
} | {
|
|
@@ -4624,6 +4670,8 @@ export type GetDatasetQuery = {
|
|
|
4624
4670
|
__typename?: 'KnowledgeBaseFile';
|
|
4625
4671
|
} | {
|
|
4626
4672
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
4673
|
+
} | {
|
|
4674
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
4627
4675
|
} | {
|
|
4628
4676
|
__typename?: 'LLM';
|
|
4629
4677
|
} | {
|
|
@@ -4883,6 +4931,8 @@ export type ListDatasourcesQuery = {
|
|
|
4883
4931
|
__typename: 'KnowledgeBaseFile';
|
|
4884
4932
|
} | {
|
|
4885
4933
|
__typename: 'KnowledgeBaseFileChunk';
|
|
4934
|
+
} | {
|
|
4935
|
+
__typename: 'KnowledgeBaseStructuredFileChunk';
|
|
4886
4936
|
} | {
|
|
4887
4937
|
__typename: 'LLM';
|
|
4888
4938
|
} | {
|
|
@@ -5028,6 +5078,8 @@ export type ListEmbeddersQuery = {
|
|
|
5028
5078
|
__typename?: 'KnowledgeBaseFile';
|
|
5029
5079
|
} | {
|
|
5030
5080
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
5081
|
+
} | {
|
|
5082
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
5031
5083
|
} | {
|
|
5032
5084
|
__typename?: 'LLM';
|
|
5033
5085
|
} | {
|
|
@@ -5153,6 +5205,8 @@ export type ListKnowledgeBasesQuery = {
|
|
|
5153
5205
|
__typename?: 'KnowledgeBaseFile';
|
|
5154
5206
|
} | {
|
|
5155
5207
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
5208
|
+
} | {
|
|
5209
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
5156
5210
|
} | {
|
|
5157
5211
|
__typename?: 'LLM';
|
|
5158
5212
|
} | {
|
|
@@ -5425,6 +5479,8 @@ export type ListKnowledgeBaseFilesQuery = {
|
|
|
5425
5479
|
phaseReason?: string | null;
|
|
5426
5480
|
} | {
|
|
5427
5481
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
5482
|
+
} | {
|
|
5483
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
5428
5484
|
} | {
|
|
5429
5485
|
__typename?: 'LLM';
|
|
5430
5486
|
} | {
|
|
@@ -5532,6 +5588,8 @@ export type ListKnowledgeBaseFileChunksQuery = {
|
|
|
5532
5588
|
content: string;
|
|
5533
5589
|
contentSizeInBytes: number;
|
|
5534
5590
|
processingPhase: string;
|
|
5591
|
+
} | {
|
|
5592
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
5535
5593
|
} | {
|
|
5536
5594
|
__typename?: 'LLM';
|
|
5537
5595
|
} | {
|
|
@@ -5585,6 +5643,115 @@ export type ShowStructuredFileInfoQuery = {
|
|
|
5585
5643
|
};
|
|
5586
5644
|
} | null;
|
|
5587
5645
|
};
|
|
5646
|
+
export type CreateKnowledgeBaseStructuredFilesMutationVariables = Exact<{
|
|
5647
|
+
input: CreateKnowledgeBaseStructuredFileInput;
|
|
5648
|
+
}>;
|
|
5649
|
+
export type CreateKnowledgeBaseStructuredFilesMutation = {
|
|
5650
|
+
__typename?: 'Mutation';
|
|
5651
|
+
KnowledgeBase?: {
|
|
5652
|
+
__typename?: 'KnowledgeBaseMutation';
|
|
5653
|
+
createKnowledgeBaseStructuredFiles?: any | null;
|
|
5654
|
+
} | null;
|
|
5655
|
+
};
|
|
5656
|
+
export type CreateKnowledgeBaseStructuredFileChunkMutationVariables = Exact<{
|
|
5657
|
+
input: CreateKnowledgeBaseStructuredFileChunkInput;
|
|
5658
|
+
}>;
|
|
5659
|
+
export type CreateKnowledgeBaseStructuredFileChunkMutation = {
|
|
5660
|
+
__typename?: 'Mutation';
|
|
5661
|
+
KnowledgeBase?: {
|
|
5662
|
+
__typename?: 'KnowledgeBaseMutation';
|
|
5663
|
+
createKnowledgeBaseStructuredFileChunk?: any | null;
|
|
5664
|
+
} | null;
|
|
5665
|
+
};
|
|
5666
|
+
export type UpdateKnowledgeBaseStructuredFileChunkMutationVariables = Exact<{
|
|
5667
|
+
input: UpdateKnowledgeBaseStructuredFileChunkInput;
|
|
5668
|
+
}>;
|
|
5669
|
+
export type UpdateKnowledgeBaseStructuredFileChunkMutation = {
|
|
5670
|
+
__typename?: 'Mutation';
|
|
5671
|
+
KnowledgeBase?: {
|
|
5672
|
+
__typename?: 'KnowledgeBaseMutation';
|
|
5673
|
+
updateKnowledgeBaseStructuredFileChunk?: any | null;
|
|
5674
|
+
} | null;
|
|
5675
|
+
};
|
|
5676
|
+
export type ListKnowledgeBaseStructuredFileChunksQueryVariables = Exact<{
|
|
5677
|
+
input: ListKnowledgeBaseStructuredFileChunksInput;
|
|
5678
|
+
}>;
|
|
5679
|
+
export type ListKnowledgeBaseStructuredFileChunksQuery = {
|
|
5680
|
+
__typename?: 'Query';
|
|
5681
|
+
KnowledgeBase?: {
|
|
5682
|
+
__typename?: 'KnowledgeBaseQuery';
|
|
5683
|
+
listKnowledgeBaseStructuredFileChunks: {
|
|
5684
|
+
__typename?: 'PaginatedResult';
|
|
5685
|
+
totalCount: number;
|
|
5686
|
+
hasNextPage: boolean;
|
|
5687
|
+
nodes?: Array<{
|
|
5688
|
+
__typename?: 'AgentMetadata';
|
|
5689
|
+
} | {
|
|
5690
|
+
__typename?: 'AgentPrompt';
|
|
5691
|
+
} | {
|
|
5692
|
+
__typename?: 'AgentRelease';
|
|
5693
|
+
} | {
|
|
5694
|
+
__typename?: 'AgentReleaseHistory';
|
|
5695
|
+
} | {
|
|
5696
|
+
__typename?: 'Dataset';
|
|
5697
|
+
} | {
|
|
5698
|
+
__typename?: 'Datasource';
|
|
5699
|
+
} | {
|
|
5700
|
+
__typename?: 'Embedder';
|
|
5701
|
+
} | {
|
|
5702
|
+
__typename?: 'F';
|
|
5703
|
+
} | {
|
|
5704
|
+
__typename?: 'KnowledgeBase';
|
|
5705
|
+
} | {
|
|
5706
|
+
__typename?: 'KnowledgeBaseFile';
|
|
5707
|
+
} | {
|
|
5708
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
5709
|
+
} | {
|
|
5710
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
5711
|
+
id: string;
|
|
5712
|
+
knowledgeBase: string;
|
|
5713
|
+
fileId?: string | null;
|
|
5714
|
+
createdAt?: any | null;
|
|
5715
|
+
updatedAt?: any | null;
|
|
5716
|
+
content?: any | null;
|
|
5717
|
+
contentSizeInBytes: number;
|
|
5718
|
+
processingPhase: string;
|
|
5719
|
+
} | {
|
|
5720
|
+
__typename?: 'LLM';
|
|
5721
|
+
} | {
|
|
5722
|
+
__typename?: 'Model';
|
|
5723
|
+
} | {
|
|
5724
|
+
__typename?: 'ModelService';
|
|
5725
|
+
} | {
|
|
5726
|
+
__typename?: 'Node';
|
|
5727
|
+
} | {
|
|
5728
|
+
__typename?: 'Plugin';
|
|
5729
|
+
} | {
|
|
5730
|
+
__typename?: 'RAG';
|
|
5731
|
+
} | {
|
|
5732
|
+
__typename?: 'RayCluster';
|
|
5733
|
+
} | {
|
|
5734
|
+
__typename?: 'Reranker';
|
|
5735
|
+
} | {
|
|
5736
|
+
__typename?: 'SFT';
|
|
5737
|
+
} | {
|
|
5738
|
+
__typename?: 'TuningDataSet';
|
|
5739
|
+
} | {
|
|
5740
|
+
__typename?: 'TuningVersionedDataset';
|
|
5741
|
+
} | {
|
|
5742
|
+
__typename?: 'TuningVersionedDatasetContent';
|
|
5743
|
+
} | {
|
|
5744
|
+
__typename?: 'TuningVersionedDatasetFiles';
|
|
5745
|
+
} | {
|
|
5746
|
+
__typename?: 'VersionedDataset';
|
|
5747
|
+
} | {
|
|
5748
|
+
__typename?: 'Worker';
|
|
5749
|
+
} | {
|
|
5750
|
+
__typename?: 'Workflow';
|
|
5751
|
+
}> | null;
|
|
5752
|
+
};
|
|
5753
|
+
} | null;
|
|
5754
|
+
};
|
|
5588
5755
|
export type ListLlMsQueryVariables = Exact<{
|
|
5589
5756
|
input: ListCommonInput;
|
|
5590
5757
|
}>;
|
|
@@ -5618,6 +5785,8 @@ export type ListLlMsQuery = {
|
|
|
5618
5785
|
__typename?: 'KnowledgeBaseFile';
|
|
5619
5786
|
} | {
|
|
5620
5787
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
5788
|
+
} | {
|
|
5789
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
5621
5790
|
} | {
|
|
5622
5791
|
__typename?: 'LLM';
|
|
5623
5792
|
name: string;
|
|
@@ -5727,6 +5896,8 @@ export type ListModelsQuery = {
|
|
|
5727
5896
|
__typename: 'KnowledgeBaseFile';
|
|
5728
5897
|
} | {
|
|
5729
5898
|
__typename: 'KnowledgeBaseFileChunk';
|
|
5899
|
+
} | {
|
|
5900
|
+
__typename: 'KnowledgeBaseStructuredFileChunk';
|
|
5730
5901
|
} | {
|
|
5731
5902
|
__typename: 'LLM';
|
|
5732
5903
|
} | {
|
|
@@ -5781,6 +5952,8 @@ export type ListModelsQuery = {
|
|
|
5781
5952
|
__typename?: 'KnowledgeBaseFile';
|
|
5782
5953
|
} | {
|
|
5783
5954
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
5955
|
+
} | {
|
|
5956
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
5784
5957
|
} | {
|
|
5785
5958
|
__typename?: 'LLM';
|
|
5786
5959
|
} | {
|
|
@@ -5908,6 +6081,8 @@ export type GetModelQuery = {
|
|
|
5908
6081
|
__typename?: 'KnowledgeBaseFile';
|
|
5909
6082
|
} | {
|
|
5910
6083
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
6084
|
+
} | {
|
|
6085
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
5911
6086
|
} | {
|
|
5912
6087
|
__typename?: 'LLM';
|
|
5913
6088
|
} | {
|
|
@@ -6155,6 +6330,8 @@ export type ListModelServicesQuery = {
|
|
|
6155
6330
|
__typename: 'KnowledgeBaseFile';
|
|
6156
6331
|
} | {
|
|
6157
6332
|
__typename: 'KnowledgeBaseFileChunk';
|
|
6333
|
+
} | {
|
|
6334
|
+
__typename: 'KnowledgeBaseStructuredFileChunk';
|
|
6158
6335
|
} | {
|
|
6159
6336
|
__typename: 'LLM';
|
|
6160
6337
|
} | {
|
|
@@ -6280,6 +6457,8 @@ export type ListNodesQuery = {
|
|
|
6280
6457
|
__typename: 'KnowledgeBaseFile';
|
|
6281
6458
|
} | {
|
|
6282
6459
|
__typename: 'KnowledgeBaseFileChunk';
|
|
6460
|
+
} | {
|
|
6461
|
+
__typename: 'KnowledgeBaseStructuredFileChunk';
|
|
6283
6462
|
} | {
|
|
6284
6463
|
__typename: 'LLM';
|
|
6285
6464
|
} | {
|
|
@@ -6351,6 +6530,8 @@ export type ListPluginsQuery = {
|
|
|
6351
6530
|
__typename: 'KnowledgeBaseFile';
|
|
6352
6531
|
} | {
|
|
6353
6532
|
__typename: 'KnowledgeBaseFileChunk';
|
|
6533
|
+
} | {
|
|
6534
|
+
__typename: 'KnowledgeBaseStructuredFileChunk';
|
|
6354
6535
|
} | {
|
|
6355
6536
|
__typename: 'LLM';
|
|
6356
6537
|
} | {
|
|
@@ -6574,6 +6755,8 @@ export type ListRagQuery = {
|
|
|
6574
6755
|
__typename?: 'KnowledgeBaseFile';
|
|
6575
6756
|
} | {
|
|
6576
6757
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
6758
|
+
} | {
|
|
6759
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
6577
6760
|
} | {
|
|
6578
6761
|
__typename?: 'LLM';
|
|
6579
6762
|
} | {
|
|
@@ -6998,6 +7181,8 @@ export type ListRayClustersQuery = {
|
|
|
6998
7181
|
__typename: 'KnowledgeBaseFile';
|
|
6999
7182
|
} | {
|
|
7000
7183
|
__typename: 'KnowledgeBaseFileChunk';
|
|
7184
|
+
} | {
|
|
7185
|
+
__typename: 'KnowledgeBaseStructuredFileChunk';
|
|
7001
7186
|
} | {
|
|
7002
7187
|
__typename: 'LLM';
|
|
7003
7188
|
} | {
|
|
@@ -7072,6 +7257,8 @@ export type ListRerankersQuery = {
|
|
|
7072
7257
|
__typename?: 'KnowledgeBaseFile';
|
|
7073
7258
|
} | {
|
|
7074
7259
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
7260
|
+
} | {
|
|
7261
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
7075
7262
|
} | {
|
|
7076
7263
|
__typename?: 'LLM';
|
|
7077
7264
|
} | {
|
|
@@ -7178,6 +7365,8 @@ export type ListTuningDataSetQuery = {
|
|
|
7178
7365
|
__typename?: 'KnowledgeBaseFile';
|
|
7179
7366
|
} | {
|
|
7180
7367
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
7368
|
+
} | {
|
|
7369
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
7181
7370
|
} | {
|
|
7182
7371
|
__typename?: 'LLM';
|
|
7183
7372
|
} | {
|
|
@@ -7230,6 +7419,8 @@ export type ListTuningDataSetQuery = {
|
|
|
7230
7419
|
__typename?: 'KnowledgeBaseFile';
|
|
7231
7420
|
} | {
|
|
7232
7421
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
7422
|
+
} | {
|
|
7423
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
7233
7424
|
} | {
|
|
7234
7425
|
__typename?: 'LLM';
|
|
7235
7426
|
} | {
|
|
@@ -7328,6 +7519,8 @@ export type GetTuningDataSetQuery = {
|
|
|
7328
7519
|
__typename?: 'KnowledgeBaseFile';
|
|
7329
7520
|
} | {
|
|
7330
7521
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
7522
|
+
} | {
|
|
7523
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
7331
7524
|
} | {
|
|
7332
7525
|
__typename?: 'LLM';
|
|
7333
7526
|
} | {
|
|
@@ -7413,6 +7606,8 @@ export type GetVersionQuery = {
|
|
|
7413
7606
|
__typename?: 'KnowledgeBaseFile';
|
|
7414
7607
|
} | {
|
|
7415
7608
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
7609
|
+
} | {
|
|
7610
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
7416
7611
|
} | {
|
|
7417
7612
|
__typename?: 'LLM';
|
|
7418
7613
|
} | {
|
|
@@ -7491,6 +7686,8 @@ export type GetVersionContentQuery = {
|
|
|
7491
7686
|
__typename?: 'KnowledgeBaseFile';
|
|
7492
7687
|
} | {
|
|
7493
7688
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
7689
|
+
} | {
|
|
7690
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
7494
7691
|
} | {
|
|
7495
7692
|
__typename?: 'LLM';
|
|
7496
7693
|
} | {
|
|
@@ -7677,6 +7874,8 @@ export type ListSftQuery = {
|
|
|
7677
7874
|
__typename?: 'KnowledgeBaseFile';
|
|
7678
7875
|
} | {
|
|
7679
7876
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
7877
|
+
} | {
|
|
7878
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
7680
7879
|
} | {
|
|
7681
7880
|
__typename?: 'LLM';
|
|
7682
7881
|
} | {
|
|
@@ -8260,6 +8459,8 @@ export type GetVersionedDatasetQuery = {
|
|
|
8260
8459
|
__typename?: 'KnowledgeBaseFile';
|
|
8261
8460
|
} | {
|
|
8262
8461
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
8462
|
+
} | {
|
|
8463
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
8263
8464
|
} | {
|
|
8264
8465
|
__typename?: 'LLM';
|
|
8265
8466
|
} | {
|
|
@@ -8331,6 +8532,8 @@ export type ListVersionedDatasetsQuery = {
|
|
|
8331
8532
|
__typename?: 'KnowledgeBaseFile';
|
|
8332
8533
|
} | {
|
|
8333
8534
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
8535
|
+
} | {
|
|
8536
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
8334
8537
|
} | {
|
|
8335
8538
|
__typename?: 'LLM';
|
|
8336
8539
|
} | {
|
|
@@ -8407,6 +8610,8 @@ export type ListVersionedDatasetsQuery = {
|
|
|
8407
8610
|
__typename?: 'KnowledgeBaseFile';
|
|
8408
8611
|
} | {
|
|
8409
8612
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
8613
|
+
} | {
|
|
8614
|
+
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
8410
8615
|
} | {
|
|
8411
8616
|
__typename?: 'LLM';
|
|
8412
8617
|
} | {
|
|
@@ -8482,6 +8687,8 @@ export type ListWorkersQuery = {
|
|
|
8482
8687
|
__typename: 'KnowledgeBaseFile';
|
|
8483
8688
|
} | {
|
|
8484
8689
|
__typename: 'KnowledgeBaseFileChunk';
|
|
8690
|
+
} | {
|
|
8691
|
+
__typename: 'KnowledgeBaseStructuredFileChunk';
|
|
8485
8692
|
} | {
|
|
8486
8693
|
__typename: 'LLM';
|
|
8487
8694
|
} | {
|
|
@@ -8771,6 +8978,8 @@ export type ListWorkflowsQuery = {
|
|
|
8771
8978
|
__typename: 'KnowledgeBaseFile';
|
|
8772
8979
|
} | {
|
|
8773
8980
|
__typename: 'KnowledgeBaseFileChunk';
|
|
8981
|
+
} | {
|
|
8982
|
+
__typename: 'KnowledgeBaseStructuredFileChunk';
|
|
8774
8983
|
} | {
|
|
8775
8984
|
__typename: 'LLM';
|
|
8776
8985
|
} | {
|
|
@@ -8982,6 +9191,10 @@ export declare const UpdateKnowledgeBaseFileChunkDocument: import("../node_modul
|
|
|
8982
9191
|
export declare const DeleteKnowledgeBaseFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8983
9192
|
export declare const ListKnowledgeBaseFileChunksDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8984
9193
|
export declare const ShowStructuredFileInfoDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
9194
|
+
export declare const CreateKnowledgeBaseStructuredFilesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
9195
|
+
export declare const CreateKnowledgeBaseStructuredFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
9196
|
+
export declare const UpdateKnowledgeBaseStructuredFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
9197
|
+
export declare const ListKnowledgeBaseStructuredFileChunksDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8985
9198
|
export declare const ListLlMsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8986
9199
|
export declare const GetLlmDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8987
9200
|
export declare const ListModelsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -9106,6 +9319,10 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
9106
9319
|
deleteKnowledgeBaseFileChunk(variables: DeleteKnowledgeBaseFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteKnowledgeBaseFileChunkMutation>;
|
|
9107
9320
|
listKnowledgeBaseFileChunks(variables: ListKnowledgeBaseFileChunksQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListKnowledgeBaseFileChunksQuery>;
|
|
9108
9321
|
showStructuredFileInfo(variables: ShowStructuredFileInfoQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ShowStructuredFileInfoQuery>;
|
|
9322
|
+
createKnowledgeBaseStructuredFiles(variables: CreateKnowledgeBaseStructuredFilesMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateKnowledgeBaseStructuredFilesMutation>;
|
|
9323
|
+
createKnowledgeBaseStructuredFileChunk(variables: CreateKnowledgeBaseStructuredFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateKnowledgeBaseStructuredFileChunkMutation>;
|
|
9324
|
+
updateKnowledgeBaseStructuredFileChunk(variables: UpdateKnowledgeBaseStructuredFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateKnowledgeBaseStructuredFileChunkMutation>;
|
|
9325
|
+
listKnowledgeBaseStructuredFileChunks(variables: ListKnowledgeBaseStructuredFileChunksQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListKnowledgeBaseStructuredFileChunksQuery>;
|
|
9109
9326
|
listLLMs(variables: ListLlMsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListLlMsQuery>;
|
|
9110
9327
|
getLLM(variables: GetLlmQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetLlmQuery>;
|
|
9111
9328
|
listModels(variables: ListModelsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListModelsQuery>;
|
|
@@ -9204,6 +9421,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
9204
9421
|
useListKnowledgeBaseFiles(variables: ListKnowledgeBaseFilesQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseFilesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseFilesQuery, ClientError>;
|
|
9205
9422
|
useListKnowledgeBaseFileChunks(variables: ListKnowledgeBaseFileChunksQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseFileChunksQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseFileChunksQuery, ClientError>;
|
|
9206
9423
|
useShowStructuredFileInfo(variables: ShowStructuredFileInfoQueryVariables, config?: SWRConfigInterface<ShowStructuredFileInfoQuery, ClientError>): import("./useSWR").SWRResponsePro<ShowStructuredFileInfoQuery, ClientError>;
|
|
9424
|
+
useListKnowledgeBaseStructuredFileChunks(variables: ListKnowledgeBaseStructuredFileChunksQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseStructuredFileChunksQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseStructuredFileChunksQuery, ClientError>;
|
|
9207
9425
|
useListLlMs(variables: ListLlMsQueryVariables, config?: SWRConfigInterface<ListLlMsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListLlMsQuery, ClientError>;
|
|
9208
9426
|
useGetLlm(variables: GetLlmQueryVariables, config?: SWRConfigInterface<GetLlmQuery, ClientError>): import("./useSWR").SWRResponsePro<GetLlmQuery, ClientError>;
|
|
9209
9427
|
useListModels(variables: ListModelsQueryVariables, config?: SWRConfigInterface<ListModelsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListModelsQuery, ClientError>;
|
|
@@ -9422,6 +9640,18 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
9422
9640
|
showStructuredFileInfo(variables: Exact<{
|
|
9423
9641
|
input: CreateKnowledgeBaseStructuredFileInput;
|
|
9424
9642
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ShowStructuredFileInfoQuery>;
|
|
9643
|
+
createKnowledgeBaseStructuredFiles(variables: Exact<{
|
|
9644
|
+
input: CreateKnowledgeBaseStructuredFileInput;
|
|
9645
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateKnowledgeBaseStructuredFilesMutation>;
|
|
9646
|
+
createKnowledgeBaseStructuredFileChunk(variables: Exact<{
|
|
9647
|
+
input: CreateKnowledgeBaseStructuredFileChunkInput;
|
|
9648
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateKnowledgeBaseStructuredFileChunkMutation>;
|
|
9649
|
+
updateKnowledgeBaseStructuredFileChunk(variables: Exact<{
|
|
9650
|
+
input: UpdateKnowledgeBaseStructuredFileChunkInput;
|
|
9651
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateKnowledgeBaseStructuredFileChunkMutation>;
|
|
9652
|
+
listKnowledgeBaseStructuredFileChunks(variables: Exact<{
|
|
9653
|
+
input: ListKnowledgeBaseStructuredFileChunksInput;
|
|
9654
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListKnowledgeBaseStructuredFileChunksQuery>;
|
|
9425
9655
|
listLLMs(variables: Exact<{
|
|
9426
9656
|
input: ListCommonInput;
|
|
9427
9657
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListLlMsQuery>;
|