Skip to content

Commit

Permalink
💄 style: Update 01.AI models (#3586)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxjeru authored Aug 24, 2024
1 parent e4b56a2 commit c4a7f70
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions src/config/modelProviders/zeroone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@ const ZeroOne: ModelProviderCard = {
id: 'yi-large',
tokens: 32_768,
},
{
description:
'在 yi-large 模型的基础上支持并强化了工具调用的能力,适用于各种需要搭建 agent 或 workflow 的业务场景。',
displayName: 'Yi Large FC',
enabled: true,
functionCall: true,
id: 'yi-large-fc',
tokens: 32_768,
},
{
description: '中型尺寸模型升级微调,能力均衡,性价比高。深度优化指令遵循能力。',
displayName: 'Yi Medium',
Expand All @@ -32,6 +23,7 @@ const ZeroOne: ModelProviderCard = {
enabled: true,
id: 'yi-vision',
tokens: 16_384,
vision: true,
},
{
description: '200K 超长上下文窗口,提供长文本深度理解和生成能力。',
Expand All @@ -43,17 +35,26 @@ const ZeroOne: ModelProviderCard = {
{
description: '小而精悍,轻量极速模型。提供强化数学运算和代码编写能力。',
displayName: 'Yi Spark',
enabled: true,
id: 'yi-spark',
tokens: 16_384,
},
{
description:
'基于Yi-Large超强模型的高阶服务,结合检索与生成技术提供精准答案,支持客⼾私有知识库(请联系客服申请)。',
'基于 yi-large 超强模型的高阶服务,结合检索与生成技术提供精准答案,实时全网检索信息服务。',
displayName: 'Yi Large RAG',
enabled: true,
id: 'yi-large-rag',
tokens: 16_384,
},
{
description:
'在 yi-large 模型的基础上支持并强化了工具调用的能力,适用于各种需要搭建 agent 或 workflow 的业务场景。',
displayName: 'Yi Large FC',
enabled: true,
functionCall: true,
id: 'yi-large-fc',
tokens: 32_768,
},
{
description: '超高性价比、卓越性能。根据性能和推理速度、成本,进行平衡性高精度调优。',
displayName: 'Yi Large Turbo',
Expand All @@ -62,15 +63,13 @@ const ZeroOne: ModelProviderCard = {
tokens: 16_384,
},
{
description: '「兼容版本模型」文本推理能力增强。',
description: '初期版本,推荐使用 yi-large(新版本)',
displayName: 'Yi Large Preview',
enabled: true,
id: 'yi-large-preview',
tokens: 16_384,
},
],
checkModel: 'yi-large',
disableBrowserRequest: true,
id: 'zeroone',
name: '01.AI',
};
Expand Down

0 comments on commit c4a7f70

Please sign in to comment.