Skip to main content

Prerequisites

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

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

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.