mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-02 20:58:12 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user