use crate::memory::{
domain::{HybridWeights, MemoryEntry, RecallHit, RecallQuery},
error::MemoryStoreError,
};
pub trait MemoryStorePort: Send + Sync {
fn init_schema(&self) -> Result<(), MemoryStoreError>;
fn insert(&self, entry: &MemoryEntry) -> Result<(), MemoryStoreError>;
fn recall_hybrid(
&self,
query: &RecallQuery,
weights: HybridWeights,
) -> Result<Vec<RecallHit>, MemoryStoreError>;
}