mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 08:46:49 +02:00
Add rescore index type: stores full-precision float vectors in a rowid-keyed shadow table, quantizes to int8 for fast initial scan, then rescores top candidates with original vectors. Includes config parser, shadow table management, insert/delete support, KNN integration, compile flag (SQLITE_VEC_ENABLE_RESCORE), fuzz targets, and tests. |
||
|---|---|---|
| .. | ||
| corpus | ||
| targets | ||
| .gitignore | ||
| exec.c | ||
| exec.dict | ||
| json.c | ||
| Makefile | ||
| metadata-columns.c | ||
| numpy.dict | ||
| README.md | ||
| rescore-create.c | ||
| rescore-create.dict | ||
| rescore-interleave.c | ||
| rescore-knn-deep.c | ||
| rescore-operations.c | ||
| rescore-quantize-edge.c | ||
| rescore-quantize.c | ||
| rescore-shadow-corrupt.c | ||
| scalar-functions.c | ||
| scalar-functions.dict | ||
| shadow-corrupt.c | ||
| TODO.md | ||
| vec-each.c | ||
| vec-mismatch.c | ||
| vec0-create-full.c | ||
| vec0-create.c | ||
| vec0-create.dict | ||
| vec0-delete-completeness.c | ||
| vec0-operations.c | ||
ASAN_OPTIONS=detect_leaks=1 ./targets/vec0_create \
-dict=./vec0-create.dict -max_total_time=5 \
./corpus/vec0-create
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
LDFLAGS="-L/opt/homebrew/opt/llvm/lib/c++ -Wl,-rpath,/opt/homebrew/opt/llvm/lib/c++"