pub fn get_cached( db: &MemoryDatabase, text: &str, ) -> Result<Option<Vec<f32>>, Error>
Get a cached embedding for the given text.
Returns Some(vector) if a cached embedding exists, None otherwise.
Some(vector)
None