@lobehub/chat 1.43.5 → 1.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +50 -0
- package/changelog/v1.json +18 -0
- package/docs/self-hosting/server-database/docker-compose.mdx +2 -2
- package/locales/ar/common.json +1 -0
- package/locales/ar/modelProvider.json +176 -0
- package/locales/ar/setting.json +1 -0
- package/locales/bg-BG/common.json +1 -0
- package/locales/bg-BG/modelProvider.json +176 -0
- package/locales/bg-BG/setting.json +1 -0
- package/locales/de-DE/common.json +1 -0
- package/locales/de-DE/modelProvider.json +176 -0
- package/locales/de-DE/setting.json +1 -0
- package/locales/en-US/common.json +1 -0
- package/locales/en-US/modelProvider.json +176 -0
- package/locales/en-US/setting.json +1 -0
- package/locales/es-ES/common.json +1 -0
- package/locales/es-ES/modelProvider.json +176 -0
- package/locales/es-ES/setting.json +1 -0
- package/locales/fa-IR/common.json +1 -0
- package/locales/fa-IR/modelProvider.json +176 -0
- package/locales/fa-IR/setting.json +1 -0
- package/locales/fr-FR/common.json +1 -0
- package/locales/fr-FR/modelProvider.json +176 -0
- package/locales/fr-FR/setting.json +1 -0
- package/locales/it-IT/common.json +1 -0
- package/locales/it-IT/modelProvider.json +176 -0
- package/locales/it-IT/setting.json +1 -0
- package/locales/ja-JP/common.json +1 -0
- package/locales/ja-JP/modelProvider.json +176 -0
- package/locales/ja-JP/setting.json +1 -0
- package/locales/ko-KR/common.json +1 -0
- package/locales/ko-KR/modelProvider.json +176 -0
- package/locales/ko-KR/setting.json +1 -0
- package/locales/nl-NL/common.json +1 -0
- package/locales/nl-NL/modelProvider.json +176 -0
- package/locales/nl-NL/setting.json +1 -0
- package/locales/pl-PL/common.json +1 -0
- package/locales/pl-PL/modelProvider.json +176 -0
- package/locales/pl-PL/setting.json +1 -0
- package/locales/pt-BR/common.json +1 -0
- package/locales/pt-BR/modelProvider.json +176 -0
- package/locales/pt-BR/setting.json +1 -0
- package/locales/ru-RU/common.json +1 -0
- package/locales/ru-RU/modelProvider.json +176 -0
- package/locales/ru-RU/setting.json +1 -0
- package/locales/tr-TR/common.json +1 -0
- package/locales/tr-TR/modelProvider.json +176 -0
- package/locales/tr-TR/setting.json +1 -0
- package/locales/vi-VN/common.json +1 -0
- package/locales/vi-VN/modelProvider.json +176 -0
- package/locales/vi-VN/setting.json +1 -0
- package/locales/zh-CN/common.json +1 -0
- package/locales/zh-CN/modelProvider.json +176 -0
- package/locales/zh-CN/setting.json +1 -0
- package/locales/zh-TW/common.json +1 -0
- package/locales/zh-TW/modelProvider.json +176 -0
- package/locales/zh-TW/setting.json +1 -0
- package/package.json +4 -4
- package/src/app/(main)/(mobile)/me/settings/features/Category.tsx +1 -1
- package/src/app/(main)/(mobile)/me/settings/features/useCategory.tsx +12 -5
- package/src/app/(main)/changelog/features/VersionTag.tsx +1 -2
- package/src/app/(main)/chat/(workspace)/@conversation/features/ChatList/ChatItem/Thread.tsx +1 -1
- package/src/app/(main)/chat/(workspace)/@conversation/features/ChatList/ChatItem/ThreadItem.tsx +1 -2
- package/src/app/(main)/chat/(workspace)/@conversation/features/ChatList/ChatItem/index.tsx +0 -1
- package/src/app/(main)/chat/(workspace)/@conversation/features/ChatList/WelcomeChatItem/InboxWelcome/AgentsSuggest.tsx +1 -1
- package/src/app/(main)/chat/(workspace)/@conversation/features/ChatList/WelcomeChatItem/InboxWelcome/QuestionSuggest.tsx +1 -1
- package/src/app/(main)/chat/(workspace)/@conversation/features/ZenModeToast/Toast.tsx +1 -1
- package/src/app/(main)/chat/(workspace)/@topic/features/TopicListContent/ThreadItem/index.tsx +0 -2
- package/src/app/(main)/chat/(workspace)/@topic/features/TopicListContent/TopicItem/index.tsx +0 -1
- package/src/app/(main)/chat/(workspace)/_layout/Desktop/ChatHeader/Tags.tsx +2 -3
- package/src/app/(main)/chat/(workspace)/_layout/Desktop/index.tsx +6 -1
- package/src/app/(main)/chat/@session/features/SessionListContent/CollapseGroup/index.tsx +1 -1
- package/src/app/(main)/chat/features/Migration/Start.tsx +1 -1
- package/src/app/(main)/discover/(detail)/assistant/[slug]/features/ConversationExample/TopicList.tsx +4 -3
- package/src/app/(main)/discover/(detail)/assistant/[slug]/features/Header.tsx +1 -1
- package/src/app/(main)/discover/(detail)/features/ShareButton.tsx +2 -1
- package/src/app/(main)/discover/(detail)/model/[...slugs]/features/Header.tsx +1 -1
- package/src/app/(main)/discover/(detail)/plugin/[slug]/features/Header.tsx +1 -1
- package/src/app/(main)/discover/(detail)/provider/[slug]/features/Header.tsx +1 -1
- package/src/app/(main)/discover/(list)/_layout/Desktop/Nav.tsx +0 -1
- package/src/app/(main)/discover/(list)/assistants/features/Card.tsx +1 -1
- package/src/app/(main)/discover/(list)/models/features/Card.tsx +1 -1
- package/src/app/(main)/discover/(list)/plugins/features/Card.tsx +1 -1
- package/src/app/(main)/discover/(list)/providers/features/Card.tsx +1 -1
- package/src/app/(main)/discover/components/GridLoadingCard.tsx +2 -1
- package/src/app/(main)/discover/components/Title.tsx +1 -1
- package/src/app/(main)/files/(content)/@menu/features/KnowledgeBase/EmptyStatus.tsx +1 -1
- package/src/app/(main)/files/(content)/@menu/features/KnowledgeBase/Item/index.tsx +0 -1
- package/src/app/(main)/files/(content)/@modal/(.)[id]/FullscreenModal.tsx +2 -2
- package/src/app/(main)/files/(content)/NotSupportClient.tsx +2 -2
- package/src/app/(main)/profile/_layout/Desktop/SideBar.tsx +1 -1
- package/src/app/(main)/profile/stats/features/ShareButton/Preview.tsx +5 -5
- package/src/app/(main)/repos/[id]/evals/components/Container.tsx +1 -1
- package/src/app/(main)/repos/[id]/evals/dataset/DatasetList/Item.tsx +0 -1
- package/src/app/(main)/settings/_layout/Desktop/SideBar.tsx +1 -1
- package/src/app/(main)/settings/about/features/ItemCard.tsx +3 -3
- package/src/app/(main)/settings/about/features/Version.tsx +1 -1
- package/src/app/(main)/settings/hooks/useCategory.tsx +22 -9
- package/src/app/(main)/settings/llm/components/ProviderConfig/index.tsx +2 -1
- package/src/app/(main)/settings/llm/components/ProviderModelList/ModelFetcher.tsx +0 -1
- package/src/app/(main)/settings/provider/(detail)/[id]/index.tsx +19 -0
- package/src/app/(main)/settings/provider/(detail)/[id]/page.tsx +95 -0
- package/src/app/(main)/settings/provider/(detail)/azure/page.tsx +119 -0
- package/src/app/(main)/settings/provider/(detail)/bedrock/page.tsx +91 -0
- package/src/app/(main)/settings/provider/(detail)/cloudflare/page.tsx +58 -0
- package/src/app/(main)/settings/provider/(detail)/github/page.tsx +67 -0
- package/src/app/(main)/settings/provider/(detail)/huggingface/page.tsx +67 -0
- package/src/app/(main)/settings/provider/(detail)/ollama/Checker.tsx +73 -0
- package/src/app/(main)/settings/provider/(detail)/ollama/page.tsx +34 -0
- package/src/app/(main)/settings/provider/(detail)/openai/page.tsx +23 -0
- package/src/app/(main)/settings/provider/(detail)/wenxin/page.tsx +61 -0
- package/src/app/(main)/settings/provider/(list)/Footer.tsx +36 -0
- package/src/app/(main)/settings/provider/(list)/ProviderGrid/Card.tsx +134 -0
- package/src/app/(main)/settings/provider/(list)/ProviderGrid/index.tsx +91 -0
- package/src/app/(main)/settings/provider/(list)/index.tsx +19 -0
- package/src/app/(main)/settings/provider/ProviderMenu/AddNew.tsx +28 -0
- package/src/app/(main)/settings/provider/ProviderMenu/All.tsx +29 -0
- package/src/app/(main)/settings/provider/ProviderMenu/Item.tsx +69 -0
- package/src/app/(main)/settings/provider/ProviderMenu/List.tsx +76 -0
- package/src/app/(main)/settings/provider/ProviderMenu/SearchResult.tsx +43 -0
- package/src/app/(main)/settings/provider/ProviderMenu/SkeletonList.tsx +60 -0
- package/src/app/(main)/settings/provider/ProviderMenu/SortProviderModal/GroupItem.tsx +30 -0
- package/src/app/(main)/settings/provider/ProviderMenu/SortProviderModal/index.tsx +91 -0
- package/src/app/(main)/settings/provider/ProviderMenu/index.tsx +80 -0
- package/src/app/(main)/settings/provider/_layout/Desktop.tsx +37 -0
- package/src/app/(main)/settings/provider/_layout/Mobile.tsx +14 -0
- package/src/app/(main)/settings/provider/const.ts +20 -0
- package/src/app/(main)/settings/provider/features/CreateNewProvider/index.tsx +146 -0
- package/src/app/(main)/settings/provider/features/ModelList/CreateNewModelModal/Form.tsx +105 -0
- package/src/app/(main)/settings/provider/features/ModelList/CreateNewModelModal/index.tsx +69 -0
- package/src/app/(main)/settings/provider/features/ModelList/DisabledModels.tsx +29 -0
- package/src/app/(main)/settings/provider/features/ModelList/EmptyModels.tsx +101 -0
- package/src/app/(main)/settings/provider/features/ModelList/EnabledModelList/index.tsx +85 -0
- package/src/app/(main)/settings/provider/features/ModelList/ModelConfigModal/Form.tsx +109 -0
- package/src/app/(main)/settings/provider/features/ModelList/ModelConfigModal/index.tsx +76 -0
- package/src/app/(main)/settings/provider/features/ModelList/ModelItem.tsx +346 -0
- package/src/app/(main)/settings/provider/features/ModelList/ModelTitle/Search.tsx +37 -0
- package/src/app/(main)/settings/provider/features/ModelList/ModelTitle/index.tsx +145 -0
- package/src/app/(main)/settings/provider/features/ModelList/SearchResult.tsx +67 -0
- package/src/app/(main)/settings/provider/features/ModelList/SkeletonList.tsx +63 -0
- package/src/app/(main)/settings/provider/features/ModelList/SortModelModal/ListItem.tsx +20 -0
- package/src/app/(main)/settings/provider/features/ModelList/SortModelModal/index.tsx +96 -0
- package/src/app/(main)/settings/provider/features/ModelList/index.tsx +59 -0
- package/src/app/(main)/settings/provider/features/ProviderConfig/Checker.tsx +120 -0
- package/src/app/(main)/settings/provider/features/ProviderConfig/SkeletonInput.tsx +5 -0
- package/src/app/(main)/settings/provider/features/ProviderConfig/UpdateProviderInfo/SettingModal.tsx +137 -0
- package/src/app/(main)/settings/provider/features/ProviderConfig/UpdateProviderInfo/index.tsx +49 -0
- package/src/app/(main)/settings/provider/features/ProviderConfig/index.tsx +343 -0
- package/src/app/(main)/settings/provider/layout.tsx +21 -0
- package/src/app/(main)/settings/provider/page.tsx +17 -0
- package/src/app/(main)/settings/provider/type.ts +5 -0
- package/src/app/(main)/settings/sync/features/DeviceInfo/Card.tsx +1 -1
- package/src/app/(main)/settings/sync/features/DeviceInfo/index.tsx +1 -1
- package/src/app/@modal/(.)changelog/modal/features/ReadDetail.tsx +1 -1
- package/src/app/@modal/(.)changelog/modal/features/VersionTag.tsx +1 -2
- package/src/app/@modal/(.)changelog/modal/layout.tsx +1 -1
- package/src/components/Cell/index.tsx +1 -1
- package/src/components/DragUpload/index.tsx +2 -3
- package/src/components/FeatureList/index.tsx +1 -1
- package/src/components/FileParsingStatus/EmbeddingStatus.tsx +1 -1
- package/src/components/FileParsingStatus/index.tsx +1 -1
- package/src/components/FunctionModal/style.tsx +2 -2
- package/src/components/GoBack/index.tsx +1 -2
- package/src/components/HotKeys/index.tsx +1 -1
- package/src/components/InstantSwitch/index.tsx +28 -0
- package/src/components/Menu/index.tsx +1 -1
- package/src/components/ModelSelect/index.tsx +2 -3
- package/src/components/Notification/index.tsx +2 -1
- package/src/components/StatisticCard/index.tsx +5 -6
- package/src/config/aiModels/ai21.ts +38 -0
- package/src/config/aiModels/ai360.ts +71 -0
- package/src/config/aiModels/anthropic.ts +152 -0
- package/src/config/aiModels/azure.ts +86 -0
- package/src/config/aiModels/baichuan.ts +107 -0
- package/src/config/aiModels/bedrock.ts +315 -0
- package/src/config/aiModels/cloudflare.ts +88 -0
- package/src/config/aiModels/deepseek.ts +27 -0
- package/src/config/aiModels/fireworksai.ts +232 -0
- package/src/config/aiModels/giteeai.ts +137 -0
- package/src/config/aiModels/github.ts +273 -0
- package/src/config/aiModels/google.ts +317 -0
- package/src/config/aiModels/groq.ts +202 -0
- package/src/config/aiModels/higress.ts +2828 -0
- package/src/config/aiModels/huggingface.ts +56 -0
- package/src/config/aiModels/hunyuan.ts +151 -0
- package/src/config/aiModels/index.ts +98 -0
- package/src/config/aiModels/internlm.ts +40 -0
- package/src/config/aiModels/minimax.ts +55 -0
- package/src/config/aiModels/mistral.ts +172 -0
- package/src/config/aiModels/moonshot.ts +44 -0
- package/src/config/aiModels/novita.ts +124 -0
- package/src/config/aiModels/ollama.ts +412 -0
- package/src/config/aiModels/openai.ts +537 -0
- package/src/config/aiModels/openrouter.ts +252 -0
- package/src/config/aiModels/perplexity.ts +67 -0
- package/src/config/aiModels/qwen.ts +302 -0
- package/src/config/aiModels/sensenova.ts +114 -0
- package/src/config/aiModels/siliconcloud.ts +679 -0
- package/src/config/aiModels/spark.ts +68 -0
- package/src/config/aiModels/stepfun.ts +153 -0
- package/src/config/aiModels/taichu.ts +19 -0
- package/src/config/aiModels/togetherai.ts +334 -0
- package/src/config/aiModels/upstage.ts +37 -0
- package/src/config/aiModels/wenxin.ts +171 -0
- package/src/config/aiModels/xai.ts +72 -0
- package/src/config/aiModels/zeroone.ts +156 -0
- package/src/config/aiModels/zhipu.ts +235 -0
- package/src/config/featureFlags/schema.ts +3 -0
- package/src/config/modelProviders/anthropic.ts +1 -0
- package/src/config/modelProviders/github.ts +0 -1
- package/src/config/modelProviders/google.ts +1 -0
- package/src/config/modelProviders/stepfun.ts +2 -0
- package/src/database/migrations/0013_add_ai_infra.sql +44 -0
- package/src/database/migrations/meta/0013_snapshot.json +3598 -0
- package/src/database/migrations/meta/_journal.json +7 -0
- package/src/database/repositories/aiInfra/index.ts +115 -0
- package/src/database/schemas/aiInfra.ts +69 -0
- package/src/database/schemas/index.ts +1 -0
- package/src/database/server/models/__tests__/aiModel.test.ts +318 -0
- package/src/database/server/models/__tests__/aiProvider.test.ts +373 -0
- package/src/database/server/models/aiModel.ts +250 -0
- package/src/database/server/models/aiProvider.ts +234 -0
- package/src/features/AgentSetting/AgentPrompt/index.tsx +2 -2
- package/src/features/ChatInput/ActionBar/Token/TokenTag.tsx +2 -1
- package/src/features/ChatInput/ActionBar/Tools/index.tsx +2 -3
- package/src/features/ChatInput/ActionBar/Upload/ServerMode.tsx +2 -3
- package/src/features/ChatInput/Desktop/FilePreview/FileItem/index.tsx +3 -2
- package/src/features/ChatInput/Desktop/FilePreview/FileList.tsx +2 -2
- package/src/features/ChatInput/Mobile/Files/FileItem/File.tsx +2 -2
- package/src/features/ChatInput/Mobile/InputArea/index.tsx +1 -1
- package/src/features/ChatInput/STT/common.tsx +1 -1
- package/src/features/Conversation/Error/style.tsx +2 -2
- package/src/features/Conversation/Messages/Assistant/FileChunks/Item/style.ts +2 -2
- package/src/features/Conversation/Messages/Assistant/FileChunks/index.tsx +1 -1
- package/src/features/Conversation/Messages/Assistant/ToolCallItem/Inspector/style.ts +2 -3
- package/src/features/Conversation/Messages/Assistant/ToolCallItem/style.ts +2 -3
- package/src/features/Conversation/Messages/User/FileListViewer/Item.tsx +0 -1
- package/src/features/Conversation/components/BackBottom/style.ts +2 -2
- package/src/features/Conversation/components/MarkdownElements/LobeArtifact/Render/Icon.tsx +2 -3
- package/src/features/Conversation/components/MarkdownElements/LobeArtifact/Render/index.tsx +3 -3
- package/src/features/Conversation/components/MarkdownElements/LobeThinking/Render.tsx +1 -1
- package/src/features/Conversation/components/OTPInput.tsx +2 -2
- package/src/features/DataImporter/Loading.tsx +1 -1
- package/src/features/FileManager/FileList/EmptyStatus.tsx +1 -1
- package/src/features/FileManager/FileList/index.tsx +1 -1
- package/src/features/FileManager/UploadDock/Item.tsx +1 -1
- package/src/features/FileManager/UploadDock/index.tsx +4 -4
- package/src/features/FileViewer/NotSupport/index.tsx +1 -1
- package/src/features/FileViewer/Renderer/MSDoc/index.tsx +0 -1
- package/src/features/FileViewer/Renderer/TXT/index.tsx +1 -1
- package/src/features/InitClientDB/EnableModal.tsx +1 -1
- package/src/features/InitClientDB/ErrorResult.tsx +1 -1
- package/src/features/InitClientDB/InitIndicator.tsx +1 -1
- package/src/features/KnowledgeBaseModal/AddFilesToKnowledgeBase/SelectForm.tsx +0 -1
- package/src/features/ModelSwitchPanel/index.tsx +2 -2
- package/src/features/PluginsUI/Render/Loading.tsx +0 -1
- package/src/features/Portal/Home/Body/Files/FileList/Item.tsx +1 -1
- package/src/features/Portal/Home/Body/Plugins/ArtifactList/Item/style.ts +1 -2
- package/src/features/Setting/SettingContainer.tsx +8 -1
- package/src/features/ShareModal/ShareImage/style.ts +2 -2
- package/src/features/ShareModal/style.ts +2 -2
- package/src/features/User/DataStatistics.tsx +1 -1
- package/src/hooks/useEnabledChatModels.ts +10 -1
- package/src/hooks/useModelSupportToolUse.ts +15 -0
- package/src/hooks/useModelSupportVision.ts +15 -0
- package/src/layout/AuthProvider/Clerk/useAppearance.ts +3 -3
- package/src/layout/GlobalProvider/AppTheme.tsx +1 -1
- package/src/layout/GlobalProvider/StoreInitialization.tsx +5 -0
- package/src/locales/default/common.ts +1 -0
- package/src/locales/default/modelProvider.ts +178 -0
- package/src/locales/default/setting.ts +1 -0
- package/src/server/modules/KeyVaultsEncrypt/index.ts +1 -1
- package/src/server/routers/lambda/aiModel.ts +128 -0
- package/src/server/routers/lambda/aiProvider.ts +127 -0
- package/src/server/routers/lambda/index.ts +4 -0
- package/src/services/__tests__/_auth.test.ts +16 -49
- package/src/services/__tests__/chat.test.ts +2 -0
- package/src/services/_auth.ts +42 -25
- package/src/services/aiModel.ts +52 -0
- package/src/services/aiProvider.ts +47 -0
- package/src/services/chat.ts +62 -18
- package/src/store/aiInfra/index.ts +2 -0
- package/src/store/aiInfra/initialState.ts +11 -0
- package/src/store/aiInfra/selectors.ts +2 -0
- package/src/store/aiInfra/slices/aiModel/action.ts +146 -0
- package/src/store/aiInfra/slices/aiModel/index.ts +3 -0
- package/src/store/aiInfra/slices/aiModel/initialState.ts +14 -0
- package/src/store/aiInfra/slices/aiModel/selectors.ts +63 -0
- package/src/store/aiInfra/slices/aiProvider/action.ts +208 -0
- package/src/store/aiInfra/slices/aiProvider/index.ts +3 -0
- package/src/store/aiInfra/slices/aiProvider/initialState.ts +32 -0
- package/src/store/aiInfra/slices/aiProvider/selectors.ts +99 -0
- package/src/store/aiInfra/store.ts +25 -0
- package/src/store/global/initialState.ts +1 -0
- package/src/store/serverConfig/selectors.test.ts +1 -0
- package/src/styles/global.ts +1 -1
- package/src/types/aiModel.ts +32 -6
- package/src/types/aiProvider.ts +11 -4
- package/src/utils/fetch/fetchSSE.ts +3 -1
@@ -0,0 +1,137 @@
|
|
1
|
+
import { AIChatModelCard } from '@/types/aiModel';
|
2
|
+
|
3
|
+
const giteeaiChatModels: AIChatModelCard[] = [
|
4
|
+
{
|
5
|
+
abilities: {
|
6
|
+
functionCall: true,
|
7
|
+
},
|
8
|
+
contextWindowTokens: 16_000,
|
9
|
+
description:
|
10
|
+
'Qwen2.5-72B-Instruct 支持 16k 上下文, 生成长文本超过 8K 。支持 function call 与外部系统无缝交互,极大提升了灵活性和扩展性。模型知识明显增加,并且大大提高了编码和数学能力, 多语言支持超过 29 种',
|
11
|
+
displayName: 'Qwen2.5 72B Instruct',
|
12
|
+
enabled: true,
|
13
|
+
id: 'Qwen2.5-72B-Instruct',
|
14
|
+
type: 'chat',
|
15
|
+
},
|
16
|
+
{
|
17
|
+
description:
|
18
|
+
'Qwen2.5-Coder-32B-Instruct 是一款专为代码生成、代码理解和高效开发场景设计的大型语言模型,采用了业界领先的32B参数规模,能够满足多样化的编程需求。',
|
19
|
+
displayName: 'Qwen2.5 Coder 32B Instruct',
|
20
|
+
enabled: true,
|
21
|
+
id: 'Qwen2.5-Coder-32B-Instruct',
|
22
|
+
type: 'chat',
|
23
|
+
},
|
24
|
+
{
|
25
|
+
abilities: {
|
26
|
+
functionCall: true,
|
27
|
+
},
|
28
|
+
description:
|
29
|
+
'Qwen2.5-7B-Instruct 是一款 70 亿参数的大语言模型,支持 function call 与外部系统无缝交互,极大提升了灵活性和扩展性。优化中文和多语言场景,支持智能问答、内容生成等应用。',
|
30
|
+
displayName: 'Qwen2.5 7B Instruct',
|
31
|
+
enabled: true,
|
32
|
+
id: 'Qwen2.5-7B-Instruct',
|
33
|
+
type: 'chat',
|
34
|
+
},
|
35
|
+
{
|
36
|
+
description:
|
37
|
+
'Qwen2.5-32B-Instruct 是一款 320 亿参数的大语言模型,性能表现均衡,优化中文和多语言场景,支持智能问答、内容生成等应用。',
|
38
|
+
displayName: 'Qwen2.5 32B Instruct',
|
39
|
+
enabled: true,
|
40
|
+
id: 'Qwen2.5-32B-Instruct',
|
41
|
+
type: 'chat',
|
42
|
+
},
|
43
|
+
{
|
44
|
+
description:
|
45
|
+
'Qwen2.5-14B-Instruct 是一款 140 亿参数的大语言模型,性能表现优秀,优化中文和多语言场景,支持智能问答、内容生成等应用。',
|
46
|
+
displayName: 'Qwen2.5 14B Instruct',
|
47
|
+
enabled: true,
|
48
|
+
id: 'Qwen2.5-14B-Instruct',
|
49
|
+
type: 'chat',
|
50
|
+
},
|
51
|
+
{
|
52
|
+
contextWindowTokens: 6000,
|
53
|
+
description:
|
54
|
+
'Qwen2 是 Qwen 模型的最新系列,支持 128k 上下文,对比当前最优的开源模型,Qwen2-72B 在自然语言理解、知识、代码、数学及多语言等多项能力上均显著超越当前领先的模型。',
|
55
|
+
displayName: 'Qwen2 72B Instruct',
|
56
|
+
id: 'Qwen2-72B-Instruct',
|
57
|
+
type: 'chat',
|
58
|
+
},
|
59
|
+
{
|
60
|
+
contextWindowTokens: 32_000,
|
61
|
+
description:
|
62
|
+
'Qwen2 是 Qwen 模型的最新系列,能够超越同等规模的最优开源模型甚至更大规模的模型,Qwen2 7B 在多个评测上取得显著的优势,尤其是代码及中文理解上。',
|
63
|
+
displayName: 'Qwen2 7B Instruct',
|
64
|
+
id: 'Qwen2-7B-Instruct',
|
65
|
+
type: 'chat',
|
66
|
+
},
|
67
|
+
{
|
68
|
+
abilities: {
|
69
|
+
vision: true,
|
70
|
+
},
|
71
|
+
description:
|
72
|
+
'InternVL2-8B 是一款强大的视觉语言模型,支持图像与文本的多模态处理,能够精确识别图像内容并生成相关描述或回答。',
|
73
|
+
displayName: 'InternVL2 8B',
|
74
|
+
enabled: true,
|
75
|
+
id: 'InternVL2-8B',
|
76
|
+
type: 'chat',
|
77
|
+
},
|
78
|
+
{
|
79
|
+
abilities: {
|
80
|
+
vision: true,
|
81
|
+
},
|
82
|
+
description:
|
83
|
+
'InternVL2.5-26B 是一款强大的视觉语言模型,支持图像与文本的多模态处理,能够精确识别图像内容并生成相关描述或回答。',
|
84
|
+
displayName: 'InternVL2.5 26B',
|
85
|
+
enabled: true,
|
86
|
+
id: 'InternVL2.5-26B',
|
87
|
+
type: 'chat',
|
88
|
+
},
|
89
|
+
{
|
90
|
+
contextWindowTokens: 32_000,
|
91
|
+
description:
|
92
|
+
'GLM-4-9B-Chat 在语义、数学、推理、代码和知识等多方面均表现出较高性能。还具备网页浏览、代码执行、自定义工具调用和长文本推理。 支持包括日语,韩语,德语在内的 26 种语言。',
|
93
|
+
displayName: 'GLM4 9B Chat',
|
94
|
+
enabled: true,
|
95
|
+
id: 'glm-4-9b-chat',
|
96
|
+
type: 'chat',
|
97
|
+
},
|
98
|
+
{
|
99
|
+
contextWindowTokens: 4000,
|
100
|
+
description:
|
101
|
+
'Yi-1.5-34B 在保持原系列模型优秀的通用语言能力的前提下,通过增量训练 5 千亿高质量 token,大幅提高了数学逻辑、代码能力。',
|
102
|
+
displayName: 'Yi 34B Chat',
|
103
|
+
enabled: true,
|
104
|
+
id: 'Yi-34B-Chat',
|
105
|
+
type: 'chat',
|
106
|
+
},
|
107
|
+
{
|
108
|
+
contextWindowTokens: 8000,
|
109
|
+
description:
|
110
|
+
'DeepSeek Coder 33B 是一个代码语言模型, 基于 2 万亿数据训练而成,其中 87% 为代码, 13% 为中英文语言。模型引入 16K 窗口大小和填空任务,提供项目级别的代码补全和片段填充功能。',
|
111
|
+
displayName: 'DeepSeek Coder 33B Instruct',
|
112
|
+
enabled: true,
|
113
|
+
id: 'deepseek-coder-33B-instruct',
|
114
|
+
type: 'chat',
|
115
|
+
},
|
116
|
+
{
|
117
|
+
description:
|
118
|
+
'代码小浣熊是基于商汤大语言模型的软件智能研发助手,覆盖软件需求分析、架构设计、代码编写、软件测试等环节,满足用户代码编写、编程学习等各类需求。代码小浣熊支持 Python、Java、JavaScript、C++、Go、SQL 等 90+主流编程语言和 VS Code、IntelliJ IDEA 等主流 IDE。在实际应用中,代码小浣熊可帮助开发者提升编程效率超 50%。',
|
119
|
+
displayName: 'code raccoon v1',
|
120
|
+
enabled: true,
|
121
|
+
id: 'code-raccoon-v1',
|
122
|
+
type: 'chat',
|
123
|
+
},
|
124
|
+
{
|
125
|
+
contextWindowTokens: 40_000,
|
126
|
+
description:
|
127
|
+
'CodeGeeX4-ALL-9B 是一个多语言代码生成模型,支持包括代码补全和生成、代码解释器、网络搜索、函数调用、仓库级代码问答在内的全面功能,覆盖软件开发的各种场景。是参数少于 10B 的顶尖代码生成模型。',
|
128
|
+
displayName: 'CodeGeeX4 All 9B',
|
129
|
+
enabled: true,
|
130
|
+
id: 'codegeex4-all-9b',
|
131
|
+
type: 'chat',
|
132
|
+
},
|
133
|
+
];
|
134
|
+
|
135
|
+
export const allModels = [...giteeaiChatModels];
|
136
|
+
|
137
|
+
export default allModels;
|
@@ -0,0 +1,273 @@
|
|
1
|
+
import { AIChatModelCard } from '@/types/aiModel';
|
2
|
+
|
3
|
+
const githubChatModels: AIChatModelCard[] = [
|
4
|
+
{
|
5
|
+
abilities: {
|
6
|
+
functionCall: false,
|
7
|
+
vision: true,
|
8
|
+
},
|
9
|
+
contextWindowTokens: 200_000,
|
10
|
+
description:
|
11
|
+
'专注于高级推理和解决复杂问题,包括数学和科学任务。非常适合需要深入上下文理解和代理工作流程的应用程序。',
|
12
|
+
displayName: 'OpenAI o1',
|
13
|
+
enabled: true,
|
14
|
+
id: 'o1',
|
15
|
+
maxOutput: 100_000,
|
16
|
+
type: 'chat',
|
17
|
+
},
|
18
|
+
{
|
19
|
+
abilities: {
|
20
|
+
functionCall: false,
|
21
|
+
vision: true,
|
22
|
+
},
|
23
|
+
contextWindowTokens: 128_000,
|
24
|
+
description: '比 o1-preview 更小、更快,成本低80%,在代码生成和小上下文操作方面表现良好。',
|
25
|
+
displayName: 'OpenAI o1-mini',
|
26
|
+
enabled: true,
|
27
|
+
id: 'o1-mini',
|
28
|
+
maxOutput: 65_536,
|
29
|
+
type: 'chat',
|
30
|
+
},
|
31
|
+
{
|
32
|
+
abilities: {
|
33
|
+
functionCall: false,
|
34
|
+
vision: true,
|
35
|
+
},
|
36
|
+
contextWindowTokens: 128_000,
|
37
|
+
description:
|
38
|
+
'专注于高级推理和解决复杂问题,包括数学和科学任务。非常适合需要深度上下文理解和自主工作流程的应用。',
|
39
|
+
displayName: 'OpenAI o1-preview',
|
40
|
+
enabled: true,
|
41
|
+
id: 'o1-preview',
|
42
|
+
maxOutput: 32_768,
|
43
|
+
type: 'chat',
|
44
|
+
},
|
45
|
+
{
|
46
|
+
abilities: {
|
47
|
+
functionCall: true,
|
48
|
+
vision: true,
|
49
|
+
},
|
50
|
+
contextWindowTokens: 128_000,
|
51
|
+
description: '一种经济高效的AI解决方案,适用于多种文本和图像任务。',
|
52
|
+
displayName: 'OpenAI GPT-4o mini',
|
53
|
+
enabled: true,
|
54
|
+
id: 'gpt-4o-mini',
|
55
|
+
maxOutput: 4096,
|
56
|
+
type: 'chat',
|
57
|
+
},
|
58
|
+
{
|
59
|
+
abilities: {
|
60
|
+
functionCall: true,
|
61
|
+
vision: true,
|
62
|
+
},
|
63
|
+
contextWindowTokens: 128_000,
|
64
|
+
description: 'OpenAI GPT-4系列中最先进的多模态模型,可以处理文本和图像输入。',
|
65
|
+
displayName: 'OpenAI GPT-4o',
|
66
|
+
enabled: true,
|
67
|
+
id: 'gpt-4o',
|
68
|
+
maxOutput: 4096,
|
69
|
+
type: 'chat',
|
70
|
+
},
|
71
|
+
{
|
72
|
+
abilities: {
|
73
|
+
functionCall: true,
|
74
|
+
},
|
75
|
+
contextWindowTokens: 262_144,
|
76
|
+
description:
|
77
|
+
'一个52B参数(12B活跃)的多语言模型,提供256K长上下文窗口、函数调用、结构化输出和基于事实的生成。',
|
78
|
+
displayName: 'AI21 Jamba 1.5 Mini',
|
79
|
+
id: 'ai21-jamba-1.5-mini',
|
80
|
+
maxOutput: 4096,
|
81
|
+
type: 'chat',
|
82
|
+
},
|
83
|
+
{
|
84
|
+
abilities: {
|
85
|
+
functionCall: true,
|
86
|
+
},
|
87
|
+
contextWindowTokens: 262_144,
|
88
|
+
description:
|
89
|
+
'一个398B参数(94B活跃)的多语言模型,提供256K长上下文窗口、函数调用、结构化输出和基于事实的生成。',
|
90
|
+
displayName: 'AI21 Jamba 1.5 Large',
|
91
|
+
id: 'ai21-jamba-1.5-large',
|
92
|
+
maxOutput: 4096,
|
93
|
+
type: 'chat',
|
94
|
+
},
|
95
|
+
{
|
96
|
+
contextWindowTokens: 131_072,
|
97
|
+
description: 'Command R是一个可扩展的生成模型,旨在针对RAG和工具使用,使企业能够实现生产级AI。',
|
98
|
+
displayName: 'Cohere Command R',
|
99
|
+
id: 'cohere-command-r',
|
100
|
+
maxOutput: 4096,
|
101
|
+
type: 'chat',
|
102
|
+
},
|
103
|
+
{
|
104
|
+
contextWindowTokens: 131_072,
|
105
|
+
description: 'Command R+是一个最先进的RAG优化模型,旨在应对企业级工作负载。',
|
106
|
+
displayName: 'Cohere Command R+',
|
107
|
+
id: 'cohere-command-r-plus',
|
108
|
+
maxOutput: 4096,
|
109
|
+
type: 'chat',
|
110
|
+
},
|
111
|
+
{
|
112
|
+
contextWindowTokens: 131_072,
|
113
|
+
description:
|
114
|
+
'Mistral Nemo是一种尖端的语言模型(LLM),在其尺寸类别中拥有最先进的推理、世界知识和编码能力。',
|
115
|
+
displayName: 'Mistral Nemo',
|
116
|
+
id: 'mistral-nemo',
|
117
|
+
maxOutput: 4096,
|
118
|
+
type: 'chat',
|
119
|
+
},
|
120
|
+
{
|
121
|
+
contextWindowTokens: 131_072,
|
122
|
+
description: 'Mistral Small可用于任何需要高效率和低延迟的基于语言的任务。',
|
123
|
+
displayName: 'Mistral Small',
|
124
|
+
id: 'mistral-small',
|
125
|
+
maxOutput: 4096,
|
126
|
+
type: 'chat',
|
127
|
+
},
|
128
|
+
{
|
129
|
+
contextWindowTokens: 131_072,
|
130
|
+
description:
|
131
|
+
'Mistral的旗舰模型,适合需要大规模推理能力或高度专业化的复杂任务(合成文本生成、代码生成、RAG或代理)。',
|
132
|
+
displayName: 'Mistral Large',
|
133
|
+
id: 'mistral-large',
|
134
|
+
maxOutput: 4096,
|
135
|
+
type: 'chat',
|
136
|
+
},
|
137
|
+
{
|
138
|
+
abilities: {
|
139
|
+
vision: true,
|
140
|
+
},
|
141
|
+
contextWindowTokens: 131_072,
|
142
|
+
description: '在高分辨率图像上表现出色的图像推理能力,适用于视觉理解应用。',
|
143
|
+
displayName: 'Llama 3.2 11B Vision',
|
144
|
+
id: 'llama-3.2-11b-vision-instruct',
|
145
|
+
maxOutput: 4096,
|
146
|
+
type: 'chat',
|
147
|
+
},
|
148
|
+
{
|
149
|
+
abilities: {
|
150
|
+
vision: true,
|
151
|
+
},
|
152
|
+
contextWindowTokens: 131_072,
|
153
|
+
description: '适用于视觉理解代理应用的高级图像推理能力。',
|
154
|
+
displayName: 'Llama 3.2 90B Vision',
|
155
|
+
id: 'llama-3.2-90b-vision-instruct',
|
156
|
+
maxOutput: 4096,
|
157
|
+
type: 'chat',
|
158
|
+
},
|
159
|
+
{
|
160
|
+
contextWindowTokens: 131_072,
|
161
|
+
description:
|
162
|
+
'Llama 3.1指令调优的文本模型,针对多语言对话用例进行了优化,在许多可用的开源和封闭聊天模型中,在常见行业基准上表现优异。',
|
163
|
+
displayName: 'Meta Llama 3.1 8B',
|
164
|
+
id: 'meta-llama-3.1-8b-instruct',
|
165
|
+
maxOutput: 4096,
|
166
|
+
type: 'chat',
|
167
|
+
},
|
168
|
+
{
|
169
|
+
contextWindowTokens: 131_072,
|
170
|
+
description:
|
171
|
+
'Llama 3.1指令调优的文本模型,针对多语言对话用例进行了优化,在许多可用的开源和封闭聊天模型中,在常见行业基准上表现优异。',
|
172
|
+
displayName: 'Meta Llama 3.1 70B',
|
173
|
+
id: 'meta-llama-3.1-70b-instruct',
|
174
|
+
maxOutput: 4096,
|
175
|
+
type: 'chat',
|
176
|
+
},
|
177
|
+
{
|
178
|
+
contextWindowTokens: 131_072,
|
179
|
+
description:
|
180
|
+
'Llama 3.1指令调优的文本模型,针对多语言对话用例进行了优化,在许多可用的开源和封闭聊天模型中,在常见行业基准上表现优异。',
|
181
|
+
displayName: 'Meta Llama 3.1 405B',
|
182
|
+
id: 'meta-llama-3.1-405b-instruct',
|
183
|
+
maxOutput: 4096,
|
184
|
+
type: 'chat',
|
185
|
+
},
|
186
|
+
{
|
187
|
+
contextWindowTokens: 8192,
|
188
|
+
description: '一个多功能的80亿参数模型,针对对话和文本生成任务进行了优化。',
|
189
|
+
displayName: 'Meta Llama 3 8B',
|
190
|
+
id: 'meta-llama-3-8b-instruct',
|
191
|
+
maxOutput: 4096,
|
192
|
+
type: 'chat',
|
193
|
+
},
|
194
|
+
{
|
195
|
+
contextWindowTokens: 8192,
|
196
|
+
description: '一个强大的700亿参数模型,在推理、编码和广泛的语言应用方面表现出色。',
|
197
|
+
displayName: 'Meta Llama 3 70B',
|
198
|
+
id: 'meta-llama-3-70b-instruct',
|
199
|
+
maxOutput: 4096,
|
200
|
+
type: 'chat',
|
201
|
+
},
|
202
|
+
{
|
203
|
+
contextWindowTokens: 131_072,
|
204
|
+
description: 'Phi-3-mini模型的更新版。',
|
205
|
+
displayName: 'Phi-3.5-mini 128K',
|
206
|
+
id: 'Phi-3.5-mini-instruct',
|
207
|
+
maxOutput: 4096,
|
208
|
+
type: 'chat',
|
209
|
+
},
|
210
|
+
{
|
211
|
+
abilities: {
|
212
|
+
vision: true,
|
213
|
+
},
|
214
|
+
contextWindowTokens: 131_072,
|
215
|
+
description: 'Phi-3-vision模型的更新版。',
|
216
|
+
displayName: 'Phi-3.5-vision 128K',
|
217
|
+
id: 'Phi-3.5-vision-instrust',
|
218
|
+
maxOutput: 4096,
|
219
|
+
type: 'chat',
|
220
|
+
},
|
221
|
+
{
|
222
|
+
contextWindowTokens: 4096,
|
223
|
+
description: 'Phi-3家族中最小的成员,针对质量和低延迟进行了优化。',
|
224
|
+
displayName: 'Phi-3-mini 4K',
|
225
|
+
id: 'Phi-3-mini-4k-instruct',
|
226
|
+
maxOutput: 4096,
|
227
|
+
type: 'chat',
|
228
|
+
},
|
229
|
+
{
|
230
|
+
contextWindowTokens: 131_072,
|
231
|
+
description: '相同的Phi-3-mini模型,但具有更大的上下文大小,适用于RAG或少量提示。',
|
232
|
+
displayName: 'Phi-3-mini 128K',
|
233
|
+
id: 'Phi-3-mini-128k-instruct',
|
234
|
+
maxOutput: 4096,
|
235
|
+
type: 'chat',
|
236
|
+
},
|
237
|
+
{
|
238
|
+
contextWindowTokens: 8192,
|
239
|
+
description: '一个70亿参数模型,质量优于Phi-3-mini,重点关注高质量、推理密集型数据。',
|
240
|
+
displayName: 'Phi-3-small 8K',
|
241
|
+
id: 'Phi-3-small-8k-instruct',
|
242
|
+
maxOutput: 4096,
|
243
|
+
type: 'chat',
|
244
|
+
},
|
245
|
+
{
|
246
|
+
contextWindowTokens: 131_072,
|
247
|
+
description: '相同的Phi-3-small模型,但具有更大的上下文大小,适用于RAG或少量提示。',
|
248
|
+
displayName: 'Phi-3-small 128K',
|
249
|
+
id: 'Phi-3-small-128k-instruct',
|
250
|
+
maxOutput: 4096,
|
251
|
+
type: 'chat',
|
252
|
+
},
|
253
|
+
{
|
254
|
+
contextWindowTokens: 4096,
|
255
|
+
description: '一个140亿参数模型,质量优于Phi-3-mini,重点关注高质量、推理密集型数据。',
|
256
|
+
displayName: 'Phi-3-medium 4K',
|
257
|
+
id: 'Phi-3-medium-4k-instruct',
|
258
|
+
maxOutput: 4096,
|
259
|
+
type: 'chat',
|
260
|
+
},
|
261
|
+
{
|
262
|
+
contextWindowTokens: 131_072,
|
263
|
+
description: '相同的Phi-3-medium模型,但具有更大的上下文大小,适用于RAG或少量提示。',
|
264
|
+
displayName: 'Phi-3-medium 128K',
|
265
|
+
id: 'Phi-3-medium-128k-instruct',
|
266
|
+
maxOutput: 4096,
|
267
|
+
type: 'chat',
|
268
|
+
},
|
269
|
+
];
|
270
|
+
|
271
|
+
export const allModels = [...githubChatModels];
|
272
|
+
|
273
|
+
export default allModels;
|