Fix i18n styles (#8)
This commit is contained in:
1 parent
7b292b104c
commit
c300500135
23 files changed
+3222
-432
No files matched your search
+11
-10
@@ -1,3 +1,4 @@
|
||||
import i18n from '@/i18n';
|
||||
import { IChatModel } from '@/models';
|
||||
|
||||
export const ROLE_SYSTEM = 'system';
|
||||
@@ -14,30 +15,30 @@ export const CHAT_SERVICE_ID = 'b1fbcc32-e218-4253-9dc3-4fe600a1bfb9';
|
||||
|
||||
export const CHAT_MODEL_GPT_3_5: IChatModel = {
|
||||
name: CHAT_MODEL_NAME_GPT_3_5,
|
||||
displayName: '3.5 - 标准',
|
||||
description: '3.5 标准模型,输入约 8 千汉字'
|
||||
getDisplayName: () => i18n.global.t('chat.model.35Standard'),
|
||||
getDescription: () => i18n.global.t('chat.model.35StandardDescription')
|
||||
};
|
||||
|
||||
export const CHAT_MODEL_GPT_3_5_BROWSING: IChatModel = {
|
||||
name: CHAT_MODEL_NAME_GPT_3_5_BROWSING,
|
||||
displayName: '3.5 - 联网',
|
||||
description: '3.5 联网模型,额外支持实时联网搜索问答'
|
||||
getDisplayName: () => i18n.global.t('chat.model.35Browsing'),
|
||||
getDescription: () => i18n.global.t('chat.model.35BrowsingDescription')
|
||||
};
|
||||
|
||||
export const CHAT_MODEL_GPT_4: IChatModel = {
|
||||
name: CHAT_MODEL_NAME_GPT_4,
|
||||
displayName: '4.0 - 标准',
|
||||
description: '4.0 标准模型,输入约 4 千汉字'
|
||||
getDisplayName: () => i18n.global.t('chat.model.4Standard'),
|
||||
getDescription: () => i18n.global.t('chat.model.4StandardDescription')
|
||||
};
|
||||
|
||||
export const CHAT_MODEL_GPT_4_BROWSING: IChatModel = {
|
||||
name: CHAT_MODEL_NAME_GPT_4_BROWSING,
|
||||
displayName: '4.0 - 联网',
|
||||
description: '4.0 联网模型,支持实时联网搜索问答'
|
||||
getDisplayName: () => i18n.global.t('chat.model.4Browsing'),
|
||||
getDescription: () => i18n.global.t('chat.model.4BrowsingDescription')
|
||||
};
|
||||
|
||||
export const CHAT_MODEL_GPT_4_VISION: IChatModel = {
|
||||
name: CHAT_MODEL_NAME_GPT_4_VISION,
|
||||
displayName: '4.0 - 视觉',
|
||||
description: '4.0 视觉模型,支持图片输入和识别'
|
||||
getDisplayName: () => i18n.global.t('chat.model.4Vision'),
|
||||
getDescription: () => i18n.global.t('chat.model.4VisionDescription')
|
||||
};
|
||||
Reference in new issue
Block a user