Skip to main content

FeedbackRecorder

Trait FeedbackRecorder 

Source
pub trait FeedbackRecorder: Send + Sync {
    // Required method
    fn record_feedback<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        memory_id: &'life1 str,
        rating: &'life2 str,
        reason: Option<&'life3 str>,
    ) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
}

Required Methods§

Source

fn record_feedback<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, memory_id: &'life1 str, rating: &'life2 str, reason: Option<&'life3 str>, ) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Implementors§