storeMemory method
Stores a raw Memory object directly (non-triple form).
Implementation
void storeMemory(Memory memory) {
// Extract a simple fact from the memory content
final tokens = memory.content.split(RegExp(r'\s+'));
if (tokens.length >= 3) {
storeFact(
subject: tokens.first,
predicate: tokens.length > 2 ? tokens[1] : 'is',
object: tokens.skip(2).join(' '),
confidence: memory.strength,
);
}
}