@lobehub/chat 1.50.2 → 1.50.3
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 +25 -0
- package/changelog/v1.json +9 -0
- package/docs/self-hosting/server-database/docker-compose.mdx +31 -31
- package/docs/self-hosting/server-database/docker-compose.zh-CN.mdx +32 -32
- package/locales/ar/models.json +22 -34
- package/locales/bg-BG/models.json +22 -34
- package/locales/de-DE/models.json +22 -34
- package/locales/en-US/models.json +22 -34
- package/locales/es-ES/models.json +22 -34
- package/locales/fa-IR/models.json +22 -34
- package/locales/fr-FR/models.json +22 -34
- package/locales/it-IT/models.json +22 -34
- package/locales/ja-JP/models.json +22 -34
- package/locales/ko-KR/models.json +25 -38
- package/locales/nl-NL/models.json +22 -34
- package/locales/pl-PL/models.json +22 -34
- package/locales/pt-BR/models.json +22 -34
- package/locales/ru-RU/models.json +22 -34
- package/locales/tr-TR/models.json +22 -34
- package/locales/vi-VN/models.json +22 -34
- package/locales/zh-CN/models.json +39 -51
- package/locales/zh-TW/models.json +22 -34
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,31 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.50.3](https://github.com/lobehub/lobe-chat/compare/v1.50.2...v1.50.3)
|
6
|
+
|
7
|
+
<sup>Released on **2025-02-04**</sup>
|
8
|
+
|
9
|
+
#### 💄 Styles
|
10
|
+
|
11
|
+
- **misc**: Update model locale.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### Styles
|
19
|
+
|
20
|
+
- **misc**: Update model locale, closes [#5731](https://github.com/lobehub/lobe-chat/issues/5731) ([d3d26d7](https://github.com/lobehub/lobe-chat/commit/d3d26d7))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
5
30
|
### [Version 1.50.2](https://github.com/lobehub/lobe-chat/compare/v1.50.1...v1.50.2)
|
6
31
|
|
7
32
|
<sup>Released on **2025-02-04**</sup>
|
package/changelog/v1.json
CHANGED
@@ -198,12 +198,12 @@ The script supports the following deployment modes; please choose the appropriat
|
|
198
198
|
|
199
199
|
In domain mode, you need to complete the reverse proxy configuration and ensure that the LAN/public can access the following services. Please use a reverse proxy to map the following service ports to the domain names:
|
200
200
|
|
201
|
-
| Domain
|
202
|
-
|
|
203
|
-
| `lobe.example.com`
|
204
|
-
| `auth
|
205
|
-
| `
|
206
|
-
| `
|
201
|
+
| Domain | Proxy Port | Required |
|
202
|
+
| ---------------------- | ---------- | -------- |
|
203
|
+
| `lobe.example.com` | `3210` | Yes |
|
204
|
+
| `auth.example.com` | `8000` | Yes |
|
205
|
+
| `minio.example.com` | `9000` | Yes |
|
206
|
+
| `minio-ui.example.com` | `9001` | |
|
207
207
|
|
208
208
|
<Callout type="important">
|
209
209
|
If you are using panel software like [APanel](https://www.bt.cn/) for reverse proxy configuration,
|
@@ -226,8 +226,8 @@ The script supports the following deployment modes; please choose the appropriat
|
|
226
226
|
In domain mode, you need to complete the following configurations based on script prompts:
|
227
227
|
|
228
228
|
- Domain setup for the LobeChat service: `lobe.example.com`
|
229
|
-
- Domain setup for the Minio service: `
|
230
|
-
- Domain setup for the Casdoor service: `auth
|
229
|
+
- Domain setup for the Minio service: `minio.example.com`
|
230
|
+
- Domain setup for the Casdoor service: `auth.example.com`
|
231
231
|
- Choose the access protocol: `http` or `https`
|
232
232
|
- Regenerate secure keys: We highly recommend regenerating the secure keys; if you lack the key generation library required by the script, we suggest referring to the [Custom Deployment](#custom-deployment) section for key modifications.
|
233
233
|
|
@@ -256,11 +256,11 @@ The script supports the following deployment modes; please choose the appropriat
|
|
256
256
|
- Username: user
|
257
257
|
- Password: 837e26
|
258
258
|
Casdoor:
|
259
|
-
- URL: https://auth
|
259
|
+
- URL: https://auth.example.com
|
260
260
|
- Username: admin
|
261
261
|
- Password: 837e26
|
262
262
|
Minio:
|
263
|
-
- URL: https://
|
263
|
+
- URL: https://minio.example.com
|
264
264
|
- Username: admin
|
265
265
|
- Password: dbac8440
|
266
266
|
```
|
@@ -336,7 +336,7 @@ Now, we will introduce the necessary configurations for running these services:
|
|
336
336
|
- LobeChat requires communication with Casdoor, so you need to configure Casdoor's Issuer.
|
337
337
|
|
338
338
|
```env
|
339
|
-
AUTH_CASDOOR_ISSUER=https://auth
|
339
|
+
AUTH_CASDOOR_ISSUER=https://auth.example.com
|
340
340
|
```
|
341
341
|
|
342
342
|
This configuration will affect LobeChat's login authentication service, and you need to ensure that the URL of the Casdoor service is correct. You can find common manifestations and solutions for errors in this configuration in the [FAQ](#faq).
|
@@ -346,13 +346,13 @@ This configuration will affect LobeChat's login authentication service, and you
|
|
346
346
|
Please add a line in the `Authentication -> Application` -> `<Application ID, default is app-built-in>` -> `Redirect URI` in Casdoor's web panel:
|
347
347
|
|
348
348
|
```
|
349
|
-
https://auth
|
349
|
+
https://auth.example.com/api/auth/callback/casdoor
|
350
350
|
```
|
351
351
|
|
352
352
|
- Casdoor needs to provide the Origin information for access in the environment variables:
|
353
353
|
|
354
354
|
```env
|
355
|
-
origin=https://auth
|
355
|
+
origin=https://auth.example.com
|
356
356
|
```
|
357
357
|
|
358
358
|
2. MinIO
|
@@ -360,8 +360,8 @@ origin=https://auth-ui.example.com
|
|
360
360
|
- LobeChat needs to provide a public access URL for object files for the LLM service provider, hence you need to configure MinIO's Endpoint.
|
361
361
|
|
362
362
|
```env
|
363
|
-
S3_PUBLIC_DOMAIN=https://
|
364
|
-
S3_ENDPOINT=https://
|
363
|
+
S3_PUBLIC_DOMAIN=https://minio.example.com
|
364
|
+
S3_ENDPOINT=https://minio.example.com
|
365
365
|
```
|
366
366
|
|
367
367
|
3. PostgreSQL
|
@@ -397,9 +397,9 @@ Solutions:
|
|
397
397
|
|
398
398
|
- Please refer to the reverse proxy configuration notes in the [Domain Mode](#domain-mode) section.
|
399
399
|
|
400
|
-
- A direct troubleshooting method is to access `https://auth
|
400
|
+
- A direct troubleshooting method is to access `https://auth.example.com/.well-known/openid-configuration` directly; if:
|
401
401
|
- Non-JSON format data is returned, it indicates your reverse proxy configuration is incorrect.
|
402
|
-
- If the returned JSON format data contains an `"issuer": "URL"` field that does not match your configured `https://auth
|
402
|
+
- If the returned JSON format data contains an `"issuer": "URL"` field that does not match your configured `https://auth.example.com`, it indicates your environment variable configuration is incorrect.
|
403
403
|
|
404
404
|
- TypeError: fetch failed
|
405
405
|
|
@@ -413,7 +413,7 @@ Solutions:
|
|
413
413
|
|
414
414
|
- Check whether your authentication service is running properly and whether LobeChat's network can reach the authentication service.
|
415
415
|
|
416
|
-
- A straightforward troubleshooting method is to use the `curl` command in the LobeChat container terminal to access your authentication service at `https://auth
|
416
|
+
- A straightforward troubleshooting method is to use the `curl` command in the LobeChat container terminal to access your authentication service at `https://auth.example.com/.well-known/openid-configuration`. If JSON format data is returned, it indicates your authentication service is functioning correctly.
|
417
417
|
|
418
418
|
````markdown
|
419
419
|
## Extended Configuration
|
@@ -490,9 +490,9 @@ In the following, it is assumed that in addition to the above services, you are
|
|
490
490
|
The domain and corresponding service port descriptions are as follows:
|
491
491
|
|
492
492
|
- `lobe.example.com`: This is your LobeChat service domain, which needs to reverse proxy to the LobeChat service port, default is `3210`.
|
493
|
-
- `auth
|
494
|
-
- `
|
495
|
-
- `
|
493
|
+
- `auth.example.com`: This is your Logto UI domain, which needs to reverse proxy to the Logto WebUI service port, default is `8000`.
|
494
|
+
- `minio.example.com`: This is your MinIO API domain, which needs to reverse proxy to the MinIO API service port, default is `9000`.
|
495
|
+
- `minio-ui.example.com`: Optional, this is your MinIO UI domain, which needs to reverse proxy to the MinIO WebUI service port, default is `9001`.
|
496
496
|
|
497
497
|
#### Configuration File
|
498
498
|
|
@@ -518,7 +518,7 @@ Next, modify the configuration files to achieve domain release.
|
|
518
518
|
```
|
519
519
|
2. Modify the `origin` field of `casdoor`.
|
520
520
|
```yaml
|
521
|
-
origin: 'https://auth
|
521
|
+
origin: 'https://auth.example.com'
|
522
522
|
```
|
523
523
|
3. Modify the `environment` field of `lobe`.
|
524
524
|
```yaml
|
@@ -532,15 +532,15 @@ Next, modify the configuration files to achieve domain release.
|
|
532
532
|
- 'AUTH_URL=https://lobe.example.com/api/auth'
|
533
533
|
|
534
534
|
# - 'AUTH_CASDOOR_ISSUER=http://localhost:${CASDOOR_PORT}'
|
535
|
-
- 'AUTH_CASDOOR_ISSUER=https://auth
|
535
|
+
- 'AUTH_CASDOOR_ISSUER=https://auth.example.com'
|
536
536
|
|
537
537
|
- 'DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgresql:5432/${LOBE_DB_NAME}'
|
538
538
|
# - 'S3_ENDPOINT=http://localhost:${MINIO_PORT}'
|
539
|
-
- 'S3_ENDPOINT=https://
|
539
|
+
- 'S3_ENDPOINT=https://minio.example.com'
|
540
540
|
|
541
541
|
- 'S3_BUCKET=${MINIO_LOBE_BUCKET}'
|
542
542
|
# - 'S3_PUBLIC_DOMAIN=http://localhost:${MINIO_PORT}'
|
543
|
-
- 'S3_PUBLIC_DOMAIN=https://
|
543
|
+
- 'S3_PUBLIC_DOMAIN=https://minio.example.com'
|
544
544
|
|
545
545
|
- 'S3_ENABLE_PATH_STYLE=1'
|
546
546
|
- 'LLM_VISION_IMAGE_USE_BASE64=1'
|
@@ -582,7 +582,7 @@ docker compose up -d # Restart
|
|
582
582
|
|
583
583
|
You first need to access the WebUI for configuration:
|
584
584
|
|
585
|
-
- If you have set up the reverse proxy as mentioned before, open `https://auth
|
585
|
+
- If you have set up the reverse proxy as mentioned before, open `https://auth.example.com`
|
586
586
|
- Otherwise, after port mapping, open `http://localhost:8000`
|
587
587
|
|
588
588
|
Log in to the admin account:
|
@@ -621,7 +621,7 @@ This article uses MinIO as an example to explain the configuration process. If y
|
|
621
621
|
|
622
622
|
You first need to access the WebUI for configuration:
|
623
623
|
|
624
|
-
- If you have set up the reverse proxy as mentioned before, open `https://
|
624
|
+
- If you have set up the reverse proxy as mentioned before, open `https://minio-ui.example.com`
|
625
625
|
- Otherwise, after port mapping, open `http://localhost:9001`
|
626
626
|
|
627
627
|
1. Enter the `MINIO_ROOT_USER` and `MINIO_ROOT_PASSWORD` you set in the login interface, then click login.
|
@@ -745,7 +745,7 @@ services:
|
|
745
745
|
driverName: 'postgres'
|
746
746
|
dataSourceName: 'user=postgres password=${POSTGRES_PASSWORD} host=postgresql port=5432 sslmode=disable dbname=casdoor'
|
747
747
|
# origin: 'http://localhost:${CASDOOR_PORT}'
|
748
|
-
origin: 'https://auth
|
748
|
+
origin: 'https://auth.example.com'
|
749
749
|
runmode: 'dev'
|
750
750
|
volumes:
|
751
751
|
- ./init_data.json:/init_data.json
|
@@ -775,15 +775,15 @@ services:
|
|
775
775
|
- 'AUTH_URL=https://lobe.example.com/api/auth'
|
776
776
|
|
777
777
|
# - 'AUTH_CASDOOR_ISSUER=http://localhost:${CASDOOR_PORT}'
|
778
|
-
- 'AUTH_CASDOOR_ISSUER=https://auth
|
778
|
+
- 'AUTH_CASDOOR_ISSUER=https://auth.example.com'
|
779
779
|
|
780
780
|
- 'DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgresql:5432/${LOBE_DB_NAME}'
|
781
781
|
# - 'S3_ENDPOINT=http://localhost:${MINIO_PORT}'
|
782
|
-
- 'S3_ENDPOINT=https://
|
782
|
+
- 'S3_ENDPOINT=https://minio.example.com'
|
783
783
|
|
784
784
|
- 'S3_BUCKET=${MINIO_LOBE_BUCKET}'
|
785
785
|
# - 'S3_PUBLIC_DOMAIN=http://localhost:${MINIO_PORT}'
|
786
|
-
- 'S3_PUBLIC_DOMAIN=https://
|
786
|
+
- 'S3_PUBLIC_DOMAIN=https://minio.example.com'
|
787
787
|
|
788
788
|
- 'S3_ENABLE_PATH_STYLE=1'
|
789
789
|
- 'LLM_VISION_IMAGE_USE_BASE64=1'
|
@@ -199,12 +199,12 @@ bash <(curl -fsSL https://lobe.li/setup.sh) -l zh_CN
|
|
199
199
|
|
200
200
|
在域名模式中,你需要完成反向代理配置,并确保局域网 / 公网能访问到以下服务。请使用反向代理将以下服务端口映射到域名:
|
201
201
|
|
202
|
-
| 域名
|
203
|
-
|
|
204
|
-
| `lobe.example.com`
|
205
|
-
| `auth
|
206
|
-
| `
|
207
|
-
| `
|
202
|
+
| 域名 | 反代端口 | 是否必选 |
|
203
|
+
| ---------------------- | ------ | ---- |
|
204
|
+
| `lobe.example.com` | `3210` | 必选 |
|
205
|
+
| `auth.example.com` | `8000` | 必选 |
|
206
|
+
| `minio.example.com` | `9000` | 必选 |
|
207
|
+
| `minio-ui.example.com` | `9001` | |
|
208
208
|
|
209
209
|
<Callout type="important">
|
210
210
|
如果你使用如 [宝塔面板](https://www.bt.cn/) 等面板软件进行反向代理配置,
|
@@ -227,8 +227,8 @@ bash <(curl -fsSL https://lobe.li/setup.sh) -l zh_CN
|
|
227
227
|
在域名模式中,你需要根据脚本提示完成:
|
228
228
|
|
229
229
|
- LobeChat 服务的域名设置:`lobe.example.com`
|
230
|
-
- Minio 服务的域名设置:`
|
231
|
-
- Casdoor 服务的域名设置:`auth
|
230
|
+
- Minio 服务的域名设置:`minio.example.com`
|
231
|
+
- Casdoor 服务的域名设置:`auth.example.com`
|
232
232
|
- 选择访问协议:`http` 或 `https`
|
233
233
|
- 安全密钥重新生成:我们强烈建议你重新生成安全密钥,如果你缺少脚本所需的密钥生成库,我们建议你参考 [自定义部署](#自定义部署) 章节对密钥进行修改。
|
234
234
|
|
@@ -257,11 +257,11 @@ bash <(curl -fsSL https://lobe.li/setup.sh) -l zh_CN
|
|
257
257
|
- Username: user
|
258
258
|
- Password: 837e26
|
259
259
|
Casdoor:
|
260
|
-
- URL: https://auth
|
260
|
+
- URL: https://auth.example.com
|
261
261
|
- Username: admin
|
262
262
|
- Password: 837e26
|
263
263
|
Minio:
|
264
|
-
- URL: https://
|
264
|
+
- URL: https://minio.example.com
|
265
265
|
- Username: admin
|
266
266
|
- Password: dbac8440
|
267
267
|
```
|
@@ -338,7 +338,7 @@ mv .env.zh-CN.example .env
|
|
338
338
|
- LobeChat 需要与 Casdoor 通讯,因此你需要配置 Casdoor 的 Issuer 。
|
339
339
|
|
340
340
|
```env
|
341
|
-
AUTH_CASDOOR_ISSUER=https://auth
|
341
|
+
AUTH_CASDOOR_ISSUER=https://auth.example.com
|
342
342
|
```
|
343
343
|
|
344
344
|
该配置会影响 LobeChat 的登录鉴权服务,你需要确保 Casdoor 服务的地址正确。
|
@@ -349,13 +349,13 @@ AUTH_CASDOOR_ISSUER=https://auth-ui.example.com
|
|
349
349
|
请在 Casdoor 的 Web 面板的 `身份认证 -> 应用` -> `<应用ID,默认为 app-built-in>` -> `重定向URL` 中添加一行:
|
350
350
|
|
351
351
|
```
|
352
|
-
https://auth
|
352
|
+
https://auth.example.com/api/auth/callback/casdoor
|
353
353
|
```
|
354
354
|
|
355
355
|
- Casdoor 需要在环境变量中提供访问的 Origin 信息:
|
356
356
|
|
357
357
|
```env
|
358
|
-
origin=https://auth
|
358
|
+
origin=https://auth.example.com
|
359
359
|
```
|
360
360
|
|
361
361
|
2. MinIO
|
@@ -363,8 +363,8 @@ origin=https://auth-ui.example.com
|
|
363
363
|
- LobeChat 需要为 LLM 服务提供商提供文件对象的公网访问地址,因此你需要配置 MinIO 的 Endpoint 。
|
364
364
|
|
365
365
|
```env
|
366
|
-
S3_PUBLIC_DOMAIN=https://
|
367
|
-
S3_ENDPOINT=https://
|
366
|
+
S3_PUBLIC_DOMAIN=https://minio.example.com
|
367
|
+
S3_ENDPOINT=https://minio.example.com
|
368
368
|
```
|
369
369
|
|
370
370
|
3. PostgreSQL
|
@@ -400,9 +400,9 @@ lobe-chat | [auth][error] r3: "response" is not a conform Authorization Ser
|
|
400
400
|
|
401
401
|
- 请参考 [域名模式](#域名模式) 章节中的反向代理配置注意事项。
|
402
402
|
|
403
|
-
- 一个直接的排查方式,你可以直接访问 `https://auth
|
403
|
+
- 一个直接的排查方式,你可以直接访问 `https://auth.example.com/.well-known/openid-configuration`,如果
|
404
404
|
- 返回了非 JSON 格式的数据,则说明你的反向代理配置错误。
|
405
|
-
- 如果返回的 JSON 格式数据中的 `"issuer": "URL"` 字段不是你配置的 `https://auth
|
405
|
+
- 如果返回的 JSON 格式数据中的 `"issuer": "URL"` 字段不是你配置的 `https://auth.example.com`,则说明你的环境变量配置错误。
|
406
406
|
|
407
407
|
- TypeError: fetch failed
|
408
408
|
|
@@ -416,7 +416,7 @@ lobe-chat | [auth][error] TypeError: fetch failed
|
|
416
416
|
|
417
417
|
- 请检查你的鉴权服务是否正常运行,以及 LobeChat 所在的网络是否能够访问到鉴权服务。
|
418
418
|
|
419
|
-
- 一个直接的排查方式,你可以在 LobeChat 容器的终端中,使用 `curl` 命令访问你的鉴权服务 `https://auth
|
419
|
+
- 一个直接的排查方式,你可以在 LobeChat 容器的终端中,使用 `curl` 命令访问你的鉴权服务 `https://auth.example.com/.well-known/openid-configuration`,如果返回了 JSON 格式的数据,则说明你的鉴权服务正常运行。
|
420
420
|
|
421
421
|
## 拓展配置
|
422
422
|
|
@@ -494,14 +494,14 @@ lobe-chat | [auth][error] TypeError: fetch failed
|
|
494
494
|
域名和配套服务端口说明如下:
|
495
495
|
|
496
496
|
- `lobe.example.com`:为你的 LobeChat 服务端域名,需要反向代理到 LobeChat 服务端口,默认为 `3210`
|
497
|
-
- `auth
|
498
|
-
- `
|
499
|
-
- `
|
497
|
+
- `auth.example.com`:为你的 Logto UI 域名,需要反向代理到 Logto WebUI 服务端口,默认为 `8000`
|
498
|
+
- `minio.example.com`:为你的 MinIO API 域名,需要反向代理到 MinIO API 服务端口,默认为 `9000`
|
499
|
+
- `minio-ui.example.com`:可选,为你的 MinIO UI 域名,需要反向代理到 MinIO WebUI 服务端口,默认为 `9001`
|
500
500
|
|
501
501
|
#### 配置文件
|
502
502
|
|
503
503
|
```sh
|
504
|
-
bash <(curl -fsSL https://
|
504
|
+
bash <(curl -fsSL https://lobe.li/setup.sh) -l zh_CN
|
505
505
|
docker compose up -d
|
506
506
|
```
|
507
507
|
|
@@ -522,7 +522,7 @@ docker compose up -d
|
|
522
522
|
```
|
523
523
|
2. 修改`casdoor`的`origin`字段。
|
524
524
|
```yaml
|
525
|
-
origin: 'https://auth
|
525
|
+
origin: 'https://auth.example.com'
|
526
526
|
```
|
527
527
|
3. 修改`lobe`的`environment`字段。
|
528
528
|
```yaml
|
@@ -536,15 +536,15 @@ docker compose up -d
|
|
536
536
|
- 'AUTH_URL=https://lobe.example.com/api/auth'
|
537
537
|
|
538
538
|
# - 'AUTH_CASDOOR_ISSUER=http://localhost:${CASDOOR_PORT}'
|
539
|
-
- 'AUTH_CASDOOR_ISSUER=https://auth
|
539
|
+
- 'AUTH_CASDOOR_ISSUER=https://auth.example.com'
|
540
540
|
|
541
541
|
- 'DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgresql:5432/${LOBE_DB_NAME}'
|
542
542
|
# - 'S3_ENDPOINT=http://localhost:${MINIO_PORT}'
|
543
|
-
- 'S3_ENDPOINT=https://
|
543
|
+
- 'S3_ENDPOINT=https://minio.example.com'
|
544
544
|
|
545
545
|
- 'S3_BUCKET=${MINIO_LOBE_BUCKET}'
|
546
546
|
# - 'S3_PUBLIC_DOMAIN=http://localhost:${MINIO_PORT}'
|
547
|
-
- 'S3_PUBLIC_DOMAIN=https://
|
547
|
+
- 'S3_PUBLIC_DOMAIN=https://minio.example.com'
|
548
548
|
|
549
549
|
- 'S3_ENABLE_PATH_STYLE=1'
|
550
550
|
- 'LLM_VISION_IMAGE_USE_BASE64=1'
|
@@ -588,7 +588,7 @@ docker compose up -d # 重新启动
|
|
588
588
|
|
589
589
|
你需要首先访问 WebUI 来进行配置:
|
590
590
|
|
591
|
-
- 如果你按照前文配置了反向代理,打开 `https://auth
|
591
|
+
- 如果你按照前文配置了反向代理,打开 `https://auth.example.com`
|
592
592
|
- 否则,请在进行端口映射后,打开 `http://localhost:8000`
|
593
593
|
|
594
594
|
登录管理员账户
|
@@ -627,7 +627,7 @@ docker compose up -d # 重新启动
|
|
627
627
|
|
628
628
|
你需要首先访问 WebUI 来进行配置:
|
629
629
|
|
630
|
-
- 如果你按照前文配置了反向代理,打开 `https://
|
630
|
+
- 如果你按照前文配置了反向代理,打开 `https://minio-ui.example.com`
|
631
631
|
- 否则,请在进行端口映射后,打开 `http://localhost:9001`
|
632
632
|
|
633
633
|
1. 在登录界面输入你设置的 `MINIO_ROOT_USER` 和 `MINIO_ROOT_PASSWORD`,然后点击登录
|
@@ -754,7 +754,7 @@ services:
|
|
754
754
|
driverName: 'postgres'
|
755
755
|
dataSourceName: 'user=postgres password=${POSTGRES_PASSWORD} host=postgresql port=5432 sslmode=disable dbname=casdoor'
|
756
756
|
# origin: 'http://localhost:${CASDOOR_PORT}'
|
757
|
-
origin: 'https://auth
|
757
|
+
origin: 'https://auth.example.com'
|
758
758
|
runmode: 'dev'
|
759
759
|
volumes:
|
760
760
|
- ./init_data.json:/init_data.json
|
@@ -784,15 +784,15 @@ services:
|
|
784
784
|
- 'AUTH_URL=https://lobe.example.com/api/auth'
|
785
785
|
|
786
786
|
# - 'AUTH_CASDOOR_ISSUER=http://localhost:${CASDOOR_PORT}'
|
787
|
-
- 'AUTH_CASDOOR_ISSUER=https://auth
|
787
|
+
- 'AUTH_CASDOOR_ISSUER=https://auth.example.com'
|
788
788
|
|
789
789
|
- 'DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgresql:5432/${LOBE_DB_NAME}'
|
790
790
|
# - 'S3_ENDPOINT=http://localhost:${MINIO_PORT}'
|
791
|
-
- 'S3_ENDPOINT=https://
|
791
|
+
- 'S3_ENDPOINT=https://minio.example.com'
|
792
792
|
|
793
793
|
- 'S3_BUCKET=${MINIO_LOBE_BUCKET}'
|
794
794
|
# - 'S3_PUBLIC_DOMAIN=http://localhost:${MINIO_PORT}'
|
795
|
-
- 'S3_PUBLIC_DOMAIN=https://
|
795
|
+
- 'S3_PUBLIC_DOMAIN=https://minio.example.com'
|
796
796
|
|
797
797
|
- 'S3_ENABLE_PATH_STYLE=1'
|
798
798
|
- 'LLM_VISION_IMAGE_USE_BASE64=1'
|
package/locales/ar/models.json
CHANGED
@@ -323,21 +323,15 @@
|
|
323
323
|
"abab7-chat-preview": {
|
324
324
|
"description": "تحسين كبير في قدرات النموذج مقارنة بسلسلة abab6.5 في النصوص الطويلة، الرياضيات، والكتابة."
|
325
325
|
},
|
326
|
-
"accounts/fireworks/models/
|
327
|
-
"description": "نموذج
|
326
|
+
"accounts/fireworks/models/deepseek-r1": {
|
327
|
+
"description": "DeepSeek-R1 هو نموذج لغة كبير متقدم، تم تحسينه من خلال التعلم المعزز وبيانات البدء البارد، ويتميز بأداء ممتاز في الاستدلال، والرياضيات، والبرمجة."
|
328
328
|
},
|
329
|
-
"accounts/fireworks/models/
|
330
|
-
"description": "
|
331
|
-
},
|
332
|
-
"accounts/fireworks/models/firellava-13b": {
|
333
|
-
"description": "fireworks-ai/FireLLaVA-13b هو نموذج لغوي بصري، يمكنه استقبال المدخلات من الصور والنصوص، تم تدريبه على بيانات عالية الجودة، مناسب للمهام متعددة الوسائط."
|
329
|
+
"accounts/fireworks/models/deepseek-v3": {
|
330
|
+
"description": "نموذج اللغة القوي من Deepseek، الذي يعتمد على مزيج من الخبراء (MoE)، بإجمالي عدد معلمات يبلغ 671 مليار، حيث يتم تفعيل 37 مليار معلمة لكل علامة."
|
334
331
|
},
|
335
332
|
"accounts/fireworks/models/llama-v3-70b-instruct": {
|
336
333
|
"description": "نموذج Llama 3 70B للتعليمات، مصمم للحوار متعدد اللغات وفهم اللغة الطبيعية، أداءه يتفوق على معظم النماذج المنافسة."
|
337
334
|
},
|
338
|
-
"accounts/fireworks/models/llama-v3-70b-instruct-hf": {
|
339
|
-
"description": "نموذج Llama 3 70B للتعليمات (نسخة HF)، يتوافق مع نتائج التنفيذ الرسمية، مناسب لمهام اتباع التعليمات عالية الجودة."
|
340
|
-
},
|
341
335
|
"accounts/fireworks/models/llama-v3-8b-instruct": {
|
342
336
|
"description": "نموذج Llama 3 8B للتعليمات، تم تحسينه للحوار والمهام متعددة اللغات، يظهر أداءً ممتازًا وفعالًا."
|
343
337
|
},
|
@@ -356,24 +350,24 @@
|
|
356
350
|
"accounts/fireworks/models/llama-v3p2-11b-vision-instruct": {
|
357
351
|
"description": "نموذج استدلال الصور المعدل من Meta ذو 11B معلمات. تم تحسين هذا النموذج للتعرف البصري، واستدلال الصور، ووصف الصور، والإجابة عن الأسئلة العامة المتعلقة بالصور. يستطيع النموذج فهم البيانات البصرية مثل الرسوم البيانية والرسوم، ويسد الفجوة بين الرؤية واللغة من خلال توليد أوصاف نصية لجزئيات الصور."
|
358
352
|
},
|
359
|
-
"accounts/fireworks/models/llama-v3p2-1b-instruct": {
|
360
|
-
"description": "نموذج التوجيه Llama 3.2 1B هو نموذج متعدد اللغات خفيف الوزن قدمته Meta. يهدف هذا النموذج إلى زيادة الكفاءة، مع تحسينات ملحوظة في التأخير والتكلفة مقارنة بالنماذج الأكبر. تشمل حالات الاستخدام النموذجية لهذا النموذج الاسترجاع والتلخيص."
|
361
|
-
},
|
362
353
|
"accounts/fireworks/models/llama-v3p2-3b-instruct": {
|
363
354
|
"description": "نموذج التوجيه Llama 3.2 3B هو نموذج متعدد اللغات خفيف الوزن قدمته Meta. يهدف هذا النموذج إلى زيادة الكفاءة، مع تحسينات ملحوظة في التأخير والتكلفة مقارنة بالنماذج الأكبر. تشمل حالات الاستخدام النموذجية لهذا النموذج الاستفسارات وإعادة كتابة الملاحظات والمساعدة في الكتابة."
|
364
355
|
},
|
365
356
|
"accounts/fireworks/models/llama-v3p2-90b-vision-instruct": {
|
366
357
|
"description": "نموذج استدلال الصور المعدل من Meta ذو 90B معلمات. تم تحسين هذا النموذج للتعرف البصري، واستدلال الصور، ووصف الصور، والإجابة عن الأسئلة العامة المتعلقة بالصور. يستطيع النموذج فهم البيانات البصرية مثل الرسوم البيانية والرسوم، ويسد الفجوة بين الرؤية واللغة من خلال توليد أوصاف نصية لجزئيات الصور."
|
367
358
|
},
|
359
|
+
"accounts/fireworks/models/llama-v3p3-70b-instruct": {
|
360
|
+
"description": "Llama 3.3 70B Instruct هو الإصدار المحدث من Llama 3.1 70B في ديسمبر. تم تحسين هذا النموذج بناءً على Llama 3.1 70B (الذي تم إصداره في يوليو 2024) لتعزيز استدعاء الأدوات، ودعم النصوص متعددة اللغات، والقدرات الرياضية وبرمجة. لقد حقق هذا النموذج مستويات رائدة في الصناعة في الاستدلال، والرياضيات، واتباع التعليمات، ويستطيع تقديم أداء مشابه لـ 3.1 405B، مع مزايا ملحوظة في السرعة والتكلفة."
|
361
|
+
},
|
362
|
+
"accounts/fireworks/models/mistral-small-24b-instruct-2501": {
|
363
|
+
"description": "نموذج بـ 24 مليار معلمة، يتمتع بقدرات متقدمة تعادل النماذج الأكبر حجماً."
|
364
|
+
},
|
368
365
|
"accounts/fireworks/models/mixtral-8x22b-instruct": {
|
369
366
|
"description": "نموذج Mixtral MoE 8x22B للتعليمات، مع معلمات ضخمة وهيكل خبير متعدد، يدعم معالجة فعالة لمهام معقدة."
|
370
367
|
},
|
371
368
|
"accounts/fireworks/models/mixtral-8x7b-instruct": {
|
372
369
|
"description": "نموذج Mixtral MoE 8x7B للتعليمات، يوفر هيكل خبير متعدد لتقديم تعليمات فعالة واتباعها."
|
373
370
|
},
|
374
|
-
"accounts/fireworks/models/mixtral-8x7b-instruct-hf": {
|
375
|
-
"description": "نموذج Mixtral MoE 8x7B للتعليمات (نسخة HF)، الأداء يتوافق مع التنفيذ الرسمي، مناسب لمجموعة متنوعة من سيناريوهات المهام الفعالة."
|
376
|
-
},
|
377
371
|
"accounts/fireworks/models/mythomax-l2-13b": {
|
378
372
|
"description": "نموذج MythoMax L2 13B، يجمع بين تقنيات الدمج الجديدة، بارع في السرد وأدوار الشخصيات."
|
379
373
|
},
|
@@ -383,18 +377,15 @@
|
|
383
377
|
"accounts/fireworks/models/qwen-qwq-32b-preview": {
|
384
378
|
"description": "نموذج QwQ هو نموذج بحث تجريبي تم تطويره بواسطة فريق Qwen، يركز على تعزيز قدرات الاستدلال للذكاء الاصطناعي."
|
385
379
|
},
|
380
|
+
"accounts/fireworks/models/qwen2-vl-72b-instruct": {
|
381
|
+
"description": "الإصدار 72B من نموذج Qwen-VL هو نتيجة أحدث ابتكارات Alibaba، ويمثل ما يقرب من عام من الابتكار."
|
382
|
+
},
|
386
383
|
"accounts/fireworks/models/qwen2p5-72b-instruct": {
|
387
384
|
"description": "Qwen2.5 هي سلسلة من نماذج اللغة التي طورتها مجموعة Qwen من علي بابا، تحتوي فقط على شريحة فك شفرات. توفر هذه النماذج أحجامًا مختلفة، بما في ذلك 0.5B، 1.5B، 3B، 7B، 14B، 32B و72B، وتأتي بنسخ أساسية (base) ونماذج توجيهية (instruct)."
|
388
385
|
},
|
389
386
|
"accounts/fireworks/models/qwen2p5-coder-32b-instruct": {
|
390
387
|
"description": "Qwen2.5 Coder 32B Instruct هو أحدث إصدار من سلسلة نماذج اللغة الكبيرة المحددة للشيفرة التي أصدرتها Alibaba Cloud. تم تحسين هذا النموذج بشكل كبير في توليد الشيفرة، والاستدلال، وإصلاح الأخطاء، من خلال تدريب على 55 تريليون توكن."
|
391
388
|
},
|
392
|
-
"accounts/fireworks/models/starcoder-16b": {
|
393
|
-
"description": "نموذج StarCoder 15.5B، يدعم مهام البرمجة المتقدمة، مع تعزيز القدرة على التعامل مع لغات متعددة، مناسب لتوليد وفهم الشيفرات المعقدة."
|
394
|
-
},
|
395
|
-
"accounts/fireworks/models/starcoder-7b": {
|
396
|
-
"description": "نموذج StarCoder 7B، تم تدريبه على أكثر من 80 لغة برمجة، يتمتع بقدرة ممتازة على ملء البرمجة وفهم السياق."
|
397
|
-
},
|
398
389
|
"accounts/yi-01-ai/models/yi-large": {
|
399
390
|
"description": "نموذج Yi-Large، يتمتع بقدرة معالجة لغوية ممتازة، يمكن استخدامه في جميع أنواع مهام توليد وفهم اللغة."
|
400
391
|
},
|
@@ -887,30 +878,18 @@
|
|
887
878
|
"lite": {
|
888
879
|
"description": "سبارك لايت هو نموذج لغوي كبير خفيف الوزن، يتميز بتأخير منخفض للغاية وكفاءة عالية في المعالجة، وهو مجاني تمامًا ومفتوح، ويدعم وظيفة البحث عبر الإنترنت في الوقت الحقيقي. تجعل خصائص استجابته السريعة منه مثاليًا لتطبيقات الاستدلال على الأجهزة ذات القدرة الحاسوبية المنخفضة وضبط النماذج، مما يوفر للمستخدمين قيمة ممتازة من حيث التكلفة وتجربة ذكية، خاصة في مجالات الأسئلة والأجوبة المعرفية، وتوليد المحتوى، وسيناريوهات البحث."
|
889
880
|
},
|
890
|
-
"llama-3.1-70b-instruct": {
|
891
|
-
"description": "نموذج Llama 3.1 70B للتعليمات، يتمتع بـ 70B من المعلمات، قادر على تقديم أداء ممتاز في مهام توليد النصوص الكبيرة والتعليمات."
|
892
|
-
},
|
893
881
|
"llama-3.1-70b-versatile": {
|
894
882
|
"description": "Llama 3.1 70B يوفر قدرة استدلال ذكائي أقوى، مناسب للتطبيقات المعقدة، يدعم معالجة حسابية ضخمة ويضمن الكفاءة والدقة."
|
895
883
|
},
|
896
884
|
"llama-3.1-8b-instant": {
|
897
885
|
"description": "Llama 3.1 8B هو نموذج عالي الأداء، يوفر قدرة سريعة على توليد النصوص، مما يجعله مثاليًا لمجموعة من التطبيقات التي تتطلب كفاءة كبيرة وتكلفة فعالة."
|
898
886
|
},
|
899
|
-
"llama-3.1-8b-instruct": {
|
900
|
-
"description": "نموذج Llama 3.1 8B للتعليمات، يتمتع بـ 8B من المعلمات، يدعم تنفيذ مهام التعليمات بكفاءة، ويوفر قدرة ممتازة على توليد النصوص."
|
901
|
-
},
|
902
887
|
"llama-3.1-sonar-huge-128k-online": {
|
903
888
|
"description": "نموذج Llama 3.1 Sonar Huge Online، يتمتع بـ 405B من المعلمات، يدعم طول سياق حوالي 127,000 علامة، مصمم لتطبيقات دردشة معقدة عبر الإنترنت."
|
904
889
|
},
|
905
|
-
"llama-3.1-sonar-large-128k-chat": {
|
906
|
-
"description": "نموذج Llama 3.1 Sonar Large Chat، يتمتع بـ 70B من المعلمات، يدعم طول سياق حوالي 127,000 علامة، مناسب لمهام دردشة غير متصلة معقدة."
|
907
|
-
},
|
908
890
|
"llama-3.1-sonar-large-128k-online": {
|
909
891
|
"description": "نموذج Llama 3.1 Sonar Large Online، يتمتع بـ 70B من المعلمات، يدعم طول سياق حوالي 127,000 علامة، مناسب لمهام دردشة عالية السعة ومتنوعة."
|
910
892
|
},
|
911
|
-
"llama-3.1-sonar-small-128k-chat": {
|
912
|
-
"description": "نموذج Llama 3.1 Sonar Small Chat، يتمتع بـ 8B من المعلمات، مصمم للدردشة غير المتصلة، يدعم طول سياق حوالي 127,000 علامة."
|
913
|
-
},
|
914
893
|
"llama-3.1-sonar-small-128k-online": {
|
915
894
|
"description": "نموذج Llama 3.1 Sonar Small Online، يتمتع بـ 8B من المعلمات، يدعم طول سياق حوالي 127,000 علامة، مصمم للدردشة عبر الإنترنت، قادر على معالجة تفاعلات نصية متنوعة بكفاءة."
|
916
895
|
},
|
@@ -1355,6 +1334,15 @@
|
|
1355
1334
|
"solar-pro": {
|
1356
1335
|
"description": "Solar Pro هو نموذج LLM عالي الذكاء تم إطلاقه من قبل Upstage، يركز على قدرة اتباع التعليمات على وحدة معالجة الرسوميات الواحدة، وسجل IFEval فوق 80. حاليًا يدعم اللغة الإنجليزية، ومن المقرر إصدار النسخة الرسمية في نوفمبر 2024، مع توسيع دعم اللغات وطول السياق."
|
1357
1336
|
},
|
1337
|
+
"sonar": {
|
1338
|
+
"description": "منتج بحث خفيف الوزن يعتمد على سياق البحث، أسرع وأرخص من Sonar Pro."
|
1339
|
+
},
|
1340
|
+
"sonar-pro": {
|
1341
|
+
"description": "منتج بحث متقدم يدعم سياق البحث، مع دعم للاستعلامات المتقدمة والمتابعة."
|
1342
|
+
},
|
1343
|
+
"sonar-reasoning": {
|
1344
|
+
"description": "منتج API الجديد المدعوم من نموذج الاستدلال من DeepSeek."
|
1345
|
+
},
|
1358
1346
|
"step-1-128k": {
|
1359
1347
|
"description": "يوفر توازنًا بين الأداء والتكلفة، مناسب لمجموعة متنوعة من السيناريوهات."
|
1360
1348
|
},
|