mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-23 12:21:08 +00:00
Fix wenxin config in .env.template (#965)
This commit is contained in:
parent
681a8e2ed5
commit
e1ace141f7
@ -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}
|
||||
|
@ -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}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user