mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 12:54:52 +00:00
Last nit
This commit is contained in:
parent
0e09eeacfc
commit
ec4ea88109
@ -101,7 +101,7 @@ asyncio.run(main())
|
|||||||
To use the OpenAI Chat Completions compatible Messages API `v1/chat/completions` endpoint with curl, you can add the `-N` flag, which disables curl default buffering and shows data as it arrives from the server
|
To use the OpenAI Chat Completions compatible Messages API `v1/chat/completions` endpoint with curl, you can add the `-N` flag, which disables curl default buffering and shows data as it arrives from the server
|
||||||
|
|
||||||
```curl
|
```curl
|
||||||
curl localhost:3000/v1/chat/completions \
|
curl localhost:8080/v1/chat/completions \
|
||||||
-X POST \
|
-X POST \
|
||||||
-d '{
|
-d '{
|
||||||
"model": "tgi",
|
"model": "tgi",
|
||||||
|
Loading…
Reference in New Issue
Block a user