ai.stream.SseEvent

One decoded raw SSE event, as produced by `baml.http.SseStream.next()`: the batch string is a JSON array of these objects.

Reference version

Signature

class ai.stream.SseEvent

One decoded raw SSE event, as produced by baml.http.SseStream.next(): the batch string is a JSON array of these objects.

Source:<builtin>/ai/ns_stream/stream.bamlbytes 33933467

Fields

event

string | null

data

string | null

id

string | null