AfterModelCallback

Type Alias AfterModelCallback 

Source
pub type AfterModelCallback = Box<dyn Fn(Arc<dyn CallbackContext>) -> Pin<Box<dyn Future<Output = Result<Option<Content>, AdkError>> + Send>> + Sync + Send>;
Available on crate feature runner only.
Expand description

Callback executed after model response

Aliased Typeยง

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