pub struct SearchStepConfig {
pub limit: usize,
pub min_score: f32,
pub query_text: Option<String>,
}Expand description
Configuration for search/retrieval step
Fields§
§limit: usizeNumber of results to retrieve
min_score: f32Minimum similarity threshold
query_text: Option<String>Search query text (if not using embeddings)
Trait Implementations§
Source§impl Clone for SearchStepConfig
impl Clone for SearchStepConfig
Source§fn clone(&self) -> SearchStepConfig
fn clone(&self) -> SearchStepConfig
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 SearchStepConfig
impl Debug for SearchStepConfig
Auto Trait Implementations§
impl Freeze for SearchStepConfig
impl RefUnwindSafe for SearchStepConfig
impl Send for SearchStepConfig
impl Sync for SearchStepConfig
impl Unpin for SearchStepConfig
impl UnwindSafe for SearchStepConfig
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