diff --git a/db/init/010_schema.sql b/db/init/010_schema.sql index 6ec8c21..2a8392d 100644 --- a/db/init/010_schema.sql +++ b/db/init/010_schema.sql @@ -33,7 +33,7 @@ CREATE TABLE IF NOT EXISTS embeddings ( chunk_id UUID NOT NULL REFERENCES memory_chunks(id) ON DELETE CASCADE, model TEXT NOT NULL, dim INT NOT NULL, - vector VECTOR(1536), + vector VECTOR(1024), created_at TIMESTAMPTZ NOT NULL DEFAULT now(), UNIQUE(chunk_id, model) ); diff --git a/tools/requirements.txt b/tools/requirements.txt index 296ca87..214fcf0 100644 --- a/tools/requirements.txt +++ b/tools/requirements.txt @@ -1 +1,3 @@ psycopg +numpy +pgvector