diff --git a/.env.template b/.env.template index 1a8a7c7e0..046c4be56 100644 --- a/.env.template +++ b/.env.template @@ -180,7 +180,7 @@ TONGYI_PROXY_API_KEY={your-tongyi-sk} ## Baidu wenxin #WEN_XIN_MODEL_VERSION={version} #WEN_XIN_API_KEY={your-wenxin-sk} -#WEN_XIN_SECRET_KEY={your-wenxin-sct} +#WEN_XIN_API_SECRET={your-wenxin-sct} ## Zhipu #ZHIPU_MODEL_VERSION={version} diff --git a/docs/docs/installation/sourcecode.md b/docs/docs/installation/sourcecode.md index 6a08eb3ea..bab7399b4 100644 --- a/docs/docs/installation/sourcecode.md +++ b/docs/docs/installation/sourcecode.md @@ -174,13 +174,12 @@ or git clone https://huggingface.co/moka-ai/m3e-large ``` -Configure the proxy and modify LLM_MODEL, PROXY_API_URL and API_KEY in the `.env`file +Configure the proxy and modify LLM_MODEL, MODEL_VERSION, API_KEY and API_SECRET in the `.env`file ```python # .env LLM_MODEL=wenxin_proxyllm -PROXY_SERVER_URL={your_service_url} -WEN_XIN_MODEL_VERSION={version} +WEN_XIN_MODEL_VERSION={version} # ERNIE-Bot or ERNIE-Bot-turbo WEN_XIN_API_KEY={your-wenxin-sk} WEN_XIN_API_SECRET={your-wenxin-sct} ```