@lobehub/chat 1.16.7 → 1.16.9
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.
Potentially problematic release.
This version of @lobehub/chat might be problematic. Click here for more details.
- package/CHANGELOG.md +50 -0
- package/README.md +8 -8
- package/README.zh-CN.md +8 -8
- package/package.json +1 -1
- package/src/config/modelProviders/ai360.ts +34 -68
- package/src/config/modelProviders/anthropic.ts +57 -11
- package/src/config/modelProviders/azure.ts +12 -3
- package/src/config/modelProviders/baichuan.ts +33 -12
- package/src/config/modelProviders/bedrock.ts +88 -25
- package/src/config/modelProviders/deepseek.ts +14 -3
- package/src/config/modelProviders/fireworksai.ts +37 -5
- package/src/config/modelProviders/google.ts +69 -15
- package/src/config/modelProviders/groq.ts +55 -5
- package/src/config/modelProviders/minimax.ts +10 -6
- package/src/config/modelProviders/mistral.ts +19 -3
- package/src/config/modelProviders/moonshot.ts +11 -1
- package/src/config/modelProviders/novita.ts +24 -0
- package/src/config/modelProviders/ollama.ts +58 -1
- package/src/config/modelProviders/openai.ts +153 -18
- package/src/config/modelProviders/openrouter.ts +21 -1
- package/src/config/modelProviders/perplexity.ts +19 -3
- package/src/config/modelProviders/qwen.ts +11 -8
- package/src/config/modelProviders/siliconcloud.ts +34 -1
- package/src/config/modelProviders/spark.ts +16 -7
- package/src/config/modelProviders/stepfun.ts +13 -1
- package/src/config/modelProviders/taichu.ts +7 -2
- package/src/config/modelProviders/togetherai.ts +38 -2
- package/src/config/modelProviders/upstage.ts +11 -4
- package/src/config/modelProviders/zeroone.ts +5 -1
- package/src/config/modelProviders/zhipu.ts +20 -18
- package/src/const/discover.ts +1 -0
- package/src/libs/agent-runtime/openai/__snapshots__/index.test.ts.snap +69 -6
- package/src/migrations/FromV3ToV4/fixtures/ollama-output-v4.json +1 -0
- package/src/server/routers/edge/config/__snapshots__/index.test.ts.snap +56 -4
- package/src/server/routers/edge/config/index.test.ts +3 -7
- package/src/store/user/slices/modelList/__snapshots__/action.test.ts.snap +12 -0
- package/src/store/user/slices/modelList/action.test.ts +3 -7
- package/src/types/llm.ts +30 -1
- package/src/utils/__snapshots__/parseModels.test.ts.snap +32 -0
- package/src/utils/parseModels.test.ts +1 -20
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,56 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.16.9](https://github.com/lobehub/lobe-chat/compare/v1.16.8...v1.16.9)
|
6
|
+
|
7
|
+
<sup>Released on **2024-09-12**</sup>
|
8
|
+
|
9
|
+
#### 💄 Styles
|
10
|
+
|
11
|
+
- **misc**: Add model and provider desc and url.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### Styles
|
19
|
+
|
20
|
+
- **misc**: Add model and provider desc and url, closes [#3920](https://github.com/lobehub/lobe-chat/issues/3920) ([ea9ff00](https://github.com/lobehub/lobe-chat/commit/ea9ff00))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
30
|
+
### [Version 1.16.8](https://github.com/lobehub/lobe-chat/compare/v1.16.7...v1.16.8)
|
31
|
+
|
32
|
+
<sup>Released on **2024-09-12**</sup>
|
33
|
+
|
34
|
+
#### 💄 Styles
|
35
|
+
|
36
|
+
- **misc**: Improve models and add more info for providers and models.
|
37
|
+
|
38
|
+
<br/>
|
39
|
+
|
40
|
+
<details>
|
41
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
42
|
+
|
43
|
+
#### Styles
|
44
|
+
|
45
|
+
- **misc**: Improve models and add more info for providers and models, closes [#3911](https://github.com/lobehub/lobe-chat/issues/3911) ([8a8fc6a](https://github.com/lobehub/lobe-chat/commit/8a8fc6a))
|
46
|
+
|
47
|
+
</details>
|
48
|
+
|
49
|
+
<div align="right">
|
50
|
+
|
51
|
+
[](#readme-top)
|
52
|
+
|
53
|
+
</div>
|
54
|
+
|
5
55
|
### [Version 1.16.7](https://github.com/lobehub/lobe-chat/compare/v1.16.6...v1.16.7)
|
6
56
|
|
7
57
|
<sup>Released on **2024-09-11**</sup>
|
package/README.md
CHANGED
@@ -285,14 +285,14 @@ Our marketplace is not just a showcase platform but also a collaborative space.
|
|
285
285
|
|
286
286
|
<!-- AGENT LIST -->
|
287
287
|
|
288
|
-
| Recent Submits
|
289
|
-
|
|
290
|
-
| [
|
291
|
-
| [
|
292
|
-
| [
|
293
|
-
| [
|
294
|
-
|
295
|
-
> 📊 Total agents: [<kbd>**
|
288
|
+
| Recent Submits | Description |
|
289
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
290
|
+
| [Resume Analysis Expert](https://chat-preview.lobehub.com/market?agent=resume-analyzer)<br/><sup>By **[Pandurangmopgar](https://github.com/Pandurangmopgar)** on **2024-09-11**</sup> | Expert AI assistant for comprehensive resume analysis and job-specific optimization. Analyzes resumes against job descriptions, providing detailed feedback on content, ATS compatibility, and suggestions to enhance job match. Helps tailor your resume for maximum impact across industries and career levels.<br/>`resume` `career` `job-search` `ats` `cv` `analysis` `optimization` `professional-development` `interview-prep` |
|
291
|
+
| [AI Agent Generator](https://chat-preview.lobehub.com/market?agent=ai-agent-generator)<br/><sup>By **[xyftw](https://github.com/xyftw)** on **2024-09-10**</sup> | Skilled at creating AI Agent character descriptions that meet the needs.<br/>`ai-agent` `character-creation` |
|
292
|
+
| [Desolate Friend](https://chat-preview.lobehub.com/market?agent=meu)<br/><sup>By **[adminewacc](https://github.com/adminewacc)** on **2024-09-10**</sup> | Skilled at comforting and supporting friends<br/>`friendship` `sadness` `support` |
|
293
|
+
| [NetMaster](https://chat-preview.lobehub.com/market?agent=net-master)<br/><sup>By **[erhuoyan](https://github.com/erhuoyan)** on **2024-09-10**</sup> | Network Engineer: Professional network topology construction and management<br/>`network-engineer` `network-configuration` `network-management` `network-topology` `network-security` |
|
294
|
+
|
295
|
+
> 📊 Total agents: [<kbd>**328**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
296
296
|
|
297
297
|
<!-- AGENT LIST -->
|
298
298
|
|
package/README.zh-CN.md
CHANGED
@@ -273,14 +273,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
273
273
|
|
274
274
|
<!-- AGENT LIST -->
|
275
275
|
|
276
|
-
| 最近新增
|
277
|
-
|
|
278
|
-
| [
|
279
|
-
| [
|
280
|
-
| [
|
281
|
-
| [
|
282
|
-
|
283
|
-
> 📊 Total agents: [<kbd>**
|
276
|
+
| 最近新增 | 助手说明 |
|
277
|
+
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
278
|
+
| [简历分析专家](https://chat-preview.lobehub.com/market?agent=resume-analyzer)<br/><sup>By **[Pandurangmopgar](https://github.com/Pandurangmopgar)** on **2024-09-11**</sup> | 专家级 AI 助手,提供全面的简历分析和职位特定优化。根据职位描述分析简历,提供关于内容、ATS 兼容性和增强职位匹配的详细反馈。帮助您量身定制简历,以在各行业和职业层次上产生最大影响。<br/>`简历` `职业` `求职` `ats` `cv` `分析` `优化` `职业发展` `面试准备` |
|
279
|
+
| [AI 代理生成器](https://chat-preview.lobehub.com/market?agent=ai-agent-generator)<br/><sup>By **[xyftw](https://github.com/xyftw)** on **2024-09-10**</sup> | 擅长创建满足需求的 AI 代理角色描述。<br/>`ai-agent` `角色创建` |
|
280
|
+
| [孤独的朋友](https://chat-preview.lobehub.com/market?agent=meu)<br/><sup>By **[adminewacc](https://github.com/adminewacc)** on **2024-09-10**</sup> | 擅长安慰和支持朋友<br/>`友谊` `悲伤` `支持` |
|
281
|
+
| [NetMaster](https://chat-preview.lobehub.com/market?agent=net-master)<br/><sup>By **[erhuoyan](https://github.com/erhuoyan)** on **2024-09-10**</sup> | 网络工程师:专业网络拓扑搭建与管理<br/>`网络工程师` `网络配置` `网络管理` `网络拓扑` `网络安全` |
|
282
|
+
|
283
|
+
> 📊 Total agents: [<kbd>**328**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
284
284
|
|
285
285
|
<!-- AGENT LIST -->
|
286
286
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.16.
|
3
|
+
"version": "1.16.9",
|
4
4
|
"description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
|
5
5
|
"keywords": [
|
6
6
|
"framework",
|
@@ -1,108 +1,74 @@
|
|
1
1
|
import { ModelProviderCard } from '@/types/llm';
|
2
2
|
|
3
|
-
// ref https://ai.360.cn/platform/docs/overview
|
3
|
+
// ref: https://ai.360.cn/platform/docs/overview
|
4
4
|
const Ai360: ModelProviderCard = {
|
5
5
|
chatModels: [
|
6
6
|
{
|
7
|
+
description:
|
8
|
+
'360GPT2 Pro 是 360 公司推出的高级自然语言处理模型,具备卓越的文本生成和理解能力,尤其在生成与创作领域表现出色,能够处理复杂的语言转换和角色演绎任务。',
|
7
9
|
displayName: '360GPT2 Pro',
|
8
10
|
enabled: true,
|
9
11
|
functionCall: false,
|
10
12
|
id: '360gpt2-pro',
|
11
13
|
maxOutput: 7000,
|
14
|
+
pricing: {
|
15
|
+
currency: 'CNY',
|
16
|
+
input: 5,
|
17
|
+
output: 5,
|
18
|
+
},
|
12
19
|
tokens: 8192,
|
13
20
|
},
|
14
21
|
{
|
22
|
+
description:
|
23
|
+
'360GPT Pro 作为 360 AI 模型系列的重要成员,以高效的文本处理能力满足多样化的自然语言应用场景,支持长文本理解和多轮对话等功能。',
|
15
24
|
displayName: '360GPT Pro',
|
16
|
-
functionCall: false,
|
17
25
|
id: '360gpt-pro',
|
18
26
|
maxOutput: 7000,
|
27
|
+
pricing: {
|
28
|
+
currency: 'CNY',
|
29
|
+
input: 5,
|
30
|
+
output: 5,
|
31
|
+
},
|
19
32
|
tokens: 8192,
|
20
33
|
},
|
21
34
|
{
|
22
|
-
|
23
|
-
|
24
|
-
id: '360gpt-pro-perf',
|
25
|
-
maxOutput: 7000,
|
26
|
-
tokens: 8192,
|
27
|
-
},
|
28
|
-
{
|
29
|
-
displayName: '360GPT Pro sc202401v3',
|
30
|
-
functionCall: false,
|
31
|
-
id: '360gpt-pro-sc202401v3',
|
32
|
-
maxOutput: 2048,
|
33
|
-
tokens: 4096,
|
34
|
-
},
|
35
|
-
{
|
36
|
-
displayName: '360GPT Pro sc202401v2',
|
37
|
-
functionCall: false,
|
38
|
-
id: '360gpt-pro-sc202401v2',
|
39
|
-
maxOutput: 2048,
|
40
|
-
tokens: 4096,
|
41
|
-
},
|
42
|
-
{
|
43
|
-
displayName: '360GPT Pro sc202401v1',
|
44
|
-
functionCall: false,
|
45
|
-
id: '360gpt-pro-sc202401v1',
|
46
|
-
maxOutput: 2048,
|
47
|
-
tokens: 4096,
|
48
|
-
},
|
49
|
-
{
|
50
|
-
displayName: '360GPT Pro v2.0.3',
|
51
|
-
functionCall: false,
|
52
|
-
id: '360gpt-pro-v2.0.3',
|
53
|
-
maxOutput: 2048,
|
54
|
-
tokens: 4096,
|
55
|
-
},
|
56
|
-
{
|
35
|
+
description:
|
36
|
+
'360GPT Turbo 提供强大的计算和对话能力,具备出色的语义理解和生成效率,是企业和开发者理想的智能助理解决方案。',
|
57
37
|
displayName: '360GPT Turbo',
|
58
38
|
enabled: true,
|
59
|
-
functionCall: false,
|
60
39
|
id: '360gpt-turbo',
|
61
|
-
maxOutput:
|
40
|
+
maxOutput: 7000,
|
41
|
+
pricing: {
|
42
|
+
currency: 'CNY',
|
43
|
+
input: 2,
|
44
|
+
output: 2,
|
45
|
+
},
|
62
46
|
tokens: 8192,
|
63
47
|
},
|
64
48
|
{
|
49
|
+
description:
|
50
|
+
'360GPT Turbo Responsibility 8K 强调语义安全和责任导向,专为对内容安全有高度要求的应用场景设计,确保用户体验的准确性与稳健性。',
|
65
51
|
displayName: '360GPT Turbo Responsibility 8K',
|
66
52
|
enabled: true,
|
67
|
-
functionCall: false,
|
68
53
|
id: '360gpt-turbo-responsibility-8k',
|
69
54
|
maxOutput: 2048,
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
id: '360gpt-turbo-32k-responsibility-240530',
|
76
|
-
maxOutput: 32_000,
|
77
|
-
tokens: 32_000,
|
78
|
-
},
|
79
|
-
{
|
80
|
-
displayName: '360GPT Turbo 32K Responsibility 240516',
|
81
|
-
functionCall: false,
|
82
|
-
id: '360gpt-turbo-32k-responsibility-240516',
|
83
|
-
maxOutput: 32_000,
|
84
|
-
tokens: 32_000,
|
85
|
-
},
|
86
|
-
{
|
87
|
-
displayName: '360GPT_S1_QIYUAN',
|
88
|
-
functionCall: false,
|
89
|
-
id: '360GPT_S1_QIYUAN',
|
90
|
-
maxOutput: 2048,
|
91
|
-
tokens: 4096,
|
92
|
-
},
|
93
|
-
{
|
94
|
-
displayName: '360GPT_S2_V9',
|
95
|
-
functionCall: false,
|
96
|
-
id: '360GPT_S2_V9',
|
97
|
-
maxOutput: 7000,
|
55
|
+
pricing: {
|
56
|
+
currency: 'CNY',
|
57
|
+
input: 2,
|
58
|
+
output: 2,
|
59
|
+
},
|
98
60
|
tokens: 8192,
|
99
61
|
},
|
100
62
|
],
|
101
63
|
checkModel: '360gpt-turbo',
|
64
|
+
description:
|
65
|
+
'360 AI 是 360 公司推出的 AI 模型和服务平台,提供多种先进的自然语言处理模型,包括 360GPT2 Pro、360GPT Pro、360GPT Turbo 和 360GPT Turbo Responsibility 8K。这些模型结合了大规模参数和多模态能力,广泛应用于文本生成、语义理解、对话系统与代码生成等领域。通过灵活的定价策略,360 AI 满足多样化用户需求,支持开发者集成,推动智能化应用的革新和发展。',
|
102
66
|
disableBrowserRequest: true,
|
103
67
|
id: 'ai360',
|
104
68
|
modelList: { showModelFetcher: true },
|
69
|
+
modelsUrl: 'https://ai.360.cn/platform/docs/overview',
|
105
70
|
name: '360 AI',
|
71
|
+
url: 'https://ai.360.com',
|
106
72
|
};
|
107
73
|
|
108
74
|
export default Ai360;
|
@@ -1,77 +1,123 @@
|
|
1
1
|
import { ModelProviderCard } from '@/types/llm';
|
2
2
|
|
3
|
-
// ref https://docs.anthropic.com/
|
3
|
+
// ref: https://docs.anthropic.com/en/docs/about-claude/models#model-names
|
4
4
|
const Anthropic: ModelProviderCard = {
|
5
5
|
chatModels: [
|
6
6
|
{
|
7
7
|
description:
|
8
|
-
'Claude 3.5 Sonnet
|
8
|
+
'Claude 3.5 Sonnet 提供了超越 Opus 的能力和比 Sonnet 更快的速度,同时保持与 Sonnet 相同的价格。Sonnet 特别擅长编程、数据科学、视觉处理、代理任务。',
|
9
9
|
displayName: 'Claude 3.5 Sonnet',
|
10
10
|
enabled: true,
|
11
11
|
functionCall: true,
|
12
12
|
id: 'claude-3-5-sonnet-20240620',
|
13
13
|
maxOutput: 8192,
|
14
|
+
pricing: {
|
15
|
+
cachedInput: 0.3,
|
16
|
+
input: 3,
|
17
|
+
output: 15,
|
18
|
+
writeCacheInput: 3.75,
|
19
|
+
},
|
20
|
+
releasedAt: '2024-06-20',
|
14
21
|
tokens: 200_000,
|
15
22
|
vision: true,
|
16
23
|
},
|
17
24
|
{
|
18
25
|
description:
|
19
|
-
'
|
20
|
-
displayName: 'Claude 3
|
26
|
+
'Claude 3 Haiku 是 Anthropic 的最快且最紧凑的模型,旨在实现近乎即时的响应。它具有快速且准确的定向性能。',
|
27
|
+
displayName: 'Claude 3 Haiku',
|
21
28
|
enabled: true,
|
22
29
|
functionCall: true,
|
23
|
-
id: 'claude-3-
|
30
|
+
id: 'claude-3-haiku-20240307',
|
24
31
|
maxOutput: 4096,
|
32
|
+
pricing: {
|
33
|
+
input: 0.25,
|
34
|
+
output: 1.25,
|
35
|
+
},
|
36
|
+
releasedAt: '2024-03-07',
|
25
37
|
tokens: 200_000,
|
26
38
|
vision: true,
|
27
39
|
},
|
28
40
|
{
|
29
41
|
description:
|
30
|
-
'
|
31
|
-
displayName: 'Claude 3
|
42
|
+
'Claude 3 Sonnet 在智能和速度方面为企业工作负载提供了理想的平衡。它以更低的价格提供最大效用,可靠且适合大规模部署。',
|
43
|
+
displayName: 'Claude 3 Sonnet',
|
32
44
|
enabled: true,
|
33
45
|
functionCall: true,
|
34
|
-
id: 'claude-3-
|
46
|
+
id: 'claude-3-sonnet-20240229',
|
35
47
|
maxOutput: 4096,
|
48
|
+
pricing: {
|
49
|
+
input: 3,
|
50
|
+
output: 15,
|
51
|
+
},
|
52
|
+
releasedAt: '2024-02-29',
|
36
53
|
tokens: 200_000,
|
37
54
|
vision: true,
|
38
55
|
},
|
39
56
|
{
|
40
57
|
description:
|
41
|
-
'
|
42
|
-
displayName: 'Claude 3
|
58
|
+
'Claude 3 Opus 是 Anthropic 用于处理高度复杂任务的最强大模型。它在性能、智能、流畅性和理解力方面表现卓越。',
|
59
|
+
displayName: 'Claude 3 Opus',
|
43
60
|
enabled: true,
|
44
61
|
functionCall: true,
|
45
|
-
id: 'claude-3-
|
62
|
+
id: 'claude-3-opus-20240229',
|
46
63
|
maxOutput: 4096,
|
64
|
+
pricing: {
|
65
|
+
input: 15,
|
66
|
+
output: 75,
|
67
|
+
},
|
68
|
+
releasedAt: '2024-02-29',
|
47
69
|
tokens: 200_000,
|
48
70
|
vision: true,
|
49
71
|
},
|
50
72
|
{
|
73
|
+
description:
|
74
|
+
'Claude 2 为企业提供了关键能力的进步,包括业界领先的 200K token 上下文、大幅降低模型幻觉的发生率、系统提示以及一个新的测试功能:工具调用。',
|
51
75
|
displayName: 'Claude 2.1',
|
52
76
|
id: 'claude-2.1',
|
53
77
|
maxOutput: 4096,
|
78
|
+
pricing: {
|
79
|
+
input: 8,
|
80
|
+
output: 24,
|
81
|
+
},
|
82
|
+
releasedAt: '2023-11-21',
|
54
83
|
tokens: 200_000,
|
55
84
|
},
|
56
85
|
{
|
86
|
+
description:
|
87
|
+
'Claude 2 为企业提供了关键能力的进步,包括业界领先的 200K token 上下文、大幅降低模型幻觉的发生率、系统提示以及一个新的测试功能:工具调用。',
|
57
88
|
displayName: 'Claude 2.0',
|
58
89
|
id: 'claude-2.0',
|
59
90
|
maxOutput: 4096,
|
91
|
+
pricing: {
|
92
|
+
input: 8,
|
93
|
+
output: 24,
|
94
|
+
},
|
95
|
+
releasedAt: '2023-07-11',
|
60
96
|
tokens: 100_000,
|
61
97
|
},
|
62
98
|
{
|
99
|
+
description: 'Anthropic 的模型用于低延迟、高吞吐量的文本生成,支持生成数百页的文本。',
|
63
100
|
displayName: 'Claude Instant 1.2',
|
64
101
|
id: 'claude-instant-1.2',
|
65
102
|
maxOutput: 4096,
|
103
|
+
pricing: {
|
104
|
+
input: 0.8,
|
105
|
+
output: 2.4,
|
106
|
+
},
|
107
|
+
releasedAt: '2023-08-09',
|
66
108
|
tokens: 100_000,
|
67
109
|
},
|
68
110
|
],
|
69
111
|
checkModel: 'claude-3-haiku-20240307',
|
112
|
+
description:
|
113
|
+
'Anthropic 是一家专注于人工智能研究和开发的公司,提供了一系列先进的语言模型,如 Claude 3.5 Sonnet、Claude 3 Sonnet、Claude 3 Opus 和 Claude 3 Haiku。这些模型在智能、速度和成本之间取得了理想的平衡,适用于从企业级工作负载到快速响应的各种应用场景。Claude 3.5 Sonnet 作为其最新模型,在多项评估中表现优异,同时保持了较高的性价比。',
|
70
114
|
id: 'anthropic',
|
115
|
+
modelsUrl: 'https://docs.anthropic.com/en/docs/about-claude/models#model-names',
|
71
116
|
name: 'Anthropic',
|
72
117
|
proxyUrl: {
|
73
118
|
placeholder: 'https://api.anthropic.com',
|
74
119
|
},
|
120
|
+
url: 'https://anthropic.com',
|
75
121
|
};
|
76
122
|
|
77
123
|
export default Anthropic;
|
@@ -1,11 +1,12 @@
|
|
1
1
|
import { ModelProviderCard } from '@/types/llm';
|
2
2
|
|
3
|
-
// ref https://learn.microsoft.com/
|
3
|
+
// ref: https://learn.microsoft.com/azure/ai-services/openai/concepts/models
|
4
4
|
const Azure: ModelProviderCard = {
|
5
5
|
chatModels: [
|
6
6
|
{
|
7
7
|
deploymentName: 'gpt-35-turbo',
|
8
|
-
description:
|
8
|
+
description:
|
9
|
+
'GPT 3.5 Turbo,OpenAI提供的高效模型,适用于聊天和文本生成任务,支持并行函数调用。',
|
9
10
|
displayName: 'GPT 3.5 Turbo',
|
10
11
|
enabled: true,
|
11
12
|
functionCall: true,
|
@@ -15,6 +16,7 @@ const Azure: ModelProviderCard = {
|
|
15
16
|
},
|
16
17
|
{
|
17
18
|
deploymentName: 'gpt-35-turbo-16k',
|
19
|
+
description: 'GPT 3.5 Turbo 16k,高容量文本生成模型,适合复杂任务。',
|
18
20
|
displayName: 'GPT 3.5 Turbo',
|
19
21
|
functionCall: true,
|
20
22
|
id: 'gpt-35-turbo-16k',
|
@@ -22,6 +24,7 @@ const Azure: ModelProviderCard = {
|
|
22
24
|
},
|
23
25
|
{
|
24
26
|
deploymentName: 'gpt-4-turbo',
|
27
|
+
description: 'GPT 4 Turbo,多模态模型,提供杰出的语言理解和生成能力,同时支持图像输入。',
|
25
28
|
displayName: 'GPT 4 Turbo',
|
26
29
|
enabled: true,
|
27
30
|
functionCall: true,
|
@@ -31,7 +34,7 @@ const Azure: ModelProviderCard = {
|
|
31
34
|
},
|
32
35
|
{
|
33
36
|
deploymentName: 'gpt-4-vision',
|
34
|
-
description: 'GPT-4
|
37
|
+
description: 'GPT-4 视觉预览版,专为图像分析和处理任务设计。',
|
35
38
|
displayName: 'GPT 4 Turbo with Vision Preview',
|
36
39
|
id: 'gpt-4-vision-preview',
|
37
40
|
tokens: 128_000,
|
@@ -39,6 +42,7 @@ const Azure: ModelProviderCard = {
|
|
39
42
|
},
|
40
43
|
{
|
41
44
|
deploymentName: 'gpt-4o-mini',
|
45
|
+
description: 'GPT-4o Mini,小型高效模型,具备与GPT-4o相似的卓越性能。',
|
42
46
|
displayName: 'GPT 4o Mini',
|
43
47
|
enabled: true,
|
44
48
|
functionCall: true,
|
@@ -48,6 +52,7 @@ const Azure: ModelProviderCard = {
|
|
48
52
|
},
|
49
53
|
{
|
50
54
|
deploymentName: 'gpt-4o',
|
55
|
+
description: 'GPT-4o 是最新的多模态模型,结合高级文本和图像处理能力。',
|
51
56
|
displayName: 'GPT 4o',
|
52
57
|
enabled: true,
|
53
58
|
functionCall: true,
|
@@ -57,8 +62,12 @@ const Azure: ModelProviderCard = {
|
|
57
62
|
},
|
58
63
|
],
|
59
64
|
defaultShowBrowserRequest: true,
|
65
|
+
description:
|
66
|
+
'Azure 提供多种先进的AI模型,包括GPT-3.5和最新的GPT-4系列,支持多种数据类型和复杂任务,致力于安全、可靠和可持续的AI解决方案。',
|
60
67
|
id: 'azure',
|
68
|
+
modelsUrl: 'https://learn.microsoft.com/azure/ai-services/openai/concepts/models',
|
61
69
|
name: 'Azure',
|
70
|
+
url: 'https://azure.microsoft.com',
|
62
71
|
};
|
63
72
|
|
64
73
|
export default Azure;
|
@@ -1,57 +1,78 @@
|
|
1
1
|
import { ModelProviderCard } from '@/types/llm';
|
2
2
|
|
3
|
-
// ref https://platform.baichuan-ai.com/price
|
3
|
+
// ref: https://platform.baichuan-ai.com/price
|
4
4
|
const Baichuan: ModelProviderCard = {
|
5
5
|
chatModels: [
|
6
6
|
{
|
7
|
-
description:
|
7
|
+
description:
|
8
|
+
'模型能力国内第一,在知识百科、长文本、生成创作等中文任务上超越国外主流模型。还具备行业领先的多模态能力,多项权威评测基准表现优异。',
|
8
9
|
displayName: 'Baichuan 4',
|
9
10
|
enabled: true,
|
10
11
|
functionCall: true,
|
11
12
|
id: 'Baichuan4',
|
12
13
|
maxOutput: 4096,
|
14
|
+
pricing: {
|
15
|
+
currency: 'CNY',
|
16
|
+
input: 100,
|
17
|
+
output: 100,
|
18
|
+
},
|
13
19
|
tokens: 32_768,
|
14
20
|
},
|
15
21
|
{
|
16
|
-
description:
|
22
|
+
description:
|
23
|
+
'针对企业高频场景优化,效果大幅提升,高性价比。相对于Baichuan2模型,内容创作提升20%,知识问答提升17%, 角色扮演能力提升40%。整体效果比GPT3.5更优。',
|
17
24
|
displayName: 'Baichuan 3 Turbo',
|
18
25
|
enabled: true,
|
19
26
|
functionCall: true,
|
20
27
|
id: 'Baichuan3-Turbo',
|
21
28
|
maxOutput: 8192,
|
29
|
+
pricing: {
|
30
|
+
currency: 'CNY',
|
31
|
+
input: 12,
|
32
|
+
output: 12,
|
33
|
+
},
|
22
34
|
tokens: 32_768,
|
23
35
|
},
|
24
36
|
{
|
25
|
-
description:
|
37
|
+
description:
|
38
|
+
'具备 128K 超长上下文窗口,针对企业高频场景优化,效果大幅提升,高性价比。相对于Baichuan2模型,内容创作提升20%,知识问答提升17%, 角色扮演能力提升40%。整体效果比GPT3.5更优。',
|
26
39
|
displayName: 'Baichuan 3 Turbo 128k',
|
27
40
|
enabled: true,
|
28
41
|
id: 'Baichuan3-Turbo-128k',
|
29
42
|
maxOutput: 4096,
|
43
|
+
pricing: {
|
44
|
+
currency: 'CNY',
|
45
|
+
input: 24,
|
46
|
+
output: 24,
|
47
|
+
},
|
30
48
|
tokens: 128_000,
|
31
49
|
},
|
32
50
|
{
|
33
|
-
description:
|
51
|
+
description:
|
52
|
+
'采用搜索增强技术实现大模型与领域知识、全网知识的全面链接。支持PDF、Word等多种文档上传及网址输入,信息获取及时、全面,输出结果准确、专业。',
|
34
53
|
displayName: 'Baichuan 2 Turbo',
|
35
54
|
id: 'Baichuan2-Turbo',
|
36
55
|
maxOutput: 8192,
|
56
|
+
pricing: {
|
57
|
+
currency: 'CNY',
|
58
|
+
input: 8,
|
59
|
+
output: 8,
|
60
|
+
},
|
37
61
|
tokens: 32_768,
|
38
62
|
},
|
39
|
-
{
|
40
|
-
description: '具备 192K 超长上下文窗口,采用搜索增强技术实现大模型与领域知识、全网知识的全面链接。支持PDF、Word等多种文档上传及网址输入,信息获取及时、全面,输出结果准确、专业。',
|
41
|
-
displayName: 'Baichuan 2 Turbo 192k',
|
42
|
-
id: 'Baichuan2-Turbo-192k',
|
43
|
-
maxOutput: 2048,
|
44
|
-
tokens: 192_000,
|
45
|
-
},
|
46
63
|
],
|
47
64
|
checkModel: 'Baichuan3-Turbo',
|
65
|
+
description:
|
66
|
+
'百川智能是一家专注于人工智能大模型研发的公司,其模型在国内知识百科、长文本处理和生成创作等中文任务上表现卓越,超越了国外主流模型。百川智能还具备行业领先的多模态能力,在多项权威评测中表现优异。其模型包括 Baichuan 4、Baichuan 3 Turbo 和 Baichuan 3 Turbo 128k 等,分别针对不同应用场景进行优化,提供高性价比的解决方案。',
|
48
67
|
id: 'baichuan',
|
49
68
|
modelList: { showModelFetcher: true },
|
69
|
+
modelsUrl: 'https://platform.baichuan-ai.com/price',
|
50
70
|
name: 'Baichuan',
|
51
71
|
smoothing: {
|
52
72
|
speed: 2,
|
53
73
|
text: true,
|
54
74
|
},
|
75
|
+
url: 'https://platform.baichuan-ai.com',
|
55
76
|
};
|
56
77
|
|
57
78
|
export default Baichuan;
|