yield data, which is sent downstream via the text/event-stream Content-Type.
Data can be sent in JSON format and decoded on the client side.
A minimal example:

Stream tokens and partial results from Cerebrium apps using server-sent events (SSE) for low-latency LLM output and real-time inference responses.
yield data, which is sent downstream via the text/event-stream Content-Type.
Data can be sent in JSON format and decoded on the client side.
A minimal example:
