Skip to main content

SQLite

Lightweight file-based conversation storage. No external setup required.

Usage

from praisonai.persistence.factory import create_conversation_store

# File-based
store = create_conversation_store("sqlite", path="conversations.db")

# In-memory
store = create_conversation_store("sqlite", path=":memory:")

CLI

praisonai persistence doctor --conversation-url "conversations.db"
praisonai persistence run --conversation-url "conversations.db" "Hello"

Configuration

OptionDescription
pathDatabase file path or :memory:
table_prefixTable name prefix (default: praison_)