pub struct TafcConfig {
pub enabled: bool,
pub complexity_threshold: f64,
}Expand description
Configuration for Think-Augmented Function Calling (TAFC).
Fields§
§enabled: boolEnable TAFC schema augmentation (default: false).
complexity_threshold: f64Complexity threshold tau in [0.0, 1.0]; tools with complexity >= tau are augmented. Default: 0.6
Implementations§
Source§impl TafcConfig
impl TafcConfig
Trait Implementations§
Source§impl Clone for TafcConfig
impl Clone for TafcConfig
Source§fn clone(&self) -> TafcConfig
fn clone(&self) -> TafcConfig
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 TafcConfig
impl Debug for TafcConfig
Source§impl Default for TafcConfig
impl Default for TafcConfig
Source§impl<'de> Deserialize<'de> for TafcConfig
impl<'de> Deserialize<'de> for TafcConfig
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 TafcConfig
impl RefUnwindSafe for TafcConfig
impl Send for TafcConfig
impl Sync for TafcConfig
impl Unpin for TafcConfig
impl UnsafeUnpin for TafcConfig
impl UnwindSafe for TafcConfig
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