genai / pgvector /init.sql
gauravprasadgp's picture
initial commit
d132e19
raw
history blame contribute delete
200 Bytes
CREATE EXTENSION IF NOT EXISTS vector;
CREATE TABLE IF NOT EXISTS embeddings (
id SERIAL PRIMARY KEY,
embedding vector,
document text,
metadata jsonb
created_at timestamptz DEFAULT now()
);