Which one is being used in companies for Streaming assistant api?

I would like to know what other people use for streaming the Assistant API, I’m having a hard time show the response, I use websockets currently, FastAPI server side and ReactJS for my client side, I heard SSE but not sure if this is better

also which one is better for a lot of users since websocket will be heavier for the server instead of SSE IMO. but any would do my end goal is just to stream the response I already heard for react to use Stream Parsers what I want to do now is for streaming.

1 Like

On my side I use nextjs and vercel it works really great. You can deploy my exmaple of my SDK here in one click using the button in the readme to see if you like it.

thanks, will look into this, but I’m more leaning to the server-side things since I use databases

You can use this SDK you copy/paste my backend to use it in your app and customize what I have by doing query to a database!