Skip to content

Commit 1c30df9

Browse files
committed
fix
1 parent e5fe2c8 commit 1c30df9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

colossalai/inference/server/api_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Usage: (for local user)
77
- First, Lauch an API locally. `python3 -m colossalai.inference.server.api_server --model path of your llama2 model`
88
- Second, you can turn to the page `http://127.0.0.1:8000/docs` to check the api
9-
- For completion service, you can invoke it by using `curl -X POST http://127.0.0.1:8000/v1/completion \
9+
- For completion service, you can invoke it by using `curl -X POST http://127.0.0.1:8000/completion \
1010
-H 'Content-Type: application/json' \
1111
-d '{"prompt":"hello, who are you? ","stream":"False"}'`
1212
Version: V1.0

0 commit comments

Comments
 (0)