Expand description
Database schema definitions for the memory system
Structs§
- Database
Stats - Database statistics
- Detail
- Represents a preserved detail from a message
- Embedding
- Represents an embedding vector for semantic search
- KvSnapshot
- Represents KV snapshot for cache management
- Search
Result - Represents search result
- Session
- Represents a conversation session
- Session
Metadata - Session
Summary - Cumulative summary of a session’s full conversation history. There is exactly one row per session. It is replaced (not appended) on every KV cache clear, so it always covers everything from the start of the session.
- Stored
Message - Represents a single message in a conversation
- Summary
- Represents a conversation summary
Enums§
Constants§
- SCHEMA_
SQL - SQL statements for table creation