Trait FastGPT

Source
pub trait FastGPT {
    // Required method
    fn fastgpt<'life0, 'life1, 'async_trait>(
        &'life0 self,
        query: &'life1 str,
        cache: bool,
    ) -> Pin<Box<dyn Future<Output = KagiResult<Answer>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn fastgpt<'life0, 'life1, 'async_trait>( &'life0 self, query: &'life1 str, cache: bool, ) -> Pin<Box<dyn Future<Output = KagiResult<Answer>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§