pub struct ToolInputGenerationParams {
pub tool_slug: String,
pub text: String,
pub custom_tool_description: Option<String>,
pub custom_system_prompt: Option<String>,
}Expand description
Tool input generation parameters
Fields§
§tool_slug: StringTool slug
text: StringNatural language description
custom_tool_description: Option<String>Custom tool description (optional)
custom_system_prompt: Option<String>Custom system prompt (optional)
Trait Implementations§
Source§impl Clone for ToolInputGenerationParams
impl Clone for ToolInputGenerationParams
Source§fn clone(&self) -> ToolInputGenerationParams
fn clone(&self) -> ToolInputGenerationParams
Returns a duplicate of the value. Read more
1.0.0 · 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 ToolInputGenerationParams
impl Debug for ToolInputGenerationParams
Source§impl<'de> Deserialize<'de> for ToolInputGenerationParams
impl<'de> Deserialize<'de> for ToolInputGenerationParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ToolInputGenerationParams
impl RefUnwindSafe for ToolInputGenerationParams
impl Send for ToolInputGenerationParams
impl Sync for ToolInputGenerationParams
impl Unpin for ToolInputGenerationParams
impl UnsafeUnpin for ToolInputGenerationParams
impl UnwindSafe for ToolInputGenerationParams
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