From c4a7f703b89e905920d9d674311efff48f7a071d Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sat, 24 Aug 2024 13:24:12 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20style:=20Update=2001.AI=20models?= =?UTF-8?q?=20(#3586)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/modelProviders/zeroone.ts | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/src/config/modelProviders/zeroone.ts b/src/config/modelProviders/zeroone.ts index 4f8d14cf5985..9d6da4edacd2 100644 --- a/src/config/modelProviders/zeroone.ts +++ b/src/config/modelProviders/zeroone.ts @@ -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', @@ -32,6 +23,7 @@ const ZeroOne: ModelProviderCard = { enabled: true, id: 'yi-vision', tokens: 16_384, + vision: true, }, { description: '200K 超长上下文窗口,提供长文本深度理解和生成能力。', @@ -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', @@ -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', };