Skip to content

RunRawModelStreamEvent

Streaming event from the LLM. These are raw events, i.e. they are directly passed through from the LLM.

new RunRawModelStreamEvent(data, source?): RunRawModelStreamEvent;
Parameter Type Description

data

StreamEvent

The raw responses stream events from the LLM.

source

string | undefined

RunRawModelStreamEvent

data: StreamEvent;

The raw responses stream events from the LLM.


readonly source: string | undefined;

readonly type: "raw_model_stream_event" = 'raw_model_stream_event';

The type of the event.