@yuntijs/arcadia-bff-sdk 1.2.1 → 1.2.3
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/sdk.d.ts +20 -0
- package/dist/esm/sdk.js +2 -2
- 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/sdk.d.ts
CHANGED
|
@@ -588,6 +588,7 @@ export type DataProcessDetailsItem = {
|
|
|
588
588
|
data_process_config_info?: Maybe<Array<DataProcessConfigInfo>>;
|
|
589
589
|
end_time: Scalars['String']['output'];
|
|
590
590
|
error_msg?: Maybe<Scalars['String']['output']>;
|
|
591
|
+
file_details?: Maybe<Array<FileDetails>>;
|
|
591
592
|
file_num: Scalars['Int']['output'];
|
|
592
593
|
file_type: Scalars['String']['output'];
|
|
593
594
|
id: Scalars['String']['output'];
|
|
@@ -606,6 +607,7 @@ export type DataProcessFileLogInput = {
|
|
|
606
607
|
};
|
|
607
608
|
export type DataProcessItem = {
|
|
608
609
|
__typename?: 'DataProcessItem';
|
|
610
|
+
end_datetime: Scalars['String']['output'];
|
|
609
611
|
error_msg?: Maybe<Scalars['String']['output']>;
|
|
610
612
|
id: Scalars['String']['output'];
|
|
611
613
|
name: Scalars['String']['output'];
|
|
@@ -1015,6 +1017,14 @@ export type F = {
|
|
|
1015
1017
|
/** 文件更新时间,如果没有导入成功,这个字段为空 */
|
|
1016
1018
|
time?: Maybe<Scalars['Time']['output']>;
|
|
1017
1019
|
};
|
|
1020
|
+
export type FileDetails = {
|
|
1021
|
+
__typename?: 'FileDetails';
|
|
1022
|
+
end_time: Scalars['String']['output'];
|
|
1023
|
+
file_name: Scalars['String']['output'];
|
|
1024
|
+
file_size: Scalars['String']['output'];
|
|
1025
|
+
start_time: Scalars['String']['output'];
|
|
1026
|
+
status: Scalars['String']['output'];
|
|
1027
|
+
};
|
|
1018
1028
|
/** 根据条件顾虑版本内的文件,只支持关键词搜索 */
|
|
1019
1029
|
export type FileFilter = {
|
|
1020
1030
|
/** 根据关键词搜索文件,strings.Container(fileName, keyword) */
|
|
@@ -1034,6 +1044,7 @@ export type FileGroup = {
|
|
|
1034
1044
|
};
|
|
1035
1045
|
export type FileItem = {
|
|
1036
1046
|
name: Scalars['String']['input'];
|
|
1047
|
+
size?: InputMaybe<Scalars['String']['input']>;
|
|
1037
1048
|
};
|
|
1038
1049
|
/**
|
|
1039
1050
|
* GPT
|
|
@@ -2856,6 +2867,7 @@ export type AllDataProcessListByPageQuery = {
|
|
|
2856
2867
|
post_data_set_name: string;
|
|
2857
2868
|
post_data_set_version?: string | null;
|
|
2858
2869
|
start_datetime: string;
|
|
2870
|
+
end_datetime: string;
|
|
2859
2871
|
error_msg?: string | null;
|
|
2860
2872
|
}> | null;
|
|
2861
2873
|
} | null;
|
|
@@ -2996,6 +3008,14 @@ export type DataProcessDetailsQuery = {
|
|
|
2996
3008
|
} | null> | null;
|
|
2997
3009
|
} | null> | null;
|
|
2998
3010
|
}> | null;
|
|
3011
|
+
file_details?: Array<{
|
|
3012
|
+
__typename?: 'FileDetails';
|
|
3013
|
+
file_name: string;
|
|
3014
|
+
status: string;
|
|
3015
|
+
start_time: string;
|
|
3016
|
+
end_time: string;
|
|
3017
|
+
file_size: string;
|
|
3018
|
+
}> | null;
|
|
2999
3019
|
};
|
|
3000
3020
|
} | null;
|
|
3001
3021
|
} | null;
|
package/dist/esm/sdk.js
CHANGED
|
@@ -175,10 +175,10 @@ export var DeleteApplicationDocument = gql(_templateObject3 || (_templateObject3
|
|
|
175
175
|
export var UpdateApplicationConfigDocument = gql(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n mutation updateApplicationConfig($input: UpdateApplicationConfigInput!) {\n Application {\n updateApplicationConfig(input: $input) {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n category\n }\n prologue\n model\n llm\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebase\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n tools {\n name\n params\n }\n enableRerank\n rerankModel\n enableMultiQuery\n chatTimeout\n chunkSize\n chunkOverlap\n batchSize\n }\n }\n}\n "])));
|
|
176
176
|
export var GetApplicationDocument = gql(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n query getApplication($name: String!, $namespace: String!) {\n Application {\n getApplication(name: $name, namespace: $namespace) {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n category\n }\n prologue\n model\n llm\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebase\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n tools {\n name\n params\n }\n enableRerank\n rerankModel\n enableMultiQuery\n chatTimeout\n chunkSize\n chunkOverlap\n batchSize\n }\n }\n}\n "])));
|
|
177
177
|
export var ListApplicationsDocument = gql(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n query listApplications($input: ListCommonInput!) {\n Application {\n listApplicationMetadata(input: $input) {\n page\n pageSize\n totalCount\n hasNextPage\n nodes {\n ... on ApplicationMetadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n category\n }\n }\n }\n }\n}\n "])));
|
|
178
|
-
export var AllDataProcessListByPageDocument = gql(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n query allDataProcessListByPage($input: AllDataProcessListByPageInput!) {\n dataProcess {\n allDataProcessListByPage(input: $input) {\n status\n data {\n id\n name\n status\n pre_data_set_name\n pre_data_set_version\n post_data_set_name\n post_data_set_version\n start_datetime\n error_msg\n }\n message\n }\n }\n}\n "])));
|
|
178
|
+
export var AllDataProcessListByPageDocument = gql(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n query allDataProcessListByPage($input: AllDataProcessListByPageInput!) {\n dataProcess {\n allDataProcessListByPage(input: $input) {\n status\n data {\n id\n name\n status\n pre_data_set_name\n pre_data_set_version\n post_data_set_name\n post_data_set_version\n start_datetime\n end_datetime\n error_msg\n }\n message\n }\n }\n}\n "])));
|
|
179
179
|
export var AllDataProcessListByCountDocument = gql(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n query allDataProcessListByCount($input: AllDataProcessListByCountInput!) {\n dataProcess {\n allDataProcessListByCount(input: $input) {\n status\n data\n message\n }\n }\n}\n "])));
|
|
180
180
|
export var DataProcessSupportTypeDocument = gql(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n query dataProcessSupportType {\n dataProcess {\n dataProcessSupportType {\n status\n data {\n name\n description\n children {\n name\n zh_name\n description\n enable\n }\n }\n message\n }\n }\n}\n "])));
|
|
181
|
-
export var DataProcessDetailsDocument = gql(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n query dataProcessDetails($input: DataProcessDetailsInput) {\n dataProcess {\n dataProcessDetails(input: $input) {\n status\n data {\n id\n status\n name\n file_type\n pre_dataset_name\n pre_dataset_version\n post_dataset_name\n post_dataset_version\n file_num\n start_time\n end_time\n creator\n error_msg\n data_process_config_info {\n type\n llm_config {\n name\n namespace\n model\n temperature\n top_p\n max_tokens\n prompt_template\n provider\n }\n remove_duplicate_config {\n similarity\n embedding_name\n embedding_model\n embedding_provider\n embedding_namespace\n }\n }\n config {\n name\n description\n file_num\n status\n children {\n name\n enable\n zh_name\n description\n chunk_size\n chunk_overlap\n llm_config {\n name\n namespace\n model\n temperature\n top_p\n max_tokens\n prompt_template\n provider\n }\n preview {\n file_name\n content {\n pre\n post\n }\n }\n file_progress {\n id\n file_name\n status\n start_time\n end_time\n progress\n }\n }\n }\n }\n message\n }\n }\n}\n "])));
|
|
181
|
+
export var DataProcessDetailsDocument = gql(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n query dataProcessDetails($input: DataProcessDetailsInput) {\n dataProcess {\n dataProcessDetails(input: $input) {\n status\n data {\n id\n status\n name\n file_type\n pre_dataset_name\n pre_dataset_version\n post_dataset_name\n post_dataset_version\n file_num\n start_time\n end_time\n creator\n error_msg\n data_process_config_info {\n type\n llm_config {\n name\n namespace\n model\n temperature\n top_p\n max_tokens\n prompt_template\n provider\n }\n remove_duplicate_config {\n similarity\n embedding_name\n embedding_model\n embedding_provider\n embedding_namespace\n }\n }\n config {\n name\n description\n file_num\n status\n children {\n name\n enable\n zh_name\n description\n chunk_size\n chunk_overlap\n llm_config {\n name\n namespace\n model\n temperature\n top_p\n max_tokens\n prompt_template\n provider\n }\n preview {\n file_name\n content {\n pre\n post\n }\n }\n file_progress {\n id\n file_name\n status\n start_time\n end_time\n progress\n }\n }\n }\n file_details {\n file_name\n status\n start_time\n end_time\n file_size\n }\n }\n message\n }\n }\n}\n "])));
|
|
182
182
|
export var CheckDataProcessTaskNameDocument = gql(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n query checkDataProcessTaskName($input: CheckDataProcessTaskNameInput) {\n dataProcess {\n checkDataProcessTaskName(input: $input) {\n status\n data\n message\n }\n }\n}\n "])));
|
|
183
183
|
export var GetLogInfoDocument = gql(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n query getLogInfo($input: DataProcessDetailsInput) {\n dataProcess {\n getLogInfo(input: $input) {\n status\n data\n message\n }\n }\n}\n "])));
|
|
184
184
|
export var DataProcessLogInfoByFileNameDocument = gql(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n query dataProcessLogInfoByFileName($input: DataProcessFileLogInput) {\n dataProcess {\n dataProcessLogInfoByFileName(input: $input) {\n status\n data\n message\n }\n }\n}\n "])));
|