AfterModelCallback

Type Alias AfterModelCallback 

Source
pub type AfterModelCallback = Box<dyn Fn(Arc<dyn CallbackContext>) -> BoxFuture<'static, Result<Option<Content>>> + Send + Sync>;
Expand description

Callback executed after model response

Aliased Typeยง

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