How do i enable for my open ai assistants

How do i enable streaming for my open ai assistants. Currently I can enable it in the playground but when i depoly my ai assistant the sreaming doesnt work. Any assistance would be appreciated.

follow step 4 (with streaming) of the quickstart for assistants api.

assuming the openai api call is done in your backend then you also need to implement streaming (e.g. Server-Sent Events SSE, etc.) from backend to frontend.

1 Like