mod passthrough;
pub use passthrough::PassthroughIngest;
use crate::error::Result;
use crate::traits::MemoryType;
pub trait IngestStrategy: Send + Sync {
fn extract(&self, raw: &str) -> Result<Vec<ExtractedFact>>;
}
#[derive(Debug, Clone)]
pub struct ExtractedFact {
pub text: String,
pub category: Option<String>,
pub memory_type: MemoryType,
pub importance: u8,
}