更新了部分的README说明
This commit is contained in:
parent
2b78349c58
commit
5885111183
|
@ -48,6 +48,20 @@ pnpm install
|
|||
PORT: 3000,
|
||||
};
|
||||
```
|
||||
如果您注册的是Bing Customer Search的API,您可以修改您的配置文件如下,并且填写您的Custom Configuration ID:
|
||||
|
||||
```diff
|
||||
export default {
|
||||
LOG_LEVEL: 'debug',
|
||||
|
||||
BROWSER_TIMEOUT: 10000,
|
||||
BING_SEARCH_API_URL: 'https://api.bing.microsoft.com/v7.0/custom/',
|
||||
BING_SEARCH_API_KEY: 'YOUR_BING_SEARCH_API_KEY',
|
||||
CUSTOM_CONFIG_ID : 'YOUR_CUSTOM_CONFIG_ID', //将你的Custom Configuration ID放在此处
|
||||
HOST: 'localhost',
|
||||
PORT: 3000,
|
||||
};
|
||||
```
|
||||
|
||||
2. 文生图功能需要调用 CogView API。修改 `src/tools/config.py`
|
||||
,提供文生图功能需要使用的 [智谱 AI 开放平台](https://open.bigmodel.cn) API Key:
|
||||
|
|
Loading…
Reference in New Issue