完善readme
This commit is contained in:
36
README.MD
36
README.MD
@@ -55,6 +55,21 @@ A-BOT是一个功能丰富的微信机器人助手,集成了多种实用功能
|
||||
- Git(用于系统更新)
|
||||
- 支持的操作系统:Windows/Linux/MacOS
|
||||
|
||||
### server安装
|
||||
- 复制wechat_ipad/server/下面的所有内容到你的服务器
|
||||
- 修改conf下的文件[app.conf](wechat_ipad%2Fserver%2Fconf%2Fapp.conf)
|
||||
- 将redis链接改成自己的redis配置
|
||||
```
|
||||
redislink = 192.168.2.40:6379
|
||||
redispass = ""
|
||||
redisdbnum = 7
|
||||
```
|
||||
- 配置完成之后,运行server
|
||||
```bash
|
||||
sudo nohup ./linuxgo > /tmp/logger.log 2>&1 &
|
||||
```
|
||||
|
||||
|
||||
### 依赖安装
|
||||
```bash
|
||||
# 克隆项目
|
||||
@@ -90,27 +105,6 @@ pip install -r requirements.txt
|
||||
### 1. 配置文件
|
||||
配置文件位于 `config.yaml`,包含以下主要配置项:
|
||||
|
||||
#### AI模型配置
|
||||
```yaml
|
||||
claude:
|
||||
key: "your-api-key"
|
||||
api: "http://127.0.0.1:8080/v1/chat/completions"
|
||||
model: "windsurf/gpt4o"
|
||||
prompt: "your-prompt-template"
|
||||
|
||||
deepseek:
|
||||
key: "your-api-key"
|
||||
api: "https://api.deepseek.com/chat/completions"
|
||||
model: "deepseek-chat"
|
||||
prompt: "your-prompt-template"
|
||||
|
||||
doubao:
|
||||
key: "your-api-key"
|
||||
api: "https://ark.cn-beijing.volces.com/api/v3/chat/completions"
|
||||
model: "doubao-1-5-lite-32k-250115"
|
||||
prompt: "your-prompt-template"
|
||||
```
|
||||
|
||||
#### 数据库配置
|
||||
```yaml
|
||||
db_config:
|
||||
|
||||
Reference in New Issue
Block a user