update readme

This commit is contained in:
josc146 2023-05-27 00:38:39 +08:00
parent 06e21badc0
commit 2431ff68e6
2 changed files with 38 additions and 0 deletions

View File

@ -47,6 +47,25 @@ English | [简体中文](README_ZH.md)
- Theme switching - Theme switching
- Automatic updates - Automatic updates
## API Concurrency Stress Testing
```bash
ab -p body.json -T application/json -c 20 -n 100 -l http://127.0.0.1:8000/chat/completions
```
body.json:
```json
{
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}
```
## Todo ## Todo
- [ ] Model training functionality - [ ] Model training functionality

View File

@ -47,6 +47,25 @@ API兼容的接口这意味着一切ChatGPT客户端都是RWKV客户端。
- 主题切换 - 主题切换
- 自动更新 - 自动更新
## API并发压力测试
```bash
ab -p body.json -T application/json -c 20 -n 100 -l http://127.0.0.1:8000/chat/completions
```
body.json:
```json
{
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}
```
## Todo ## Todo
- [ ] 模型训练功能 - [ ] 模型训练功能