Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions docs/core/models/ernie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
title: Ernie
description: This guide walks you through setting up your Baidu ERNIE API key within Eigent to enable the Ernie model for your AI workforce.
---

### Prerequisites

- **Get your API Key:** If you haven't already, generate a key in the
[Baidu AI Cloud Qianfan console](https://console.bce.baidu.com/qianfan/ais/console/applicationConsole/application).
- **Copy the Key:** Keep your API key ready to paste.

### Configuration Steps

#### 1. Access Application Settings

- Launch Eigent and navigate to the **Home Page**.
- Click on the **Agent** tab, then click on the **Models** button.

![Ernie 1 Pn](/docs/images/model_setting.png)

#### 2. Locate Model Configuration

- Scroll down to the **Custom Model** area.
- Look for the **Ernie** card.

#### 3. Enter API Details

Click on the Ernie card and fill in the following fields:

- **API Key:** Paste the key you generated from Baidu AI Cloud Qianfan.
- **API Host:** Enter the API endpoint host.
- _Example:_ `https://qianfan.baidubce.com/v2`
- **Model Type:** Enter the specific model version you wish to use.
- _Example:_ `ernie-5.0`
- **Save:** Click the **Save** button to apply your changes.

![Ernie 2 Pn](/docs/images/ernie.png)

#### 4. Set as Default & Verify

- Once saved, the **"Set as Default"** button on the Ernie card will be
selected/active.
- **You are ready to go.** Your Eigent agents can now utilize the Ernie model.

---
1 change: 1 addition & 0 deletions docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"/core/models/byok",
"/core/models/local-model",
"/core/models/gemini",
"/core/models/ernie",
"/core/models/minimax",
"/core/models/kimi",
"/core/models/sambanova"
Expand Down
Binary file added docs/images/ernie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading