Skip to content

Commit

Permalink
📝 docs: update model-provider document (#4181)
Browse files Browse the repository at this point in the history
* Update model-provider.zh-CN.mdx

增加混元模型

* Update model-provider.mdx

add HUNYUAN Model
  • Loading branch information
SpeedupMaster committed Sep 28, 2024
1 parent 302ceea commit 164a5a0
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/self-hosting/environment-variables/model-provider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -479,4 +479,20 @@ If you need to use Azure OpenAI to provide model services, you can refer to the
- Default: -
- Example: `xxxxxx...xxxxxx`

## HUNYUAN

### `HUNYUAN_API_KEY`

- Type: Required
- Description: This is the API key you applied from HUNYUAN service
- Default: -
- Example: `xxxxxx...xxxxxx`

### `HUNYUAN_MODEL_LIST`

- Type: Optional
- 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]
- Default: `-`
- Example: `-all,+hunyuan-lite,+hunyuan-standard`

[model-list]: /docs/self-hosting/advanced/model-list
16 changes: 16 additions & 0 deletions docs/self-hosting/environment-variables/model-provider.zh-CN.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -477,4 +477,20 @@ LobeChat 在部署时提供了丰富的模型服务商相关的环境变量,
- 默认值:-
- 示例:`xxxxxx...xxxxxx`

## 腾讯混元

### `HUNYUAN_API_KEY`

- 类型:必选
- 描述:这是你在 腾讯混元 服务中申请的 API 密钥
- 默认值:-
- 示例:`xxxxxx...xxxxxx`

### `HUNYUAN_MODEL_LIST`

- 类型:可选
- 描述:用来控制模型列表,使用 `+` 增加一个模型,使用 `-` 来隐藏一个模型,使用 `模型名=展示名<扩展配置>` 来自定义模型的展示名,用英文逗号隔开。模型定义语法规则见 [模型列表][model-list]
- 默认值:`-`
- 示例:`-all,+hunyuan-lite,+hunyuan-standard`

[model-list]: /zh/docs/self-hosting/advanced/model-list

0 comments on commit 164a5a0

Please sign in to comment.