Merge pull request #1163 from ku-suke/patch-1

(fix) curl example on proxy/quick_start
This commit is contained in:
Krish Dholakia 2023-12-16 21:31:02 -08:00 committed by GitHub
commit f0093fae45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ curl --location 'http://0.0.0.0:8000/chat/completions' \
"role": "user", "role": "user",
"content": "what llm are you" "content": "what llm are you"
} }
], ]
} }
' '
``` ```
@ -604,4 +604,4 @@ curl -X POST \
https://api.openai.com/v1/chat/completions \ https://api.openai.com/v1/chat/completions \
-H 'content-type: application/json' -H 'Authorization: Bearer sk-qnWGUIW9****************************************' \ -H 'content-type: application/json' -H 'Authorization: Bearer sk-qnWGUIW9****************************************' \
-d '{"model": "gpt-3.5-turbo", "messages": [{"role": "user", "content": "this is a test request, write a short poem"}]}' -d '{"model": "gpt-3.5-turbo", "messages": [{"role": "user", "content": "this is a test request, write a short poem"}]}'
``` ```