pub struct ToolCallingDetection {
pub supports_tool_calling: bool,
pub confidence: f32,
pub matched_patterns: Vec<String>,
pub detected_format: Option<String>,
}Expand description
Result of tool calling capability detection.
Fields§
§supports_tool_calling: boolWhether the model appears to support tool/function calling.
confidence: f32Confidence level of the detection (0.0 to 1.0).
matched_patterns: Vec<String>The specific pattern(s) that matched.
detected_format: Option<String>Detected tool calling format (e.g., “hermes”, “llama3”, “mistral”).
Trait Implementations§
Source§impl Clone for ToolCallingDetection
impl Clone for ToolCallingDetection
Source§fn clone(&self) -> ToolCallingDetection
fn clone(&self) -> ToolCallingDetection
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 ToolCallingDetection
impl Debug for ToolCallingDetection
Source§impl Default for ToolCallingDetection
impl Default for ToolCallingDetection
Source§fn default() -> ToolCallingDetection
fn default() -> ToolCallingDetection
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ToolCallingDetection
impl RefUnwindSafe for ToolCallingDetection
impl Send for ToolCallingDetection
impl Sync for ToolCallingDetection
impl Unpin for ToolCallingDetection
impl UnwindSafe for ToolCallingDetection
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