External dataset (#1485)

* fix: revert version

* feat: external collection

* import context

* external ui

* doc

* fix: ts

* clear invalid data

* feat: rename sub name

* fix: node if else edge remove

* fix: init

* api size

* fix: if else node refresh
This commit is contained in:
Archer
2024-05-15 10:19:51 +08:00
committed by GitHub
parent fb04889a31
commit cd876251b7
74 changed files with 1882 additions and 1353 deletions

View File

@@ -14,7 +14,7 @@ import { NodeInputKeyEnum } from '@fastgpt/global/core/workflow/constants';
/* ================= dataset ===================== */
export type CreateDatasetParams = {
parentId?: string;
type: `${DatasetTypeEnum}`;
type: DatasetTypeEnum;
name: string;
intro: string;
avatar: string;
@@ -76,7 +76,7 @@ export type SearchTestResponse = {
/* =========== training =========== */
export type PostPreviewFilesChunksProps = {
type: `${ImportDataSourceEnum}`;
type: ImportDataSourceEnum;
sourceId: string;
chunkSize: number;
overlapRatio: number;