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