pub struct DynamicTool {
pub name: String,
pub description: String,
pub input_schema: Value,
}Expand description
A dynamic function exposed to Codex for a fresh thread.
Fields§
§name: StringFunction name visible to the model.
description: StringShort function description visible to the model.
input_schema: ValueJSON Schema for the function arguments.
Implementations§
Trait Implementations§
Source§impl Clone for DynamicTool
impl Clone for DynamicTool
Source§fn clone(&self) -> DynamicTool
fn clone(&self) -> DynamicTool
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DynamicTool
impl Debug for DynamicTool
Source§impl PartialEq for DynamicTool
impl PartialEq for DynamicTool
impl StructuralPartialEq for DynamicTool
Auto Trait Implementations§
impl Freeze for DynamicTool
impl RefUnwindSafe for DynamicTool
impl Send for DynamicTool
impl Sync for DynamicTool
impl Unpin for DynamicTool
impl UnsafeUnpin for DynamicTool
impl UnwindSafe for DynamicTool
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