Created
July 20, 2023 03:04
-
-
Save goddoe/08b7d08b791232fb91efae5f32f2a34a to your computer and use it in GitHub Desktop.
curl_streaming.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -N -X 'POST' \ [12:04:09] | |
'http://localhost:8080/v1/chat-streaming' \ | |
-H 'Content-Type: application/json' \ | |
-H 'Accept: text/event-stream' \ | |
-d '{ | |
"turns": [ | |
{ | |
"role": "user", | |
"content": "fastapi 사용법" | |
} | |
] | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment