@lobehub/chat 1.62.6 → 1.62.7

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.62.7](https://github.com/lobehub/lobe-chat/compare/v1.62.6...v1.62.7)
6
+
7
+ <sup>Released on **2025-02-21**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **misc**: Add Volcano Ark models.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **misc**: Add Volcano Ark models, closes [#6368](https://github.com/lobehub/lobe-chat/issues/6368) ([02136f5](https://github.com/lobehub/lobe-chat/commit/02136f5))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ### [Version 1.62.6](https://github.com/lobehub/lobe-chat/compare/v1.62.5...v1.62.6)
6
31
 
7
32
  <sup>Released on **2025-02-21**</sup>
package/README.md CHANGED
@@ -787,7 +787,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
787
787
  [deploy-on-repocloud-button-image]: https://d16t0pc4846x52.cloudfront.net/deploylobe.svg
788
788
  [deploy-on-repocloud-link]: https://repocloud.io/details/?app_id=248
789
789
  [deploy-on-sealos-button-image]: https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg
790
- [deploy-on-sealos-link]: https://cloud.sealos.io/?openapp=system-template%3FtemplateName%3Dlobe-chat
790
+ [deploy-on-sealos-link]: https://template.usw.sealos.io/deploy?templateName=lobe-chat-db
791
791
  [deploy-on-zeabur-button-image]: https://zeabur.com/button.svg
792
792
  [deploy-on-zeabur-link]: https://zeabur.com/templates/VZGGTI
793
793
  [discord-link]: https://discord.gg/AYFPHvv2jT
package/README.zh-CN.md CHANGED
@@ -807,7 +807,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
807
807
  [deploy-on-alibaba-cloud-button-image]: https://service-info-public.oss-cn-hangzhou.aliyuncs.com/computenest-en.svg
808
808
  [deploy-on-alibaba-cloud-link]: https://computenest.console.aliyun.com/service/instance/create/default?type=user&ServiceName=LobeChat%E7%A4%BE%E5%8C%BA%E7%89%88
809
809
  [deploy-on-sealos-button-image]: https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg
810
- [deploy-on-sealos-link]: https://cloud.sealos.io/?openapp=system-template%3FtemplateName%3Dlobe-chat
810
+ [deploy-on-sealos-link]: https://template.hzh.sealos.run/deploy?templateName=lobe-chat-db
811
811
  [deploy-on-zeabur-button-image]: https://zeabur.com/button.svg
812
812
  [deploy-on-zeabur-link]: https://zeabur.com/templates/VZGGTI
813
813
  [discord-link]: https://discord.gg/AYFPHvv2jT
package/changelog/v1.json CHANGED
@@ -1,4 +1,13 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "improvements": [
5
+ "Add Volcano Ark models."
6
+ ]
7
+ },
8
+ "date": "2025-02-21",
9
+ "version": "1.62.7"
10
+ },
2
11
  {
3
12
  "children": {
4
13
  "improvements": [
@@ -509,4 +509,21 @@ If you need to use Azure OpenAI to provide model services, you can refer to the
509
509
  - Default: `-`
510
510
  - Example: `-all,+hunyuan-lite,+hunyuan-standard`
511
511
 
512
+ ## Volcengine
513
+
514
+ ### `VOLCENGINE_API_KEY`
515
+
516
+ - Type: Required
517
+ - Description: This is the API key you applied from Volcengine service, you can check it out [here](https://console.volcengine.com/ark/region:ark+cn-beijing/endpoint)
518
+ - Default: -
519
+ - Example: `ad925b3d-aaaa-bbbb-cccc-51fde2f50547`
520
+
521
+ ### `VOLCENGINE_MODEL_LIST`
522
+
523
+ - Type: Optional
524
+ - Description: Used to control the model list, use `+` to add a model, use `-` to hide a model, use `model_name=display_name` to customize the display name of a model, separated by commas. Definition syntax rules see [model-list][model-list]
525
+ - Default: `-`
526
+ - Example: `-all,+deepseek-r1-250120,+deepseek-v3-241226,+doubao-1-5-pro-256k-250115,+doubao-1-5-pro-32k-250115,+doubao-1-5-lite-32k-250115`
527
+
528
+
512
529
  [model-list]: /docs/self-hosting/advanced/model-list
@@ -507,4 +507,20 @@ LobeChat 在部署时提供了丰富的模型服务商相关的环境变量,
507
507
  - 默认值:`-`
508
508
  - 示例:`-all,+hunyuan-lite,+hunyuan-standard`
509
509
 
510
+ ## 火山引擎
511
+
512
+ ### `VOLCENGINE_API_KEY`
513
+
514
+ - 类型:必选
515
+ - 描述:这是你在 火山引擎 服务中申请的 API 密钥,可以前往 [这里](https://console.volcengine.com/ark/region:ark+cn-beijing/endpoint) 查看
516
+ - 默认值:-
517
+ - 示例:`ad925b3d-aaaa-bbbb-cccc-51fde2f50547`
518
+
519
+ ### `VOLCENGINE_MODEL_LIST`
520
+
521
+ - 类型:可选
522
+ - 描述:用来控制模型列表,使用 `+` 增加一个模型,使用 `-` 来隐藏一个模型,使用 `模型名=展示名<扩展配置>` 来自定义模型的展示名,用英文逗号隔开。模型定义语法规则见 [模型列表][model-list]
523
+ - 默认值:`-`
524
+ - 示例:`-all,+deepseek-r1-250120,+deepseek-v3-241226,+doubao-1-5-pro-256k-250115,+doubao-1-5-pro-32k-250115,+doubao-1-5-lite-32k-250115`
525
+
510
526
  [model-list]: /zh/docs/self-hosting/advanced/model-list
@@ -1,20 +1,20 @@
1
1
  ---
2
- title: Deploy LobeChat on SealOS
2
+ title: Deploy LobeChat on Sealos
3
3
  description: >-
4
- Learn how to deploy LobeChat on SealOS with ease. Follow the provided steps to
4
+ Learn how to deploy LobeChat on Sealos with ease. Follow the provided steps to
5
5
  set up LobeChat and start using it efficiently.
6
6
  tags:
7
7
  - Deploy LobeChat
8
- - SealOS Deployment
8
+ - Sealos Deployment
9
9
  - OpenAI API Key
10
10
  - Custom Domain Binding
11
11
  ---
12
12
 
13
- # Deploy LobeChat with SealOS
13
+ # Deploy LobeChat with Sealos
14
14
 
15
- If you want to deploy LobeChat on SealOS, you can follow the steps below:
15
+ If you want to deploy LobeChat on Sealos, you can follow the steps below:
16
16
 
17
- ## SealOS Deployment Process
17
+ ## Sealos Deployment Process
18
18
 
19
19
  <Steps>
20
20
  ### Prepare your OpenAI API Key
@@ -29,8 +29,8 @@ If you want to deploy LobeChat on SealOS, you can follow the steps below:
29
29
 
30
30
  ### Bind a custom domain (optional)
31
31
 
32
- You can use the subdomain provided by SealOS, or choose to bind a custom domain. Currently, the domains provided by SealOS have not been contaminated, and can be directly accessed in most regions.
32
+ You can use the subdomain provided by Sealos, or choose to bind a custom domain. Currently, the domains provided by Sealos have not been contaminated, and can be directly accessed in most regions.
33
33
  </Steps>
34
34
 
35
35
  [deploy-button-image]: https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg
36
- [deploy-link]: https://cloud.sealos.io/?openapp=system-template%3FtemplateName%3Dlobe-chat
36
+ [deploy-link]: https://template.usw.sealos.io/deploy?templateName=lobe-chat
@@ -1,19 +1,19 @@
1
1
  ---
2
- title: 在 SealOS 上部署 LobeChat
3
- description: 学习如何在 SealOS 上部署 LobeChat,包括准备 OpenAI API Key、点击部署按钮、绑定自定义域名等操作。
2
+ title: 在 Sealos 上部署 LobeChat
3
+ description: 学习如何在 Sealos 上部署 LobeChat,包括准备 OpenAI API Key、点击部署按钮、绑定自定义域名等操作。
4
4
  tags:
5
- - SealOS
5
+ - Sealos
6
6
  - LobeChat
7
7
  - OpenAI API Key
8
8
  - 部署流程
9
9
  - 自定义域名
10
10
  ---
11
11
 
12
- # 使用 SealOS 部署
12
+ # 使用 Sealos 部署
13
13
 
14
- 如果想在 SealOS 上部署 LobeChat,可以按照以下步骤进行操作:
14
+ 如果想在 Sealos 上部署 LobeChat,可以按照以下步骤进行操作:
15
15
 
16
- ## SealOS 部署流程
16
+ ## Sealos 部署流程
17
17
 
18
18
  <Steps>
19
19
  ### 准备好你的 OpenAI API Key
@@ -28,7 +28,7 @@ tags:
28
28
 
29
29
  ### 绑定自定义域名(可选)
30
30
 
31
- 你可以使用 SealOS 提供的子域名,也可以选择绑定自定义域名。目前 SealOS 提供的域名还未被污染,大多数地区都可以直连。
31
+ 你可以使用 Sealos 提供的子域名,也可以选择绑定自定义域名。目前 Sealos 提供的域名还未被污染,大多数地区都可以直连。
32
32
  </Steps>
33
33
 
34
34
  [deploy-button-image]: https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg
@@ -1,15 +1,94 @@
1
1
  ---
2
- title: Deploy LobeChat on SealOS
2
+ title: Deploy Lobe Chat Database Version on Sealos
3
3
  description: >-
4
- Learn how to deploy LobeChat on SealOS with ease. Follow the provided steps to
4
+ Learn how to deploy LobeChat on Sealos with ease. Follow the provided steps to
5
5
  set up LobeChat and start using it efficiently.
6
6
  tags:
7
7
  - Deploy LobeChat
8
- - SealOS Deployment
8
+ - Sealos Deployment
9
9
  - OpenAI API Key
10
10
  - Custom Domain Binding
11
11
  ---
12
12
 
13
- # Deploy LobeChat on SealOS
13
+ # Deploying Lobe Chat Database Version on Sealos
14
+
15
+ <Callout type="info">
16
+ This article assumes that you are familiar with the basic principles and processes of deploying
17
+ the LobeChat server database version, so it only includes content related to core environment
18
+ variable configuration. If you are not familiar with the deployment principles of the LobeChat
19
+ server database version, please refer to [Deploying Server
20
+ Database](/docs/self-hosting/server-database) first.
21
+ </Callout>
22
+
23
+ The application on Sealos includes 4 services:
24
+
25
+ - Logto for authrization(need to deploy separately).
26
+ - PostgreSQL with Vector plugin for data storage and indexing.
27
+ - One object storage Bucket.
28
+ - Lobe Chat database version.
29
+
30
+ Here is the process for deploying the Lobe Chat server database version on Sealos:
31
+
32
+ ## Pre-Deployment Setup
33
+
34
+ **Step 1**:Click the button below to deploy a Logto service:
35
+
36
+ [![](https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg)](https://template.usw.sealos.io/deploy?templateName=logto)
37
+
38
+ > Logto is an open-source identity and access management (IAM) platform, an open-source alternative to Auth0, designed to help developers quickly build secure and scalable login and registration systems and user identity systems.
39
+
40
+ **Step 2**:After the deployment is complete, wait for all the components of the application to be in the "Running" state, click the application's "Details" button to enter the application details page.
41
+
42
+ ![Logto application deployment status on Sealos](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-app-deployment-status-sealos-en.png)
43
+
44
+ Click the public address corresponding to port 3002, you can use the public address to access the Logto service.
45
+
46
+ ![Logto service public address](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-public-address-en.png)
47
+
48
+ **Step 3**:Register a management account, then click the `Applications` menu on the left, enter the application list page. Click the `Create application` button in the upper right corner to create an application.
49
+
50
+ ![Logto application list page](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-application-list.png)
51
+
52
+ Select `Next.js (App Router)` as the framework, then click the `Start building` button.
53
+
54
+ ![Logto create application page](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-create-application.png)
55
+
56
+ **Step 4**:In the pop-up window, fill in the application name as `Lobe Chat`, then click the `Create application` button. Next, do not fill in anything, just click the bottom `Finish and done` button to create it.
57
+
58
+ ![Logto create application done page](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-create-application-done.png)
59
+
60
+ **Step 5**:In the `Lobe Chat` application, find the following three parameters, which will be used later when deploying the Lobe Chat database version.
61
+
62
+ ![Logto application detail page](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-app-detail.png)
63
+
64
+ ## Deploy Lobe Chat Database Version
65
+
66
+ **Step 1**:Fill in the following three required parameters:
67
+
68
+ - `AUTH_LOGTO_ID`:The App ID of the Logto application
69
+ - `AUTH_LOGTO_SECRET`:The App Secret of the Logto application
70
+ - `AUTH_LOGTO_ISSUER`:The Issuer endpoint of the Logto application
71
+
72
+ **Step 2**:Click the `Deploy App` button, after the deployment is complete, wait for all the components of the application to be in the "Running" state, click the application's "Details" button to enter the application details page.
73
+
74
+ ![Lobe Chat database version deployment done page](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/lobe-chat-db-deployment-done-en.png)
75
+
76
+ **Step 3**:Find the public address, copy it, and use it later.
77
+
78
+ ## Post-Deployment Configuration
79
+
80
+ **Step 1**:Enter the `Applications` page of Logto, find the `Lobe Chat` application, click to enter the application details page.
81
+
82
+ **Step 2**:In the `Settings` page, find the `Redirect URI` and `Post sign-out redirect URI` parameters, fill in the following values:
83
+
84
+ - Redirect URI: `https://<lobe-chat-db-public-address>/api/auth/callback/logto`
85
+ - Post sign-out redirect URI: `https://<lobe-chat-db-public-address>`
86
+
87
+ **Step 3**:Click the `Save changes` button to save the configuration.
88
+
89
+ **Step 4**:Now, access the Lobe Chat database version through `https://<lobe-chat-db-public-address>`, click the avatar in the upper left corner, and then click the [Log in / Sign up] button.
90
+
91
+ **Step 5**:Next, you will be redirected to the Logto login page, click the [Create account] button to register an account.
92
+
93
+ **Step 6**:After registration, you can use Logto to login to the Lobe Chat database version.
14
94
 
15
- TODO
@@ -1,14 +1,114 @@
1
1
  ---
2
- title: 在 SealOS 上部署 LobeChat
3
- description: 学习如何在 SealOS 上部署 LobeChat,包括准备 OpenAI API Key、点击部署按钮、绑定自定义域名等操作。
2
+ title: 在 Sealos 上部署 LobeChat 数据库版
3
+ description: 学习如何在 Sealos 上部署 LobeChat,包括准备 OpenAI API Key、点击部署按钮、绑定自定义域名等操作。
4
4
  tags:
5
- - SealOS
5
+ - Sealos
6
6
  - LobeChat
7
7
  - OpenAI API Key
8
8
  - 部署流程
9
9
  - 自定义域名
10
10
  ---
11
11
 
12
- # 使用 SealOS 部署 LobeChat 数据库版
12
+ # 使用 Sealos 部署 LobeChat 数据库版
13
13
 
14
- TODO
14
+ <Callout type="info">
15
+ 本文假设你已经熟悉 Lobe Chat
16
+ 服务器数据库版的部署基本原理和流程,因此只包含与核心环境变量配置相关的内容。如果你对 Lobe Chat
17
+ 服务器数据库版的部署原理不熟悉,请先参考[部署服务器数据库](/zh/docs/self-hosting/server-database)。
18
+ </Callout>
19
+
20
+ 在 Sealos 的 Lobe Chat 数据库版应用中总共包含有以下四个服务:
21
+
22
+ - Logto 提供身份校验(需额外部署)
23
+ - 带有 Vector 插件的 PostgreSQL 来做数据存储和向量化
24
+ - 一个对象存储 Bucket
25
+ - LobeChat Database 的实例
26
+
27
+ 这里是在 Sealos 上部署 Lobe Chat 服务器数据库版的流程:
28
+
29
+ ## 预部署配置
30
+
31
+ 在开始部署之前,您需要完成以下配置:
32
+
33
+ <Steps>
34
+
35
+ ### 部署 Logto 服务
36
+
37
+ 点击下方按钮部署一个 Logto 服务:
38
+
39
+ [![](https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg)](https://template.hzh.sealos.run/deploy?templateName=logto)
40
+
41
+ > Logto 是一个开源的身份与访问管理(IAM)平台,是 Auth0 的开源替代方案,旨在帮助开发者快速构建安全、可扩展的登录注册系统和用户身份体系。
42
+
43
+ 部署完成后,等待应用的所有组件状态都变成“运行中”,点击应用的【详情】按钮,进入应用详情页面。
44
+
45
+ ![Logto 应用详情页面部署完成状态](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-app-deployment-status-sealos.png)
46
+
47
+ 点击 3002 端口对应的公网地址,即可使用公网域名访问 Logto 服务。
48
+
49
+ ![Logto 服务公网地址](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-public-address.png)
50
+
51
+ ### 创建 Application
52
+
53
+ 注册一个管理员账号,然后点击左侧的 `Applications` 菜单,进入应用列表页面。再点击右上角的 `Create application` 按钮创建应用。
54
+
55
+ ![Logto 应用列表页面](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-application-list.png)
56
+
57
+ 选择 `Next.js (App Router)` 作为框架,然后点击 `Start building` 按钮。
58
+
59
+ ![Logto 创建应用页面](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-create-application.png)
60
+
61
+ 在弹窗中填写应用的名称为 `Lobe Chat`,然后点击 `Create application` 按钮。接下来啥也不用填,直接点击底部的 `Finish and done` 按钮就创建完成了。
62
+
63
+ ![Logto 创建应用完成页面](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-create-application-done.png)
64
+
65
+ 在 `Lobe Chat` 应用中找到以下三个参数,后面部署 Lobe Chat 数据库版时需要用到。
66
+
67
+ ![Logto 应用详情页面](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-app-detail.png)
68
+
69
+ </Steps>
70
+
71
+ ## 部署 Lobe Chat 数据库版
72
+
73
+ 点击下方按钮访问 Lobe Chat 数据库版应用部署页面:
74
+
75
+ [![](https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg)](https://template.hzh.sealos.run/deploy?templateName=lobe-chat-db)
76
+
77
+ 填入三个必填参数:
78
+
79
+ - `AUTH_LOGTO_ID`:Logto 应用的 App ID
80
+ - `AUTH_LOGTO_SECRET`:Logto 应用的 App Secret
81
+ - `AUTH_LOGTO_ISSUER`:Logto 应用的 Issuer endpoint
82
+
83
+ 点击【部署】按钮,部署完成后,等待应用的所有组件状态都变成“运行中”,点击应用的【详情】按钮,进入应用详情页面。
84
+
85
+ ![Lobe Chat 数据库版部署完成页面](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/lobe-chat-db-deployment-done.png)
86
+
87
+ 找到公网地址,复制下来,后面需要用到。
88
+
89
+ ![Lobe Chat 数据库版公网地址](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/lobe-chat-db-public-address.png)
90
+
91
+ ## 部署后配置
92
+
93
+ 进入 Logto 的 `Applications` 页面,找到 `Lobe Chat` 应用,点击进入应用详情页面。
94
+
95
+ 在 `Settings` 页面中找到 “Redirect URI” 和 “Post sign-out redirect URI” 这两个参数,填入以下值:
96
+
97
+ - Redirect URI:`https://<lobe-chat-db-public-address>/api/auth/callback/logto`
98
+ - Post sign-out redirect URI:`https://<lobe-chat-db-public-address>`
99
+
100
+ 其中 `https://<lobe-chat-db-public-address>` 为 Lobe Chat 数据库版的公网地址。
101
+
102
+ 填完之后点击 `Save changes` 按钮保存配置。
103
+
104
+ 现在通过 `https://<lobe-chat-db-public-address>` 访问 Lobe Chat 数据库版,点击左上角的头像,然后点击【登录 / 注册】按钮:
105
+
106
+ ![Lobe Chat 数据库版登录页面](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/lobe-chat-db-login.png)
107
+
108
+ 接下来会跳转到 Logto 的登录页面,点击【注册】注册一个账号。
109
+
110
+ ![Lobe Chat 数据库版注册页面](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/lobe-chat-db-register.png)
111
+
112
+ 注册完成后,即可使用 Logto 登录 Lobe Chat 数据库版。
113
+
114
+ ![Lobe Chat 数据库版登录成功页面](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/lobe-chat-db-login-success.png)
@@ -2,13 +2,14 @@
2
2
  title: 构建属于自己的 LobeChat - 自选部署平台
3
3
  description: >-
4
4
  选择适合自己的部署平台,构建个性化的 Lobe Chat。支持 Docker、Docker
5
- Compose、Netlify、Railway、Repocloud、SealOS、Vercel 和 Zeabur 部署。
5
+ Compose、Netlify、Railway、Repocloud、Sealos、Vercel 和 Zeabur 部署。
6
6
  tags:
7
7
  - Lobe Chat
8
8
  - 部署平台
9
9
  - Docker
10
10
  - Netlify
11
11
  - Vercel
12
+ - Sealos
12
13
  - 阿里云计算巢
13
14
  - 个性化
14
15
  - 腾讯云
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.62.6",
3
+ "version": "1.62.7",
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,28 +1,216 @@
1
1
  import { AIChatModelCard } from '@/types/aiModel';
2
2
 
3
+ // modelInfo https://www.volcengine.com/docs/82379/1330310
4
+ // pricing https://console.volcengine.com/ark/region:ark+cn-beijing/openManagement
5
+
3
6
  const doubaoChatModels: AIChatModelCard[] = [
4
7
  {
5
8
  abilities: {
6
9
  reasoning: true,
7
10
  },
11
+ config: {
12
+ deploymentName: 'deepseek-r1-250120',
13
+ },
8
14
  contextWindowTokens: 65_536,
9
15
  description:
10
- '拥有极致的响应速度,更好的性价比,为客户不同场景提供更灵活的选择。支持 4k 上下文窗口的推理和精调。',
16
+ 'DeepSeek-R1 在后训练阶段大规模使用了强化学习技术,在仅有极少标注数据的情况下,极大提升了模型推理能力。在数学、代码、自然语言推理等任务上,性能比肩 OpenAI o1 正式版。',
11
17
  displayName: 'DeepSeek R1',
12
18
  enabled: true,
13
19
  id: 'deepseek-r1',
20
+ maxOutput: 8000,
21
+ pricing: {
22
+ currency: 'CNY',
23
+ input: 2, // 2.24 恢复原价 4, 16
24
+ output: 8,
25
+ },
26
+ type: 'chat',
27
+ },
28
+ {
29
+ abilities: {
30
+ reasoning: true,
31
+ },
32
+ config: {
33
+ deploymentName: 'deepseek-r1-distill-qwen-32b-250120',
34
+ },
35
+ contextWindowTokens: 32_768,
36
+ description:
37
+ 'DeepSeek-R1-Distill 模型是在开源模型的基础上通过微调训练得到的,训练过程中使用了由 DeepSeek-R1 生成的样本数据。',
38
+ displayName: 'DeepSeek R1 Distill Qwen 32B',
39
+ id: 'deepseek-r1-distill-qwen-32b',
40
+ maxOutput: 8000,
41
+ pricing: {
42
+ currency: 'CNY',
43
+ input: 1.5,
44
+ output: 6,
45
+ },
46
+ type: 'chat',
47
+ },
48
+ {
49
+ abilities: {
50
+ reasoning: true,
51
+ },
52
+ config: {
53
+ deploymentName: 'deepseek-r1-distill-qwen-7b-250120',
54
+ },
55
+ contextWindowTokens: 32_768,
56
+ description:
57
+ 'DeepSeek-R1-Distill 模型是在开源模型的基础上通过微调训练得到的,训练过程中使用了由 DeepSeek-R1 生成的样本数据。',
58
+ displayName: 'DeepSeek R1 Distill Qwen 7B',
59
+ id: 'deepseek-r1-distill-qwen-7b',
60
+ maxOutput: 8000,
61
+ pricing: {
62
+ currency: 'CNY',
63
+ input: 0.6,
64
+ output: 2.4,
65
+ },
14
66
  type: 'chat',
15
67
  },
16
68
  {
17
69
  abilities: {
18
70
  functionCall: true,
19
71
  },
72
+ config: {
73
+ deploymentName: 'deepseek-v3-241226',
74
+ },
20
75
  contextWindowTokens: 65_536,
21
76
  description:
22
77
  'DeepSeek-V3 是一款由深度求索公司自研的MoE模型。DeepSeek-V3 多项评测成绩超越了 Qwen2.5-72B 和 Llama-3.1-405B 等其他开源模型,并在性能上和世界顶尖的闭源模型 GPT-4o 以及 Claude-3.5-Sonnet 不分伯仲。',
23
78
  displayName: 'DeepSeek V3',
24
79
  enabled: true,
25
80
  id: 'deepseek-v3',
81
+ maxOutput: 8000,
82
+ pricing: {
83
+ currency: 'CNY',
84
+ input: 2,
85
+ output: 8,
86
+ },
87
+ type: 'chat',
88
+ },
89
+ {
90
+ abilities: {
91
+ functionCall: true,
92
+ },
93
+ config: {
94
+ deploymentName: 'doubao-1-5-pro-32k-250115',
95
+ },
96
+ contextWindowTokens: 32_768,
97
+ description:
98
+ 'Doubao-1.5-pro 全新一代主力模型,性能全面升级,在知识、代码、推理、等方面表现卓越。',
99
+ displayName: 'Doubao 1.5 Pro 32k',
100
+ enabled: true,
101
+ id: 'doubao-1.5-pro-32k',
102
+ maxOutput: 12_000,
103
+ pricing: {
104
+ currency: 'CNY',
105
+ input: 0.8,
106
+ output: 2,
107
+ },
108
+ type: 'chat',
109
+ },
110
+ {
111
+ abilities: {
112
+ functionCall: true,
113
+ },
114
+ config: {
115
+ deploymentName: 'doubao-1-5-pro-256k-250115',
116
+ },
117
+ contextWindowTokens: 32_768,
118
+ description:
119
+ 'Doubao-1.5-pro-256k 基于 Doubao-1.5-Pro 全面升级版,整体效果大幅提升 10%。支持 256k 上下文窗口的推理,输出长度支持最大 12k tokens。更高性能、更大窗口、超高性价比,适用于更广泛的应用场景。',
120
+ displayName: 'Doubao 1.5 Pro 256k',
121
+ enabled: true,
122
+ id: 'doubao-1.5-pro-256k',
123
+ maxOutput: 12_000,
124
+ pricing: {
125
+ currency: 'CNY',
126
+ input: 5,
127
+ output: 9,
128
+ },
129
+ type: 'chat',
130
+ },
131
+ {
132
+ abilities: {
133
+ functionCall: true,
134
+ },
135
+ config: {
136
+ deploymentName: 'doubao-1-5-lite-32k-250115',
137
+ },
138
+ contextWindowTokens: 32_768,
139
+ description:
140
+ 'Doubao-1.5-lite 全新一代轻量版模型,极致响应速度,效果与时延均达到全球一流水平。',
141
+ displayName: 'Doubao 1.5 Lite 32k',
142
+ enabled: true,
143
+ id: 'doubao-1.5-lite-32k',
144
+ maxOutput: 12_000,
145
+ pricing: {
146
+ currency: 'CNY',
147
+ input: 0.3,
148
+ output: 0.6,
149
+ },
150
+ type: 'chat',
151
+ },
152
+ {
153
+ abilities: {
154
+ vision: true,
155
+ },
156
+ config: {
157
+ deploymentName: 'doubao-1-5-vision-pro-32k-250115',
158
+ },
159
+ contextWindowTokens: 32_768,
160
+ description:
161
+ 'Doubao-1.5-vision-pro 全新升级的多模态大模型,支持任意分辨率和极端长宽比图像识别,增强视觉推理、文档识别、细节信息理解和指令遵循能力。',
162
+ displayName: 'Doubao 1.5 Vision Pro 32k',
163
+ enabled: true,
164
+ id: 'Doubao-1.5-vision-pro-32k',
165
+ maxOutput: 12_000,
166
+ pricing: {
167
+ currency: 'CNY',
168
+ input: 3,
169
+ output: 9,
170
+ },
171
+ releasedAt: '2025-01-15',
172
+ type: 'chat',
173
+ },
174
+ {
175
+ abilities: {
176
+ vision: true,
177
+ },
178
+ config: {
179
+ deploymentName: 'doubao-vision-pro-32k-241028',
180
+ },
181
+ contextWindowTokens: 32_768,
182
+ description:
183
+ 'Doubao-vision 模型是豆包推出的多模态大模型,具备强大的图片理解与推理能力,以及精准的指令理解能力。模型在图像文本信息抽取、基于图像的推理任务上有展现出了强大的性能,能够应用于更复杂、更广泛的视觉问答任务。',
184
+ displayName: 'Doubao Vision Pro 32k',
185
+ id: 'Doubao-vision-pro-32k',
186
+ maxOutput: 4096,
187
+ pricing: {
188
+ currency: 'CNY',
189
+ input: 3,
190
+ output: 9,
191
+ },
192
+ releasedAt: '2024-10-28',
193
+ type: 'chat',
194
+ },
195
+ {
196
+ abilities: {
197
+ vision: true,
198
+ },
199
+ config: {
200
+ deploymentName: 'doubao-vision-lite-32k-241015',
201
+ },
202
+ contextWindowTokens: 32_768,
203
+ description:
204
+ 'Doubao-vision 模型是豆包推出的多模态大模型,具备强大的图片理解与推理能力,以及精准的指令理解能力。模型在图像文本信息抽取、基于图像的推理任务上有展现出了强大的性能,能够应用于更复杂、更广泛的视觉问答任务。',
205
+ displayName: 'Doubao Vision Lite 32k',
206
+ id: 'Doubao-vision-lite-32k',
207
+ maxOutput: 4096,
208
+ pricing: {
209
+ currency: 'CNY',
210
+ input: 1.5,
211
+ output: 4.5,
212
+ },
213
+ releasedAt: '2024-10-15',
26
214
  type: 'chat',
27
215
  },
28
216
  {
@@ -31,22 +219,46 @@ const doubaoChatModels: AIChatModelCard[] = [
31
219
  '拥有极致的响应速度,更好的性价比,为客户不同场景提供更灵活的选择。支持 4k 上下文窗口的推理和精调。',
32
220
  displayName: 'Doubao Lite 4k',
33
221
  id: 'Doubao-lite-4k',
222
+ maxOutput: 4096,
223
+ pricing: {
224
+ currency: 'CNY',
225
+ input: 0.3,
226
+ output: 0.6,
227
+ },
34
228
  type: 'chat',
35
229
  },
36
230
  {
231
+ config: {
232
+ deploymentName: 'doubao-lite-32k-240828',
233
+ },
37
234
  contextWindowTokens: 32_768,
38
235
  description:
39
236
  '拥有极致的响应速度,更好的性价比,为客户不同场景提供更灵活的选择。支持 32k 上下文窗口的推理和精调。',
40
237
  displayName: 'Doubao Lite 32k',
41
238
  id: 'Doubao-lite-32k',
239
+ maxOutput: 4096,
240
+ pricing: {
241
+ currency: 'CNY',
242
+ input: 0.3,
243
+ output: 0.6,
244
+ },
42
245
  type: 'chat',
43
246
  },
44
247
  {
248
+ config: {
249
+ deploymentName: 'doubao-lite-128k-240828',
250
+ },
45
251
  contextWindowTokens: 128_000,
46
252
  description:
47
253
  '拥有极致的响应速度,更好的性价比,为客户不同场景提供更灵活的选择。支持 128k 上下文窗口的推理和精调。',
48
254
  displayName: 'Doubao Lite 128k',
49
255
  id: 'Doubao-lite-128k',
256
+ maxOutput: 4096,
257
+ pricing: {
258
+ currency: 'CNY',
259
+ input: 0.8,
260
+ output: 1,
261
+ },
50
262
  type: 'chat',
51
263
  },
52
264
  {
@@ -55,17 +267,29 @@ const doubaoChatModels: AIChatModelCard[] = [
55
267
  '效果最好的主力模型,适合处理复杂任务,在参考问答、总结摘要、创作、文本分类、角色扮演等场景都有很好的效果。支持 4k 上下文窗口的推理和精调。',
56
268
  displayName: 'Doubao Pro 4k',
57
269
  id: 'Doubao-pro-4k',
270
+ maxOutput: 4096,
271
+ pricing: {
272
+ currency: 'CNY',
273
+ input: 0.8,
274
+ output: 2,
275
+ },
58
276
  type: 'chat',
59
277
  },
60
278
  {
61
279
  config: {
62
- deploymentName: 'Doubao-pro-test',
280
+ deploymentName: 'doubao-pro-32k-241215',
63
281
  },
64
282
  contextWindowTokens: 32_768,
65
283
  description:
66
284
  '效果最好的主力模型,适合处理复杂任务,在参考问答、总结摘要、创作、文本分类、角色扮演等场景都有很好的效果。支持 32k 上下文窗口的推理和精调。',
67
285
  displayName: 'Doubao Pro 32k',
68
286
  id: 'Doubao-pro-32k',
287
+ maxOutput: 4096,
288
+ pricing: {
289
+ currency: 'CNY',
290
+ input: 0.8,
291
+ output: 2,
292
+ },
69
293
  type: 'chat',
70
294
  },
71
295
  {
@@ -74,6 +298,29 @@ const doubaoChatModels: AIChatModelCard[] = [
74
298
  '效果最好的主力模型,适合处理复杂任务,在参考问答、总结摘要、创作、文本分类、角色扮演等场景都有很好的效果。支持 128k 上下文窗口的推理和精调。',
75
299
  displayName: 'Doubao Pro 128k',
76
300
  id: 'Doubao-pro-128k',
301
+ maxOutput: 4096,
302
+ pricing: {
303
+ currency: 'CNY',
304
+ input: 5,
305
+ output: 9,
306
+ },
307
+ type: 'chat',
308
+ },
309
+ {
310
+ config: {
311
+ deploymentName: 'doubao-pro-256k-241115',
312
+ },
313
+ contextWindowTokens: 256_000,
314
+ description:
315
+ '效果最好的主力模型,适合处理复杂任务,在参考问答、总结摘要、创作、文本分类、角色扮演等场景都有很好的效果。支持 256k 上下文窗口的推理和精调。',
316
+ displayName: 'Doubao Pro 256k',
317
+ id: 'Doubao-pro-256k',
318
+ maxOutput: 4096,
319
+ pricing: {
320
+ currency: 'CNY',
321
+ input: 5,
322
+ output: 9,
323
+ },
77
324
  type: 'chat',
78
325
  },
79
326
  ];