pub struct BuiltHandler { /* private fields */ }Expand description
Handler constructed via HandlerBuilder.
Trait Implementations§
Source§impl CallbackHandler for BuiltHandler
impl CallbackHandler for BuiltHandler
Source§fn on_chain_start(&self, runnable: &str, input: &Value, run_id: Uuid)
fn on_chain_start(&self, runnable: &str, input: &Value, run_id: Uuid)
A
Runnable (chain / graph) started.Source§fn on_chain_end(&self, runnable: &str, output: &Value, run_id: Uuid)
fn on_chain_end(&self, runnable: &str, output: &Value, run_id: Uuid)
A
Runnable finished successfully.Source§fn on_llm_start(&self, model: &str, prompt: &Value, run_id: Uuid)
fn on_llm_start(&self, model: &str, prompt: &Value, run_id: Uuid)
LLM / chat-model invocation started.
Source§fn on_llm_token(&self, token: &str, run_id: Uuid)
fn on_llm_token(&self, token: &str, run_id: Uuid)
LLM emitted a streamed token.
Source§fn on_node_end(&self, node: &str, step: u64, output: &Value, run_id: Uuid)
fn on_node_end(&self, node: &str, step: u64, output: &Value, run_id: Uuid)
Graph node finished.
Source§fn on_checkpoint(&self, step: u64, run_id: Uuid)
fn on_checkpoint(&self, step: u64, run_id: Uuid)
Graph engine persisted a checkpoint.
Auto Trait Implementations§
impl Freeze for BuiltHandler
impl !RefUnwindSafe for BuiltHandler
impl Send for BuiltHandler
impl Sync for BuiltHandler
impl Unpin for BuiltHandler
impl UnsafeUnpin for BuiltHandler
impl !UnwindSafe for BuiltHandler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more