Skip to content

Commit

Permalink
💄 style: update taichu provider info & add taichu vision model (#4114)
Browse files Browse the repository at this point in the history
* Update providers.tsx

* Update index.ts

* Update taichu.ts
  • Loading branch information
LovelyGuYiMeng authored Sep 24, 2024
1 parent 1f37af2 commit e5331db
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/(main)/settings/llm/ProviderList/providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ export const useProviderList = (): ProviderItem[] => {
BaichuanProviderCard,
MinimaxProviderCard,
Ai360ProviderCard,
SiliconCloudProviderCard,
TaichuProviderCard,
SiliconCloudProviderCard,
],
[AzureProvider, OllamaProvider, OpenAIProvider, BedrockProvider, GithubProvider],
);
Expand Down
2 changes: 1 addition & 1 deletion src/config/modelProviders/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ export const DEFAULT_MODEL_PROVIDER_LIST = [
BaichuanProvider,
MinimaxProvider,
Ai360Provider,
SiliconCloudProvider,
TaichuProvider,
SiliconCloudProvider,
];

export const filterEnabledModels = (provider: ModelProviderCard) => {
Expand Down
15 changes: 12 additions & 3 deletions src/config/modelProviders/taichu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,22 @@ const Taichu: ModelProviderCard = {
chatModels: [
{
description:
'紫东太初语言大模型具备超强语言理解能力以及文本创作、知识问答、代码编程、数学计算、逻辑推理、情感分析、文本摘要等能力。创新性地将大数据预训练与多源丰富知识相结合,通过持续打磨算法技术,并不断吸收海量文本数据中词汇、结构、语法、语义等方面的新知识,实现模型效果不断进化。为用户提供更加便捷的信息和服务以及更为智能化的体验。',
displayName: 'Taichu-2.0',
'Taichu 2.0 基于海量高质数据训练,具有更强的文本理解、内容创作、对话问答等能力',
displayName: 'Taichu 2.0',
enabled: true,
functionCall: false,
functionCall: true,
id: 'taichu_llm',
tokens: 32_768,
},
{
description:
'Taichu 2.0V 融合了图像理解、知识迁移、逻辑归因等能力,在图文问答领域表现突出',
displayName: 'Taichu 2.0V',
enabled: true,
id: 'taichu_vqa',
tokens: 4096,
vision: true,
},
],
checkModel: 'taichu_llm',
description:
Expand Down

0 comments on commit e5331db

Please sign in to comment.