pub trait Knowledge: Chunker {
// Required methods
fn load(&self) -> Result<String, KnowledgeError>;
fn enrich(&self, input: &str) -> Result<String, KnowledgeError>;
}Required Methods§
Sourcefn load(&self) -> Result<String, KnowledgeError>
fn load(&self) -> Result<String, KnowledgeError>
Load the content into the memory.