Skip to content

Commit b897268

Browse files
authored
Update API.md
1 parent af456aa commit b897268

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

API.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,11 @@ SELECT vector_init('documents', 'embedding', 'dimension=384,type=FLOAT32,distanc
9292

9393
## `vector_quantize(table, column, options)`
9494

95-
**Returns:** `NULL`
95+
**Returns:** `INTEGER`
9696

9797
**Description:**
98+
Returns the total number of succesfully quantized rows.
99+
98100
Performs quantization on the specified table and column. This precomputes internal data structures to support fast approximate nearest neighbor (ANN) search.
99101
Read more about quantization [here](https://github.com/sqliteai/sqlite-vector/blob/main/QUANTIZATION.md).
100102

0 commit comments

Comments
 (0)