Files
furumi-web/src/lyrics/search_schema.sql
T
ab aad76c782a
Build and Publish / Build and Publish Docker Image (push) Failing after 2m57s
feat: add local hybrid lyrics search with bundled E5 model
2026-11-23 03:41:42 +02:00

8 lines
267 B
SQL

CREATE TABLE IF NOT EXISTS furumusic__lyrics_embedding (
profile TEXT NOT NULL,
text_hash TEXT NOT NULL,
vector BYTEA NOT NULL CHECK (octet_length(vector) = 1536),
created_at TIMESTAMPTZ NOT NULL DEFAULT now(),
PRIMARY KEY (profile, text_hash)
);