Hi,
I am using a custom connector to POST requests to chatgpt and using the response in my canvas app. I want the response to be displayed as soon as it starts generating. I am using "stream": true according to the openai documentation. The issue is custom connector and power automate HTTP action dump the response all at once. Is there any workaround for this?
https://platform.openai.com/docs/api-reference/streaming
{
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Hello!"
}
],
"stream": true
}