SSE Vocabulary

EvoLayer Base utilizes Server-Sent Events (SSE) to transmit AI generation states to the client.

The laravel/ai SDK generates raw TextDelta and ToolCall events. EvoLayer maps these into a normalized front-end vocabulary for seamless React integration.

Standard Events

  • content_block_start: Fired when a new text or tool block begins.
  • content_block_delta: Contains the incremental string payloads from the LLM.
  • content_block_stop: Fired when the block is completely rendered.
  • message_stop: Signals the termination of the entire stream and provides the final validated JSON payload.

Was this page helpful?

Source: xuple/evodevops/resources/js/pages/docs/evolayer-base/reference/sse-vocabulary.tsx