Commit graph

352 commits

Author SHA1 Message Date
Alex Garcia
fd80b7b985 dark mode fixes 2025-01-21 13:16:29 -08:00
Alex Garcia
5e3147f0f0 fix inline 2025-01-21 13:11:01 -08:00
Alex Garcia
616181804b sponsor fixes 2025-01-21 13:07:00 -08:00
Alex Garcia
aa9f049a8b README + new sponsor! 2025-01-18 10:15:09 -08:00
punkish
f93bc5b358
Update vec0.md (#177)
fixed a lot of typos and cleaned up the language (thanks for a great extension)
2025-01-18 09:23:23 -08:00
Alex Garcia
bdc336d1cf v0.1.7-alpha.2 2025-01-10 14:54:13 -08:00
Alex Garcia
44e4438ed5 fix segfault on invalid vec_each() input, fixes #163 2025-01-10 14:44:37 -08:00
Alex Garcia
21eda5c24d v0.1.7-alpha.1 2025-01-10 13:18:12 -08:00
Alex Garcia
7748ad0b3a include linux-arm64 in npm builds 2025-01-10 13:17:38 -08:00
Alex Garcia
a223f5f17c macos-12 runner deprecated, bump to macos-13 2025-01-10 11:21:11 -08:00
Luke Hinds
cc7c29ec2f
Fix build for linux-aarch64 and clean up Android dupes (#160)
- Switched to the correct compiler (gcc-aarch64-linux-gnu) for linux-aarch64 builds to ensure 64-bit binaries are generated.
- Removed duplicate artifact upload for sqlite-vec-android-armv7a-extension in the dist job.

Resolves: #159
2025-01-10 11:15:11 -08:00
Igor Berlenko
2abca78d35
Update js.md (#145) 2024-11-26 11:29:15 -08:00
Ben Holmes
d1f6a81482
update rusqlite demo (#146) 2024-11-26 11:28:53 -08:00
Alex Garcia
639fca5739 v0.1.6 2024-11-20 08:34:19 -08:00
Alex Garcia
6d90d1f5e5 doc 2024-11-20 08:30:36 -08:00
Alex Garcia
71f17635bc v0.1.6-alpha.2 2024-11-20 06:52:13 -08:00
Alex Garcia
4c6baab632 skip test on windows releases 2024-11-20 06:52:07 -08:00
Alex Garcia
c3cbe760a6 v0.1.6-alpha.1 2024-11-20 06:48:24 -08:00
Alex Garcia
d54a0f4eb2 cleanup 2024-11-20 06:48:13 -08:00
Alex Garcia
352f953fc0
Metadata filtering (#124)
* initial pass at PARTITION KEY support.

* Initial pass, allow auxiliary columns on vec0 virtual tables

* update TODO

* Initial pass at metadata filtering

* unit tests

* gha this PR branch

* fixup tests

* doc internal

* fix tests, KNN/rowids in

* define SQLITE_INDEX_CONSTRAINT_OFFSET

* whoops

* update tests, syrupy, use uv

* un ignore pyproject.toml

* dot

* tests/

* type error?

* win: .exe, update error name

* try fix macos python, paren around expr?

* win bash?

* dbg :(

* explicit error

* op

* dbg win

* win ./tests/.venv/Scripts/python.exe

* block UPDATEs on partition key values for now

* test this branch

* accidentally removved "partition key type mistmatch" block during merge

* typo ugh

* bruv

* start aux snapshots

* drop aux shadow table on destroy

* enforce column types

* block WHERE constraints on auxiliary columns in KNN queries

* support delete

* support UPDATE on auxiliary columns

* test this PR

* dont inline that

* test-metadata.py

* memzero text buffer

* stress test

* more snpashot tests

* rm double/int32, just float/int64

* finish type checking

* long text support

* DELETE support

* UPDATE support

* fix snapshot names

* drop not-used in eqp

* small fixes

* boolean comparison handling

* ensure error is raised when long string constraint

* new version string for beta builds

* typo whoops

* ann-filtering-benchmark directory

* test-case

* updates

* fix aux column error when using non-default rowid values, needs test

* refactor some text knn filtering

* rowids blob read only on text metadata filters

* refactor

* add failing test causes for non eq text knn

* text knn NE

* test cases diff

* GT

* text knn GT/GE fixes

* text knn LT/LE

* clean

* vtab_in handling

* unblock aux failures for now

* guard sqlite3_vtab_in

* else in guard?

* fixes and tests

* add broken shadow table test

* rename _metadata_chunksNN shadown table to _metadatachunksNN, for proper shadowName detection

* _metadata_text_NN shadow tables to _metadatatextNN

* SQLITE_VEC_VERSION_MAJOR SQLITE_VEC_VERSION_MINOR and SQLITE_VEC_VERSION_PATCH in sqlite-vec.h

* _info shadow table

* forgot to update aux snapshot?

* fix aux tests
2024-11-20 00:59:34 -08:00
Alex Garcia
9bfeaa7842
Auxiliary column support (#123)
* initial pass at PARTITION KEY support.

* Initial pass, allow auxiliary columns on vec0 virtual tables

* update TODO

* unit tests

* gha this PR branch

* fixup tests

* doc internal

* fix tests, KNN/rowids in

* define SQLITE_INDEX_CONSTRAINT_OFFSET

* whoops

* update tests, syrupy, use uv

* un ignore pyproject.toml

* dot

* tests/

* type error?

* win: .exe, update error name

* try fix macos python, paren around expr?

* win bash?

* dbg :(

* explicit error

* op

* dbg win

* win ./tests/.venv/Scripts/python.exe

* block UPDATEs on partition key values for now

* test this branch

* accidentally removved "partition key type mistmatch" block during merge

* typo ugh

* bruv

* start aux snapshots

* drop aux shadow table on destroy

* enforce column types

* block WHERE constraints on auxiliary columns in KNN queries

* support delete

* support UPDATE on auxiliary columns
2024-11-20 00:30:23 -08:00
Alex Garcia
6658624172
PARTITION KEY support (#122)
* initial pass at PARTITION KEY support.

* unit tests

* gha this PR branch

* fixup tests

* doc internal

* fix tests, KNN/rowids in

* define SQLITE_INDEX_CONSTRAINT_OFFSET

* whoops

* update tests, syrupy, use uv

* un ignore pyproject.toml

* dot

* tests/

* type error?

* win: .exe, update error name

* try fix macos python, paren around expr?

* win bash?

* dbg :(

* explicit error

* op

* dbg win

* win ./tests/.venv/Scripts/python.exe

* block UPDATEs on partition key values for now
2024-11-20 00:02:04 -08:00
Alex Garcia
ee3654701f v0.1.5 2024-11-15 11:22:50 -08:00
Alex Garcia
5183ab4b34 v0.1.5-alpha.1 2024-11-15 11:18:19 -08:00
Alex Garcia
9780f6d445 bump dist to fix linux arm builds 2024-11-15 11:17:55 -08:00
Alex Garcia
67f8ff8517 v0.1.4 2024-11-15 11:02:10 -08:00
Alex Garcia
e412860897 v0.1.4-alpha.3 2024-11-15 10:51:26 -08:00
Alex Garcia
04c6da4c62 update linux arm builds 2024-11-15 10:43:44 -08:00
Alex Garcia
f7730ac12e experimental metadata docs 2024-11-15 10:40:44 -08:00
Alex Garcia
7991cd734b gha: no -DSQLITE_CORE on pyodide build, shouldn't need it? 2024-11-08 21:49:10 -08:00
Alex Garcia
1f60587b0c run site deploy only when site changes 2024-11-08 21:48:42 -08:00
Alex Garcia
aae35ce106 try pyodide build 2024-11-08 21:46:41 -08:00
Alex Garcia
12259dc35e gha: get-measurement 2024-11-04 16:56:33 -08:00
Alex Garcia
beba23f17d try arm build, measure energy 2024-11-04 16:53:10 -08:00
Alex Garcia
9cc0deae34 v0.1.4-alpha.2 2024-10-11 09:38:43 -07:00
Alex Garcia
b8fadf6afb bump sqlite-dist 2024-10-11 09:38:34 -07:00
Alex Garcia
4a02010037 v0.1.4-alpha.1 2024-10-11 09:18:03 -07:00
Alex Garcia
ad3b18e614 fix ncruces build 2024-10-11 09:14:24 -07:00
Alex Garcia
b582f1db41 rm cgo bindings bc theyre in a separate repo anyway 2024-10-11 09:14:17 -07:00
Alex Garcia
cc12e44d4c small docs work 2024-10-11 09:09:32 -07:00
Alex Garcia
b6245e21a2 bump sqlite-dist 2024-10-11 09:08:41 -07:00
Alex Garcia
5c99ad3905 nbc demo updates 2024-10-11 09:08:29 -07:00
Alex Garcia
f43ae7a741 nbc headlines updates 2024-10-02 10:24:49 -07:00
Alex Garcia
496560cf9a v0.1.3 2024-09-26 00:22:46 -07:00
Alex Garcia
518e1c0320 add security doc 2024-09-26 00:22:31 -07:00
Alex Garcia
5b61ec2a8d v0.1.3-alpha.3 2024-09-25 23:09:49 -07:00
Alex Garcia
763aad5d6a Remove vec_npy_each from default entrypoint and move to sqlite3_vec_numpy_init entrypoint 2024-09-25 23:07:17 -07:00
Alex Garcia
70dce09747 old docs 2024-09-25 22:39:21 -07:00
Alex Garcia
f09f6a0215 fmt 2024-09-20 13:17:57 -07:00
Alex Garcia
330f021216 v0.1.3-alpha.2 2024-09-16 10:49:00 -07:00