Server-Sent Events (SSE) stream AI tokens continuously over a single HTTP connection, giving visitors real-time, typewriter-style responses.
Server-Sent Events (SSE) is a unidirectional HTTP streaming standard that allows a server to push real-time text streams to web clients over a persistent connection.
Rather than waiting 4 seconds for an LLM to generate an entire 200-word response before returning a standard JSON payload, SSE streams tokens as they are computed word-by-word.
Unlike WebSockets, SSE operates over standard HTTP/2, easily traversing enterprise firewalls and CDNs without complex connection management.
SiteMind uses HTTP/2 SSE streaming for all conversational responses, delivering immediate visual feedback and sub-second perceived response latency.
Estimate support savings, token counts, or test prompt injection security guardrails with our zero-cost sandboxes.
Related Technical Concepts
Time-To-First-Token (TTFT)
Time-To-First-Token (TTFT) measures the latency between a user sending a message and the first visible word appearing in the chat window.
Shadow DOM CSS Isolation
Shadow DOM encapsulates a chat widget’s HTML and CSS in a private tree, preventing host website styles from breaking the chatbot’s layout.
Function Calling (AI Tool Use)
Function Calling allows an AI assistant to trigger external APIs and webhooks by generating structured JSON parameters during a conversation.
Crawl your domain in 2 minutes, get instant grounded answers, and see your deflection rates.