pub struct PipelineConfig {
pub confidence_threshold_direct: f32,
pub confidence_threshold_llm_required: f32,
}Expand description
Configuration for the classification pipeline.
Fields§
§confidence_threshold_direct: f32Confidence threshold above which a result is returned directly without asking for LLM confirmation.
confidence_threshold_llm_required: f32Confidence threshold below which LLM is required.
Between confidence_threshold_llm_required and confidence_threshold_direct
the result is returned with RecommendedAction::VerifyWithLlm.
Trait Implementations§
Source§impl Clone for PipelineConfig
impl Clone for PipelineConfig
Source§fn clone(&self) -> PipelineConfig
fn clone(&self) -> PipelineConfig
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 PipelineConfig
impl Debug for PipelineConfig
Auto Trait Implementations§
impl Freeze for PipelineConfig
impl RefUnwindSafe for PipelineConfig
impl Send for PipelineConfig
impl Sync for PipelineConfig
impl Unpin for PipelineConfig
impl UnsafeUnpin for PipelineConfig
impl UnwindSafe for PipelineConfig
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