更新了部分的README说明

This commit is contained in:
TianlinLiang 2024-07-04 08:48:09 +08:00
parent 2b78349c58
commit 5885111183
1 changed files with 14 additions and 0 deletions

View File

@ -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