PROMPTS & APIs • 108 / 397
Understand how applications send instructions to models and handle production API behavior.
Server-Sent Events (SSE)
SSE is an HTTP mechanism for servers to stream events to a client over one connection.
Think of it like
Think of Server-Sent Events (SSE) like a restaurant or service desk: the request must reach the right endpoint in the right format and the response must be handled safely.
Real life
Web applications use concepts such as Server-Sent Events (SSE) to communicate with external services.
SRE lens
Many LLM APIs use event streams for incremental tokens.
Remember thisSSE is an HTTP mechanism for servers to stream events to a client over one connection.