mirror of
https://github.com/labring/FastGPT.git
synced 2026-04-11 02:09:27 +08:00
feat: dataset index prefix (#5061)
This commit is contained in:
@@ -103,6 +103,7 @@ export const createCollectionAndInsertData = async ({
|
||||
delete formatCreateCollectionParams.chunkSize;
|
||||
delete formatCreateCollectionParams.chunkSplitter;
|
||||
delete formatCreateCollectionParams.indexSize;
|
||||
delete formatCreateCollectionParams.indexPrefixTitle;
|
||||
}
|
||||
}
|
||||
if (trainingType !== DatasetCollectionDataProcessModeEnum.qa) {
|
||||
@@ -223,7 +224,6 @@ export const createCollectionAndInsertData = async ({
|
||||
vlmModel: dataset.vlmModel,
|
||||
indexSize,
|
||||
mode: trainingMode,
|
||||
prompt: formatCreateCollectionParams.qaPrompt,
|
||||
billId: traingBillId,
|
||||
data: chunks.map((item, index) => ({
|
||||
...item,
|
||||
|
||||
Reference in New Issue
Block a user