Use new embedding size in schema
This commit is contained in:
parent
3ab1089c51
commit
b5c3dd21e0
|
|
@ -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)
|
||||
);
|
||||
|
|
|
|||
|
|
@ -1 +1,3 @@
|
|||
psycopg
|
||||
numpy
|
||||
pgvector
|
||||
|
|
|
|||
Loading…
Reference in New Issue