mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-15 23:55:36 +00:00
v4.6.6-fix (#676)
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
Reference in New Issue
Block a user