pub struct LlmCapabilityConfig {
pub base_threshold: f64,
pub threshold_step: f64,
pub contract: ClassifierContractConfig,
pub max_output_tokens: u64,
}Expand description
Prompt, output, and solve-probability settings for an LLM capability judge.
Fields§
§base_threshold: f64Lowest solve probability that routes a supported task to the efficient target.
threshold_step: f64Amount added per capability-boundary step: zero for supported, one for uncertain or unmatched, and two for unsupported.
contract: ClassifierContractConfigPrompt and verdict contract settings for the classifier judge.
max_output_tokens: u64Maximum completion tokens available to the classifier verdict.
Trait Implementations§
Source§impl Clone for LlmCapabilityConfig
impl Clone for LlmCapabilityConfig
Source§fn clone(&self) -> LlmCapabilityConfig
fn clone(&self) -> LlmCapabilityConfig
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 LlmCapabilityConfig
impl Debug for LlmCapabilityConfig
Auto Trait Implementations§
impl Freeze for LlmCapabilityConfig
impl RefUnwindSafe for LlmCapabilityConfig
impl Send for LlmCapabilityConfig
impl Sync for LlmCapabilityConfig
impl Unpin for LlmCapabilityConfig
impl UnsafeUnpin for LlmCapabilityConfig
impl UnwindSafe for LlmCapabilityConfig
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