fix curl example

Remove unnecessary `,` from curl example
This commit is contained in:
Yusuke Kawabata 2023-12-17 12:00:06 +09:00 committed by GitHub
parent 7c2fad2d57
commit de8a3d5369
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"}]}'
``` ```