mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-21 19:42:07 +00:00
V4.6.6-2 (#673)
This commit is contained in:
@@ -19,8 +19,9 @@ export type InitDateResponse = {
|
||||
vectorModels: VectorModelItemType[];
|
||||
audioSpeechModels: AudioSpeechModels[];
|
||||
reRankModels: ReRankModelItemType[];
|
||||
qgModes: LLMModelItemType[];
|
||||
whisperModel: WhisperModelType;
|
||||
feConfigs: FastGPTFeConfigsType;
|
||||
priceMd: string;
|
||||
systemVersion: string;
|
||||
simpleModeTemplates: AppSimpleEditConfigTemplateType[];
|
||||
};
|
||||
|
@@ -22,6 +22,7 @@ export const SimpleModeTemplate_FastGPT_Universal: AppSimpleEditConfigTemplateTy
|
||||
similarity: true,
|
||||
limit: true,
|
||||
searchMode: DatasetSearchModeEnum.embedding,
|
||||
usingReRank: true,
|
||||
searchEmptyText: true
|
||||
},
|
||||
userGuide: {
|
||||
|
10
projects/app/src/global/core/dataset/api.d.ts
vendored
10
projects/app/src/global/core/dataset/api.d.ts
vendored
@@ -43,12 +43,22 @@ export type UpdateDatasetDataProps = {
|
||||
})[];
|
||||
};
|
||||
|
||||
export type GetTrainingQueueProps = {
|
||||
vectorModel: string;
|
||||
agentModel: string;
|
||||
};
|
||||
export type GetTrainingQueueResponse = {
|
||||
vectorTrainingCount: number;
|
||||
agentTrainingCount: number;
|
||||
};
|
||||
|
||||
/* -------------- search ---------------- */
|
||||
export type SearchTestProps = {
|
||||
datasetId: string;
|
||||
text: string;
|
||||
limit?: number;
|
||||
searchMode?: `${DatasetSearchModeEnum}`;
|
||||
usingReRank: boolean;
|
||||
};
|
||||
export type SearchTestResponse = {
|
||||
list: SearchDataResponseItemType[];
|
||||
|
Reference in New Issue
Block a user