mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 05:12:39 +00:00
优化建议模式;修复多索引训练失败问题 (#1043)
* doc * Optimize possible null Pointers and parts of Ux * fix: mulity index training error
This commit is contained in:
@@ -9,7 +9,6 @@ import { getCollectionWithDataset } from '../controller';
|
||||
import { TrainingModeEnum } from '@fastgpt/global/core/dataset/constants';
|
||||
import { simpleText } from '@fastgpt/global/common/string/tools';
|
||||
import { countPromptTokens } from '@fastgpt/global/common/string/tiktoken';
|
||||
import type { VectorModelItemType, LLMModelItemType } from '@fastgpt/global/core/ai/model.d';
|
||||
|
||||
export const lockTrainingDataByTeamId = async (teamId: string): Promise<any> => {
|
||||
try {
|
||||
|
Reference in New Issue
Block a user