use pyo3::prelude::*;
#[pyclass]
pub struct Cerebro {
}
#[pymethods]
impl Cerebro {
#[new]
pub fn new() -> Self {
Self {}
}
pub fn ingest(&self, _text: &str) -> PyResult<()> {
Ok(())
}
pub fn search(&self, _query: &str) -> PyResult<Vec<String>> {
Ok(vec![])
}
}
#[pymodule]
fn cerebro(_py: Python, m: &PyModule) -> PyResult<()> {
m.add_class::<Cerebro>()?;
Ok(())
}