Skip to main content

Overview

The storage system uses the following tables/collections to persist data:
  • Sessions Table: Stores conversation history, summaries, runs, and metadata
  • User Memory Table: Stores user profiles and extracted traits
  • Knowledge Table: Stores document registry metadata for KnowledgeBase (when storage is passed to a KnowledgeBase)

Sessions Table Schema

Stores all session-related data including messages, runs, and summaries.

User Memory Table Schema

Stores user profiles and traits extracted from conversations.

Knowledge Table Schema

Stores document metadata for KnowledgeBase instances. Created automatically when a storage backend is passed to a KnowledgeBase. The default table name is upsonic_knowledge.

Accessing Stored Data

Via Memory Class

Direct Storage Access