pub trait TextSplitter {
    // Required method
    fn split_text(&self, text: &str) -> Result<Vec<String>, Box<dyn Error>>;
}

Required Methods§

source

fn split_text(&self, text: &str) -> Result<Vec<String>, Box<dyn Error>>

Implementors§