Skip to main content

Module event

Module event 

Source
Expand description

Typed events emitted by super::parser::ChatStreamParser.

Each variant corresponds to a step in progressively building the structured output tree from a streaming LM response. Paths are JSON-Pointer strings (RFC 6901) addressing nodes within the schema tree, so clients can route events to UI components per path.

The variant set is matched 1:1 to FieldType taxonomy — adding a new FieldType variant grows this enum (and the corresponding super::field_parsers dispatch); existing variants stay stable.

Enums§

ParseEvent
One event produced by the streaming parser.