forked from lobehub/lobe-chat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/lobehub/lobe-chat
- Loading branch information
Showing
34 changed files
with
1,026 additions
and
226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,108 +1,74 @@ | ||
import { ModelProviderCard } from '@/types/llm'; | ||
|
||
// ref https://ai.360.cn/platform/docs/overview | ||
// ref: https://ai.360.cn/platform/docs/overview | ||
const Ai360: ModelProviderCard = { | ||
chatModels: [ | ||
{ | ||
description: | ||
'360GPT2 Pro 是 360 公司推出的高级自然语言处理模型,具备卓越的文本生成和理解能力,尤其在生成与创作领域表现出色,能够处理复杂的语言转换和角色演绎任务。', | ||
displayName: '360GPT2 Pro', | ||
enabled: true, | ||
functionCall: false, | ||
id: '360gpt2-pro', | ||
maxOutput: 7000, | ||
pricing: { | ||
currency: 'CNY', | ||
input: 5, | ||
output: 5, | ||
}, | ||
tokens: 8192, | ||
}, | ||
{ | ||
description: | ||
'360GPT Pro 作为 360 AI 模型系列的重要成员,以高效的文本处理能力满足多样化的自然语言应用场景,支持长文本理解和多轮对话等功能。', | ||
displayName: '360GPT Pro', | ||
functionCall: false, | ||
id: '360gpt-pro', | ||
maxOutput: 7000, | ||
pricing: { | ||
currency: 'CNY', | ||
input: 5, | ||
output: 5, | ||
}, | ||
tokens: 8192, | ||
}, | ||
{ | ||
displayName: '360GPT Pro Perf', | ||
functionCall: false, | ||
id: '360gpt-pro-perf', | ||
maxOutput: 7000, | ||
tokens: 8192, | ||
}, | ||
{ | ||
displayName: '360GPT Pro sc202401v3', | ||
functionCall: false, | ||
id: '360gpt-pro-sc202401v3', | ||
maxOutput: 2048, | ||
tokens: 4096, | ||
}, | ||
{ | ||
displayName: '360GPT Pro sc202401v2', | ||
functionCall: false, | ||
id: '360gpt-pro-sc202401v2', | ||
maxOutput: 2048, | ||
tokens: 4096, | ||
}, | ||
{ | ||
displayName: '360GPT Pro sc202401v1', | ||
functionCall: false, | ||
id: '360gpt-pro-sc202401v1', | ||
maxOutput: 2048, | ||
tokens: 4096, | ||
}, | ||
{ | ||
displayName: '360GPT Pro v2.0.3', | ||
functionCall: false, | ||
id: '360gpt-pro-v2.0.3', | ||
maxOutput: 2048, | ||
tokens: 4096, | ||
}, | ||
{ | ||
description: | ||
'360GPT Turbo 提供强大的计算和对话能力,具备出色的语义理解和生成效率,是企业和开发者理想的智能助理解决方案。', | ||
displayName: '360GPT Turbo', | ||
enabled: true, | ||
functionCall: false, | ||
id: '360gpt-turbo', | ||
maxOutput: 8192, | ||
maxOutput: 7000, | ||
pricing: { | ||
currency: 'CNY', | ||
input: 2, | ||
output: 2, | ||
}, | ||
tokens: 8192, | ||
}, | ||
{ | ||
description: | ||
'360GPT Turbo Responsibility 8K 强调语义安全和责任导向,专为对内容安全有高度要求的应用场景设计,确保用户体验的准确性与稳健性。', | ||
displayName: '360GPT Turbo Responsibility 8K', | ||
enabled: true, | ||
functionCall: false, | ||
id: '360gpt-turbo-responsibility-8k', | ||
maxOutput: 2048, | ||
tokens: 8192, | ||
}, | ||
{ | ||
displayName: '360GPT Turbo 32K Responsibility 240530', | ||
functionCall: false, | ||
id: '360gpt-turbo-32k-responsibility-240530', | ||
maxOutput: 32_000, | ||
tokens: 32_000, | ||
}, | ||
{ | ||
displayName: '360GPT Turbo 32K Responsibility 240516', | ||
functionCall: false, | ||
id: '360gpt-turbo-32k-responsibility-240516', | ||
maxOutput: 32_000, | ||
tokens: 32_000, | ||
}, | ||
{ | ||
displayName: '360GPT_S1_QIYUAN', | ||
functionCall: false, | ||
id: '360GPT_S1_QIYUAN', | ||
maxOutput: 2048, | ||
tokens: 4096, | ||
}, | ||
{ | ||
displayName: '360GPT_S2_V9', | ||
functionCall: false, | ||
id: '360GPT_S2_V9', | ||
maxOutput: 7000, | ||
pricing: { | ||
currency: 'CNY', | ||
input: 2, | ||
output: 2, | ||
}, | ||
tokens: 8192, | ||
}, | ||
], | ||
checkModel: '360gpt-turbo', | ||
description: | ||
'360 AI 是 360 公司推出的 AI 模型和服务平台,提供多种先进的自然语言处理模型,包括 360GPT2 Pro、360GPT Pro、360GPT Turbo 和 360GPT Turbo Responsibility 8K。这些模型结合了大规模参数和多模态能力,广泛应用于文本生成、语义理解、对话系统与代码生成等领域。通过灵活的定价策略,360 AI 满足多样化用户需求,支持开发者集成,推动智能化应用的革新和发展。', | ||
disableBrowserRequest: true, | ||
id: 'ai360', | ||
modelList: { showModelFetcher: true }, | ||
modelsUrl: 'https://ai.360.cn/platform/docs/overview', | ||
name: '360 AI', | ||
url: 'https://ai.360.com', | ||
}; | ||
|
||
export default Ai360; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,123 @@ | ||
import { ModelProviderCard } from '@/types/llm'; | ||
|
||
// ref https://docs.anthropic.com/claude/docs/models-overview#model-comparison | ||
// ref: https://docs.anthropic.com/en/docs/about-claude/models#model-names | ||
const Anthropic: ModelProviderCard = { | ||
chatModels: [ | ||
{ | ||
description: | ||
'Claude 3.5 Sonnet raises the industry bar for intelligence, outperforming competitor models and Claude 3 Opus on a wide range of evaluations, with the speed and cost of our mid-tier model, Claude 3 Sonnet.', | ||
'Claude 3.5 Sonnet 提供了超越 Opus 的能力和比 Sonnet 更快的速度,同时保持与 Sonnet 相同的价格。Sonnet 特别擅长编程、数据科学、视觉处理、代理任务。', | ||
displayName: 'Claude 3.5 Sonnet', | ||
enabled: true, | ||
functionCall: true, | ||
id: 'claude-3-5-sonnet-20240620', | ||
maxOutput: 8192, | ||
pricing: { | ||
cachedInput: 0.3, | ||
input: 3, | ||
output: 15, | ||
writeCacheInput: 3.75, | ||
}, | ||
releasedAt: '2024-06-20', | ||
tokens: 200_000, | ||
vision: true, | ||
}, | ||
{ | ||
description: | ||
'Ideal balance of intelligence and speed for enterprise workloads. Maximum utility at a lower price, dependable, balanced for scaled deployments', | ||
displayName: 'Claude 3 Sonnet', | ||
'Claude 3 Haiku 是 Anthropic 的最快且最紧凑的模型,旨在实现近乎即时的响应。它具有快速且准确的定向性能。', | ||
displayName: 'Claude 3 Haiku', | ||
enabled: true, | ||
functionCall: true, | ||
id: 'claude-3-sonnet-20240229', | ||
id: 'claude-3-haiku-20240307', | ||
maxOutput: 4096, | ||
pricing: { | ||
input: 0.25, | ||
output: 1.25, | ||
}, | ||
releasedAt: '2024-03-07', | ||
tokens: 200_000, | ||
vision: true, | ||
}, | ||
{ | ||
description: | ||
'Most powerful model for highly complex tasks. Top-level performance, intelligence, fluency, and understanding', | ||
displayName: 'Claude 3 Opus', | ||
'Claude 3 Sonnet 在智能和速度方面为企业工作负载提供了理想的平衡。它以更低的价格提供最大效用,可靠且适合大规模部署。', | ||
displayName: 'Claude 3 Sonnet', | ||
enabled: true, | ||
functionCall: true, | ||
id: 'claude-3-opus-20240229', | ||
id: 'claude-3-sonnet-20240229', | ||
maxOutput: 4096, | ||
pricing: { | ||
input: 3, | ||
output: 15, | ||
}, | ||
releasedAt: '2024-02-29', | ||
tokens: 200_000, | ||
vision: true, | ||
}, | ||
{ | ||
description: | ||
'Fastest and most compact model for near-instant responsiveness. Quick and accurate targeted performance', | ||
displayName: 'Claude 3 Haiku', | ||
'Claude 3 Opus 是 Anthropic 用于处理高度复杂任务的最强大模型。它在性能、智能、流畅性和理解力方面表现卓越。', | ||
displayName: 'Claude 3 Opus', | ||
enabled: true, | ||
functionCall: true, | ||
id: 'claude-3-haiku-20240307', | ||
id: 'claude-3-opus-20240229', | ||
maxOutput: 4096, | ||
pricing: { | ||
input: 15, | ||
output: 75, | ||
}, | ||
releasedAt: '2024-02-29', | ||
tokens: 200_000, | ||
vision: true, | ||
}, | ||
{ | ||
description: | ||
'Claude 2 为企业提供了关键能力的进步,包括业界领先的 200K token 上下文、大幅降低模型幻觉的发生率、系统提示以及一个新的测试功能:工具调用。', | ||
displayName: 'Claude 2.1', | ||
id: 'claude-2.1', | ||
maxOutput: 4096, | ||
pricing: { | ||
input: 8, | ||
output: 24, | ||
}, | ||
releasedAt: '2023-11-21', | ||
tokens: 200_000, | ||
}, | ||
{ | ||
description: | ||
'Claude 2 为企业提供了关键能力的进步,包括业界领先的 200K token 上下文、大幅降低模型幻觉的发生率、系统提示以及一个新的测试功能:工具调用。', | ||
displayName: 'Claude 2.0', | ||
id: 'claude-2.0', | ||
maxOutput: 4096, | ||
pricing: { | ||
input: 8, | ||
output: 24, | ||
}, | ||
releasedAt: '2023-07-11', | ||
tokens: 100_000, | ||
}, | ||
{ | ||
description: 'Anthropic 的模型用于低延迟、高吞吐量的文本生成,支持生成数百页的文本。', | ||
displayName: 'Claude Instant 1.2', | ||
id: 'claude-instant-1.2', | ||
maxOutput: 4096, | ||
pricing: { | ||
input: 0.8, | ||
output: 2.4, | ||
}, | ||
releasedAt: '2023-08-09', | ||
tokens: 100_000, | ||
}, | ||
], | ||
checkModel: 'claude-3-haiku-20240307', | ||
description: | ||
'Anthropic 是一家专注于人工智能研究和开发的公司,提供了一系列先进的语言模型,如 Claude 3.5 Sonnet、Claude 3 Sonnet、Claude 3 Opus 和 Claude 3 Haiku。这些模型在智能、速度和成本之间取得了理想的平衡,适用于从企业级工作负载到快速响应的各种应用场景。Claude 3.5 Sonnet 作为其最新模型,在多项评估中表现优异,同时保持了较高的性价比。', | ||
id: 'anthropic', | ||
modelsUrl: 'https://docs.anthropic.com/en/docs/about-claude/models#model-names', | ||
name: 'Anthropic', | ||
proxyUrl: { | ||
placeholder: 'https://api.anthropic.com', | ||
}, | ||
url: 'https://anthropic.com', | ||
}; | ||
|
||
export default Anthropic; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.