pub async fn mock_semantic_memory() -> Result<Arc<SemanticMemory>, MemoryError>Expand description
Build a SemanticMemory that runs entirely in-process with no external
dependencies.
SQLitebackend::memory:(in-process, no file I/O)- Vector backend:
InMemoryVectorStore(cosine similarity search) - LLM provider:
MockProviderwith embedding support enabled
ยงErrors
Returns MemoryError if the in-memory SQLite cannot be initialised.