pub struct DistillingTool { /* private fields */ }Expand description
Decorator that distills snapshot-shaped output of the wrapped tool.
Implementations§
Trait Implementations§
Source§impl Tool for DistillingTool
impl Tool for DistillingTool
Source§fn definition(&self) -> ToolDefinition
fn definition(&self) -> ToolDefinition
Return the tool’s definition (name, description, input schema) for the LLM.
Auto Trait Implementations§
impl !RefUnwindSafe for DistillingTool
impl !UnwindSafe for DistillingTool
impl Freeze for DistillingTool
impl Send for DistillingTool
impl Sync for DistillingTool
impl Unpin for DistillingTool
impl UnsafeUnpin for DistillingTool
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