feat: Update README.md

このコミットが含まれているのは:
Xiang 2023-05-05 21:09:30 +08:00 committed by GitHub
コミット f12e2fc10a
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更4行の追加4行の削除

ファイルの表示

@ -41,17 +41,17 @@ docker-compose up --build -d
common request
```shell
curl "http://127.0.0.1:3000/ask?prompt=你好"
curl "http://127.0.0.1:3000/ask?prompt=你好&model=forefront"
curl "http://127.0.0.1:3000/ask?prompt=hello"
curl "http://127.0.0.1:3000/ask?prompt=hello&model=forefront"
```
request event-stream
```shell
# test you
curl "http://127.0.0.1:3000/ask/stream?prompt=你好"
curl "http://127.0.0.1:3000/ask/stream?prompt=hello"
# test forefront
curl "http://127.0.0.1:3000/ask/stream?prompt=你好&model=forefront"
curl "http://127.0.0.1:3000/ask/stream?prompt=hello&model=forefront"
```
Due to legal and personal issues, the development speed of this Repository may slow down over the next one to two weeks. I apologize for any inconvenience this may cause. I have been putting a lot of effort into this small personal/educational project, and it is now on the verge of being taken down.