You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@HenryHengZJ - When sending multiple HTTP requests concurrently with the same session to Flowise using streaming mode, the responses are not properly separated by connection. Instead, all responses are combined and streamed back through a single HTTP connection, making it impossible to parse individual responses. Can this be fixed?
1st Request:
{
"question": "tell me about Elon musk in 1000 words..",
"overrideConfig": {
"sessionId": "123"
},
"streaming": true
}
2nd Request:
{
"question": "tell me about Steve Jobs in 1000 words..",
"overrideConfig": {
"sessionId": "123"
},
"streaming": true
}
Response (This needs to be two separate streams):
Elon Musk is a renowned entrepreneur...1000 words here..
Steve Jobs, born on February 24, 1955, in San Francisco....
Version: 2.1.3
Also, is there way to stop stream for an existing request? we tried aborting the http connection but it doesn't kill the streaming process
The text was updated successfully, but these errors were encountered:
@HenryHengZJ We simulated this using the Flowise SDK, the http requests module, and Postman by sending requests one after another immediately to mimic concurrent streaming. The stream gets mixed when the payload I posted in my comment above is sent. We tested this with AzureOpenAI and OpenAI.
However, we found yesterday that streams are correctly segmented when the chatid is passed in the payload. I think a unique chatid is created when requests are sent via UI and ChatEmbed but not by default when you don't specify it in the payload.
One more observation (minor), when chatid is sent in the payload, the messages UI section displays individual chats with the same session ID rather than grouping them as multiple chats with a single session.
@HenryHengZJ - When sending multiple HTTP requests concurrently with the same session to Flowise using streaming mode, the responses are not properly separated by connection. Instead, all responses are combined and streamed back through a single HTTP connection, making it impossible to parse individual responses. Can this be fixed?
1st Request:
{
"question": "tell me about Elon musk in 1000 words..",
"overrideConfig": {
"sessionId": "123"
},
"streaming": true
}
2nd Request:
{
"question": "tell me about Steve Jobs in 1000 words..",
"overrideConfig": {
"sessionId": "123"
},
"streaming": true
}
Response (This needs to be two separate streams):
Elon Musk is a renowned entrepreneur...1000 words here..
Steve Jobs, born on February 24, 1955, in San Francisco....
Version: 2.1.3
Also, is there way to stop stream for an existing request? we tried aborting the http connection but it doesn't kill the streaming process
The text was updated successfully, but these errors were encountered: