4.6.7 fix (#752)

This commit is contained in:
Archer
2024-01-19 20:16:08 +08:00
committed by GitHub
parent c031e6dcc9
commit 5e2adb22f0
37 changed files with 420 additions and 293 deletions

View File

@@ -8,6 +8,3 @@ import { DatasetCollectionSchemaType } from '@fastgpt/global/core/dataset/type';
/* ======= collection =========== */
/* ==== data ===== */
export type PushDataResponse = {
insertLen: number;
};

View File

@@ -27,13 +27,7 @@ export type CreateDatasetParams = {
export type InsertOneDatasetDataProps = PushDatasetDataChunkProps & {
collectionId: string;
};
export type PushDatasetDataProps = {
collectionId: string;
data: PushDatasetDataChunkProps[];
trainingMode: `${TrainingModeEnum}`;
prompt?: string;
billId?: string;
};
export type UpdateDatasetDataProps = {
id: string;
q?: string; // embedding content