Struct llm_chain::tools::tools::PythonTool
source · pub struct PythonTool {}
Implementations§
source§impl PythonTool
impl PythonTool
Trait Implementations§
source§impl Default for PythonTool
impl Default for PythonTool
source§impl Tool for PythonTool
impl Tool for PythonTool
type Input = PythonToolInput
type Output = PythonToolOutput
type Error = PythonToolError
fn invoke_typed<'life0, 'life1, 'async_trait>( &'life0 self, input: &'life1 Self::Input ) -> Pin<Box<dyn Future<Output = Result<Self::Output, Self::Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
source§fn description(&self) -> ToolDescription
fn description(&self) -> ToolDescription
Returns the
ToolDescription
containing metadata about the tool.Auto Trait Implementations§
impl RefUnwindSafe for PythonTool
impl Send for PythonTool
impl Sync for PythonTool
impl Unpin for PythonTool
impl UnwindSafe for PythonTool
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