Skip to main content

SemanticSearcher

Trait SemanticSearcher 

Source
pub trait SemanticSearcher: Send + Sync {
    // Required method
    fn semantic_search<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        query: &'life1 str,
        limit: usize,
        opts: &'life2 SearchOptions,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<SemanticResult>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

Implementors§