Core Concepts

Memories

A memory is the smallest unit of information in Databaset: one piece of text tied to a user.

What to store

  • User preferences ("prefers dark mode")
  • Facts ("works at Acme Corp")
  • Conversation snippets ("asked about pricing on Jan 15")
  • Behavioral signals ("usually active on weekends")

Structure

Each memory includes:

| Field | Description | |-------|-------------| | id | Unique memory ID (mem_...) | | userId | Owner of the memory | | text | Original content | | appId | App scope (optional) | | metadata | Custom key-value data | | createdAt | ISO timestamp |

Auto-classification

Databaset detects memory types automatically (episodic, semantic, and preference) to improve retrieval ranking.