pub struct StaticQueryGenerator { /* private fields */ }Expand description
A static query generator (no LLM dependency)
Implementations§
Source§impl StaticQueryGenerator
impl StaticQueryGenerator
Sourcepub fn with_synonym_expansion(
self,
synonyms: HashMap<String, Vec<String>>,
) -> Self
pub fn with_synonym_expansion( self, synonyms: HashMap<String, Vec<String>>, ) -> Self
Adds a synonym-expansion rule
Sourcepub fn with_prefix_expansion(self, prefixes: Vec<String>) -> Self
pub fn with_prefix_expansion(self, prefixes: Vec<String>) -> Self
Adds a prefix-expansion rule
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StaticQueryGenerator
impl !UnwindSafe for StaticQueryGenerator
impl Freeze for StaticQueryGenerator
impl Send for StaticQueryGenerator
impl Sync for StaticQueryGenerator
impl Unpin for StaticQueryGenerator
impl UnsafeUnpin for StaticQueryGenerator
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