mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 16:56:27 +02:00
Add approximate nearest neighbor infrastructure to vec0: shared distance dispatch (vec0_distance_full), flat index type with parser, NEON-optimized cosine/Hamming for float32/int8, amalgamation script, and benchmark suite (benchmarks-ann/) with ground-truth generation and profiling tools. Remove unused vec_npy_each/vec_static_blobs code, fix missing stdint.h include.
10 lines
191 B
SQL
10 lines
191 B
SQL
.timer on
|
|
pragma page_size = 32768;
|
|
--pragma page_size = 16384;
|
|
--pragma page_size = 16384;
|
|
--pragma page_size = 4096;
|
|
|
|
create virtual table vec_items using vec0(
|
|
embedding float[1536]
|
|
);
|
|
|