Skip to main content

ConversationMemoryWriter

Trait ConversationMemoryWriter 

Source
pub trait ConversationMemoryWriter:
    Send
    + Sync
    + 'static {
    // Required method
    fn create_memory<'life0, 'async_trait>(
        &'life0 self,
        input: NewConversationMemory,
    ) -> Pin<Box<dyn Future<Output = ConversationMemoryResult<ConversationMemoryId>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn create_memory<'life0, 'async_trait>( &'life0 self, input: NewConversationMemory, ) -> Pin<Box<dyn Future<Output = ConversationMemoryResult<ConversationMemoryId>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§