Skip to main content

LlmFinalizerFn

Type Alias LlmFinalizerFn 

Source
pub type LlmFinalizerFn = Box<dyn FnOnce() -> Json + Send>;
Expand description

Finalizer used to synthesize the aggregate streaming response payload.

§Parameters

This callback takes no arguments.

§Returns

Aggregate response JSON synthesized from collected stream chunks.

Aliased Type§

pub struct LlmFinalizerFn(/* private fields */);