Stt

Trait Stt 

Source
pub trait Stt: Send + Sync {
    // Required method
    fn stt<'life0, 'life1, 'async_trait>(
        &'life0 self,
        audio: &'life1 [u8],
    ) -> Pin<Box<dyn Future<Output = Result<String, AgentError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Speech‑to‑text trait.

Required Methods§

Source

fn stt<'life0, 'life1, 'async_trait>( &'life0 self, audio: &'life1 [u8], ) -> Pin<Box<dyn Future<Output = Result<String, AgentError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§