Memory Types
Understanding the different types of memory in Sno.
Memory Types
Sno supports different types of memory to match how humans and AI think.
Episodic Memory
Stores specific events and experiences with temporal context.
await sno.remember({
type: 'episodic',
content: "Had a meeting about Q4 planning",
timestamp: new Date(),
context: { meeting: 'quarterly-planning' }
});
Semantic Memory
Stores facts, concepts, and general knowledge.
await sno.remember({
type: 'semantic',
content: "Company headquarters is in San Francisco",
tags: ['company', 'location']
});
Procedural Memory
Stores how-to knowledge and processes.
await sno.remember({
type: 'procedural',
content: "To deploy: run 'npm run build' then 'vercel deploy'",
tags: ['deployment', 'workflow']
});
Working Memory
Temporary memory for current context (automatically managed).