GenAI.StreamHandler.Default (GenAI Core v0.2.1)
Link to this section Summary
Functions
Initialize streaming with default handler that returns handle_event callback
Handle streaming events from Finch.stream_while Processes status, headers, data chunks, and trailers
Link to this section Functions
Link to this function
begin_stream(handler, session, context, options)
Initialize streaming with default handler that returns handle_event callback
Link to this function
handle_event(event, state)
Handle streaming events from Finch.stream_while Processes status, headers, data chunks, and trailers