feat: test method

このコミットが含まれているのは:
xiang 2023-05-04 21:52:29 +08:00
コミット 08f29fb107
1個のファイルの変更12行の追加0行の削除

ファイルの表示

@ -52,3 +52,15 @@ yarn start
```
docker-compose up --build -d
```
## test with curl
common request
```shell
curl "http://127.0.0.1:3000/ask?prompt=你好"
```
request event-stream
```shell
curl "http://127.0.0.1:3000/ask/stream?prompt=你好"
```