v4.6.6-fix (#676)

This commit is contained in:
Archer
2024-01-02 14:18:51 +08:00
committed by GitHub
parent d645a7406b
commit 2e75851b02
179 changed files with 279 additions and 5964 deletions

View File

@@ -18,6 +18,7 @@ export async function createOneCollection({
rawLink,
qaPrompt,
hashRawText,
rawTextLength,
metadata = {}
}: CreateDatasetCollectionParams & { teamId: string; tmbId: string }) {
const { _id } = await MongoDatasetCollection.create({
@@ -32,6 +33,7 @@ export async function createOneCollection({
fileId,
rawLink,
qaPrompt,
rawTextLength,
hashRawText,
metadata
});