mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-06-02 00:57:41 +08:00
docs(models): add ernie-5.0
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: 百度千帆 / ERNIE
|
||||
title: 百度千帆
|
||||
description: 百度千帆 ERNIE 模型配置
|
||||
---
|
||||
|
||||
@@ -7,7 +7,7 @@ description: 百度千帆 ERNIE 模型配置
|
||||
|
||||
```json
|
||||
{
|
||||
"model": "ernie-4.5-turbo-128k",
|
||||
"model": "ernie-5.0",
|
||||
"qianfan_api_key": "",
|
||||
"qianfan_api_base": "https://qianfan.baidubce.com/v2"
|
||||
}
|
||||
@@ -15,7 +15,7 @@ description: 百度千帆 ERNIE 模型配置
|
||||
|
||||
| 参数 | 说明 |
|
||||
| --- | --- |
|
||||
| `model` | 推荐使用 `ernie-4.5-turbo-128k`;也可使用 `ernie-4.5-turbo-32k`、`ernie-x1-turbo-32k` |
|
||||
| `model` | 默认推荐使用 `ernie-5.0`;也可使用 `ernie-4.5-turbo-128k`、`ernie-4.5-turbo-32k`、`ernie-x1-turbo-32k` |
|
||||
| `qianfan_api_key` | 千帆 API Key,格式通常以 `bce-v3/` 开头 |
|
||||
| `qianfan_api_base` | 可选,默认为 `https://qianfan.baidubce.com/v2` |
|
||||
|
||||
@@ -23,7 +23,8 @@ description: 百度千帆 ERNIE 模型配置
|
||||
|
||||
| 模型 | 适用场景 |
|
||||
| --- | --- |
|
||||
| `ernie-4.5-turbo-128k` | 默认推荐,适合长上下文和通用对话 |
|
||||
| `ernie-5.0` | 默认推荐,文心新一代旗舰模型,综合能力最强 |
|
||||
| `ernie-4.5-turbo-128k` | 长上下文和通用对话 |
|
||||
| `ernie-4.5-turbo-32k` | 通用对话,成本和上下文更均衡 |
|
||||
| `ernie-x1-turbo-32k` | 需要更强推理能力的任务 |
|
||||
|
||||
@@ -31,7 +32,7 @@ description: 百度千帆 ERNIE 模型配置
|
||||
|
||||
```json
|
||||
{
|
||||
"model": "ernie-4.5-turbo-128k",
|
||||
"model": "ernie-5.0",
|
||||
"bot_type": "openai",
|
||||
"open_ai_api_key": "",
|
||||
"open_ai_api_base": "https://qianfan.baidubce.com/v2"
|
||||
|
||||
Reference in New Issue
Block a user