ParisNeo/lollms-webui

Document format that exported data ends up in.

AndriyMulyar opened this issue · 1 comments

Document format that exported data ends up in.

Looks like the data is stored in a sqlite3 database. Here are the two tables:

            CREATE TABLE IF NOT EXISTS discussion (
                id INTEGER PRIMARY KEY AUTOINCREMENT,
                title TEXT
            )

and

            CREATE TABLE IF NOT EXISTS message (
                id INTEGER PRIMARY KEY AUTOINCREMENT,
                sender TEXT NOT NULL,
                content TEXT NOT NULL,
                discussion_id INTEGER NOT NULL,
                FOREIGN KEY (discussion_id) REFERENCES discussion(id)
            )