pub struct AnswerCorrectnessConfig {
pub use_fact_checking: bool,
pub factual_weight: f32,
pub semantic_weight: f32,
}Fields§
§use_fact_checking: bool§factual_weight: f32§semantic_weight: f32Trait Implementations§
Source§impl Clone for AnswerCorrectnessConfig
impl Clone for AnswerCorrectnessConfig
Source§fn clone(&self) -> AnswerCorrectnessConfig
fn clone(&self) -> AnswerCorrectnessConfig
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 AnswerCorrectnessConfig
impl Debug for AnswerCorrectnessConfig
Auto Trait Implementations§
impl Freeze for AnswerCorrectnessConfig
impl RefUnwindSafe for AnswerCorrectnessConfig
impl Send for AnswerCorrectnessConfig
impl Sync for AnswerCorrectnessConfig
impl Unpin for AnswerCorrectnessConfig
impl UnwindSafe for AnswerCorrectnessConfig
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