Defined in: activities/chat/stream/processor.ts:87
Options for StreamProcessor
optional chunkStrategy: ChunkStrategy;
optional chunkStrategy: ChunkStrategy;
Defined in: activities/chat/stream/processor.ts:88
optional events: StreamProcessorEvents;
optional events: StreamProcessorEvents;
Defined in: activities/chat/stream/processor.ts:90
Event-driven handlers
optional initialMessages: UIMessage[];
optional initialMessages: UIMessage[];
Defined in: activities/chat/stream/processor.ts:97
Initial messages to populate the processor
optional jsonParser: object;
optional jsonParser: object;
Defined in: activities/chat/stream/processor.ts:91
parse: (jsonString) => any;
parse: (jsonString) => any;
string
any
optional recording: boolean;
optional recording: boolean;
Defined in: activities/chat/stream/processor.ts:95
Enable recording for replay testing
