mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00

* System template (#2082) * feat: system plugin (#2024) * add plugin cost & change plugin avatar (#2030) * add plugin cost & change plugin avatar * add author * feat: duckduckgo plugin * duckduck search * perf: templates select system plugin * perf: system plugin avatar * feat: duckduck plugins * doc * perf: plugin classify * perf: icon avatar component * perf: system template avatar --------- Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com> * feat: system plugin search * perf: plugin packages important * perf: source avatar * nextconfig * perf: i18n * perf: default model * perf: system plugin author --------- Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
34 lines
748 B
TypeScript
34 lines
748 B
TypeScript
import type { LLMModelItemType, VectorModelItemType } from './model.d';
|
|
|
|
export const defaultQAModels: LLMModelItemType[] = [
|
|
{
|
|
model: 'gpt-4o-mini',
|
|
name: 'gpt-4o-mini',
|
|
maxContext: 16000,
|
|
maxResponse: 16000,
|
|
quoteMaxToken: 13000,
|
|
maxTemperature: 1.2,
|
|
charsPointsPrice: 0,
|
|
censor: false,
|
|
vision: false,
|
|
datasetProcess: true,
|
|
toolChoice: true,
|
|
functionCall: false,
|
|
customCQPrompt: '',
|
|
customExtractPrompt: '',
|
|
defaultSystemChatPrompt: '',
|
|
defaultConfig: {}
|
|
}
|
|
];
|
|
|
|
export const defaultVectorModels: VectorModelItemType[] = [
|
|
{
|
|
model: 'text-embedding-3-small',
|
|
name: 'Embedding-2',
|
|
charsPointsPrice: 0,
|
|
defaultToken: 500,
|
|
maxToken: 3000,
|
|
weight: 100
|
|
}
|
|
];
|