We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bdd666 commit f273691Copy full SHA for f273691
README.md
@@ -88,7 +88,9 @@ CREATE TABLE images (
88
-- Insert a vector (Float32, 384 dimensions)
89
INSERT INTO images (embedding, label) VALUES (?, 'cat');
90
91
--- Initialize vector
+-- Initialize the vector. By default, the distance function is L2.
92
+-- To use a different metric, specify one of the following options:
93
+-- distance=L1, distance=COSINE, distance=DOT, or distance=SQUARED_L2.
94
SELECT vector_init('images', 'embedding', 'type=FLOAT32,dimension=384');
95
96
-- Quantize vector
0 commit comments