Feat: add rag [wip; skip-ci]
This commit is contained in:
6
storage/migrations/002_add_vector.up.sql
Normal file
6
storage/migrations/002_add_vector.up.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
CREATE VIRTUAL TABLE IF NOT EXISTS embeddings USING vec0(
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
embedding FLOAT[5120],
|
||||
slug TEXT NOT NULL,
|
||||
raw_text TEXT NOT NULL
|
||||
);
|
||||
Reference in New Issue
Block a user