From f107408622b625556191117b58afd4ead35244f5 Mon Sep 17 00:00:00 2001 From: ChengZi Date: Fri, 27 Oct 2023 16:02:01 +0800 Subject: [PATCH] update ernie setup in readme (#91) Signed-off-by: ChengZi --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2af77e5..1f62683 100644 --- a/README.md +++ b/README.md @@ -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 ```