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

@@ -25,7 +25,7 @@ export async function createOneCollection({
type,
trainingType = TrainingModeEnum.chunk,
chunkSize = 0,
chunkSize = 512,
chunkSplitter,
qaPrompt,
@@ -134,7 +134,10 @@ export async function delCollectionAndRelatedSources({
// delete file and imgs
await Promise.all([
delImgByRelatedId(relatedImageIds),
delImgByRelatedId({
teamId,
relateIds: relatedImageIds
}),
delFileByFileIdList({
bucketName: BucketNameEnum.dataset,
fileIdList