sqlite-vec is a vector search SQLite extension that enables fast nearest neighbor search directly within SQL queries. It supports various distance metrics (cosine, L2, dot product) and allows indexing vectors using IVF (inverted file) with optional product quantization compression. This package is the prebuilt Windows x64 binary for Node.js, installed automatically when `sqlite-vec` is used on that platform. Version 0.1.9 is the current stable release with no release cadence established. Unlike other vector database extensions, sqlite-vec is embedded directly into SQLite, requiring no external server.
npm install sqlite-vec-windows-x64No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Loads the sqlite-vec extension into better-sqlite3, creates a vec0 virtual table, inserts vectors, and performs a cosine similarity search.
Install the 'sqlite-vec' meta-package, which will automatically select the correct platform-specific binary.
Ensure inserted vectors match the declared dimension in the virtual table definition (e.g., float[512] means 512 floats).
Call db.loadExtension() immediately after creating the database.
Pin versions and test thoroughly before upgrading.
Ensure you are on Windows x64 and reinstall the package: 'npm install sqlite-vec-windows-x64'. The .node file should be in the package root.
Call db.loadExtension() before executing any DDL that references vec0.
Ensure the vector dimension matches the declared float[X] in the virtual table schema.
Use the correct number of bind parameters: rowid and embedding (as Float32Array).