Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

437 B
Raw Blame
CREATE TABLE IF NOT EXISTS model_catalog_configs (
    id INTEGER PRIMARY KEY,
    version BIGINT NOT NULL DEFAULT 0,
    overlay JSONB NOT NULL,
    history JSONB NOT NULL,
    updated_by VARCHAR(36) NOT NULL DEFAULT '',
    updated_at TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP,
    CHECK (id = 1)
);
INSERT INTO model_catalog_configs (id, version, overlay, history)
VALUES (1, 0, '{"providers":{}}', '[]') ON CONFLICT DO NOTHING;