Skip to content

Commit

Permalink
update ernie setup in readme (#91)
Browse files Browse the repository at this point in the history
Signed-off-by: ChengZi <[email protected]>
  • Loading branch information
zc277584121 authored Oct 27, 2023
1 parent bffda6d commit f107408
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@ The option using LangChain employs the use of [Agent](https://python.langchain.c
$ export LLM_OPTION=llama_2
```

- For example, to use **Ernie** instead of OpenAI, you need to change the option and set up Ernie API key & secret key:
- For example, to use **Ernie** instead of OpenAI, you need to change the option and set up [ERNIE Bot SDK token](https://github.com/PaddlePaddle/ERNIE-Bot-SDK/tree/develop) :
```shell
$ export LLM_OPTION=ernie
$ export ERNIE_API_KEY=your_ernie_api_key
$ export ERNIE_SECRET_KEY=your_ernie_secret_key
$ export EB_API_TYPE=your_api_type
$ export EB_ACCESS_TOKEN=your_ernie_access_token
```
</details>

Expand Down

0 comments on commit f107408

Please sign in to comment.