Created
May 4, 2025 20:54
-
-
Save vedovelli/c4477c424c41e6890075f8990f4b715a to your computer and use it in GitHub Desktop.
Instrução SQL criação tabela de embeddings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE task_embeddings ( | |
id INTEGER PRIMARY KEY AUTOINCREMENT, | |
chunk_content TEXT NOT NULL, | |
task_id INTEGER NOT NULL REFERENCES tasks (id) ON DELETE CASCADE, | |
embedding F32_BLOB (3072) NOT NULL | |
); | |
CREATE INDEX task_embeddings_idx ON task_embeddings (libsql_vector_idx (embedding)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment