Add externalfile api params (#2745)

* feat: external dataset api

* perf: doc
This commit is contained in:
Archer
2024-09-19 13:28:55 +08:00
committed by GitHub
parent 258de4471e
commit 265434799f
12 changed files with 207 additions and 55 deletions

View File

@@ -243,8 +243,9 @@ const Info = ({ datasetId }: { datasetId: string }) => {
const vectorModel = vectorModelList.find((item) => item.model === e);
if (!vectorModel) return;
return onOpenConfirmRebuild(() => {
setValue('vectorModel', vectorModel);
return onRebuilding(vectorModel);
return onRebuilding(vectorModel).then(() => {
setValue('vectorModel', vectorModel);
});
})();
}}
/>