modify readme

This commit is contained in:
moyangzhan 2024-03-12 09:07:11 +08:00
parent 498e9131b9
commit 7b7e1b0ddc
1 changed files with 11 additions and 2 deletions

View File

@ -52,13 +52,23 @@ vue3+typescript+pnpm
* 创建数据库aideepin
* 执行docs/create.sql
* 填充openai的secretKey 或者 灵积模型的apiKey
* 填充各模型的配置
openai的secretKey
```plaintext
update adi_sys_config set value = '{"secret_key":"my_openai_secret_key"}' where name = 'openai_setting';
```
灵积大模型平台的apiKey
```plaintext
update adi_sys_config set value = '{"api_key":"my_dashcope_api_key"}' where name = 'dashscope_setting';
```
千帆大模型平台的配置
```plaintext
update adi_sys_config set value = '{"api_key":"my_qianfan_api_key","secret_key":"my_qianfan_secret_key"}' where name = 'qianfan_setting';
```
* 修改配置文件
* postgresql: application-[dev|prod].xml中的spring.datasource
@ -104,7 +114,6 @@ docker run -d \
增强RAG
## 截图
**AI聊天**