cosine, euclidean, or dot-product.
Bind an index
Insert or update vectors
insert preserves an existing ID; upsert fully replaces it. The mutation is
visible when the promise resolves.
Query
Complete API
Requests accept ordinary arrays,
Float32Array, or Float64Array. Query
topK is between 1 and 100; batch ID operations accept at most 1,000 IDs.
Vectorize performs exact native Turso similarity search. A query with more than
10,000 eligible rows fails explicitly instead of silently switching to an
approximate or remote index.
