Alex Garcia
ac87b06b02
Add SQLITE_VEC_STATIC option, prefix json function
2024-08-09 10:44:39 -07:00
Alex Garcia
65c4aa3754
Merge branch 'main' of github.com:asg017/sqlite-vec into main
2024-08-09 10:26:50 -07:00
Sheldon Robinson
6c26399269
Fix compilation error for redefinition of jsonIsspace ( #75 )
...
* Fix compilation error for redefinition of jsonIsspace when including in amalgamation build of sqlite3.c
* Fix redefinition variable jsonIsSpaceX[]
* Add check for SQLITE_AMALGMATION
* Add check for SQLITE_CORE
2024-08-09 10:26:45 -07:00
Alex Garcia
fdd1b2679e
control path fixes
2024-08-09 10:25:31 -07:00
Sheldon Robinson
6cccfae273
Add implementation for __builtin_popcountl for Windows on ARM ( #72 )
...
Window on Arm missing the __popcnt64 function.
Adding static implementation based on b64f1e77b5/lib/ngtcp2_ringbuf.c , line 34-43
2024-08-09 10:07:15 -07:00
Alex Garcia
530a3c95d2
Explicitly test that SQLite version 3.31.1 is compatible with sqlite-vec when statically compiling
2024-08-05 16:46:35 -07:00
Ikko Eltociear Ashimine
bd5c847a97
chore: update sqlite-vec.c ( #61 )
...
identifer -> identifier
2024-08-05 11:15:02 -07:00
Alex Garcia
e379c205c8
limit checks
2024-08-01 02:45:51 -07:00
Alex Garcia
a0bc9404ce
static updates
2024-07-31 12:56:09 -07:00
Alex Garcia
0f5bc2f254
fmt
2024-07-23 23:57:42 -07:00
Alex Garcia
7a1b14976a
vec_blob_close proper handling
2024-07-23 23:57:28 -07:00
Alex Garcia
633db6e9cc
add l1 distance to vec0 tables
2024-07-23 14:04:17 -07:00
Alex Garcia
79491542e5
Merge branch 'main' of github.com:asg017/sqlite-vec into main
2024-07-23 12:27:37 -07:00
Daniel Levi-Minzi
25b85afc89
l1 distance ( #39 )
...
* initial work on l1
* l1 int8 neon implementation
* tweak l1 int8 and add test
* broken overflow still
* some progress on l1
* change to i32 instead of i64
* remove comment
* ignore poetry stuff
* unrolled l1 int8 and format
* remove comments
2024-07-23 09:04:15 -07:00
Alex Garcia
7fc8248f28
ensure statements opened by vec0 are finalize before commits.
2024-07-23 08:59:34 -07:00
Alex Garcia
ff6cf96e2a
vec_type(), API references
2024-07-22 21:24:44 -07:00
Alex Garcia
f4fe53e584
docs and fuzz
2024-07-16 22:28:15 -07:00
Alex Garcia
73b9156a7c
changes for ncruces go
2024-07-11 22:36:18 -07:00
Alex Garcia
23f0b75f9c
fix win cl.exe, void unknown size
2024-07-05 12:10:05 -07:00
Alex Garcia
f217cbf2bd
knn cleanups and tests
2024-07-05 12:07:45 -07:00
Alex Garcia
f602ae1396
cast ambiguous to i64
2024-06-28 22:15:53 -07:00
Alex Garcia
39f6fa3dc9
gha: cl DEFAULT_FLAGS
2024-06-28 22:07:02 -07:00
Alex Garcia
be6900b0f9
gha: yeet out p
2024-06-28 22:03:54 -07:00
Alex Garcia
cc95770edd
gha: please
2024-06-28 21:58:53 -07:00
Alex Garcia
50f6886ac3
drop th econst?
2024-06-28 21:38:50 -07:00
Alex Garcia
b7bfe1f805
address some cl.exe issues
2024-06-28 20:56:51 -07:00
Alex Garcia
76c421e0b9
win32 try
2024-06-28 20:50:20 -07:00
Alex Garcia
44aef7a50f
memset 0 all applicable mallocs, fix windows?
2024-06-28 19:21:50 -07:00
Alex Garcia
2eafd843d7
no inline, windows i64 fix?
2024-06-28 16:00:58 -07:00
Alex Garcia
a5525c9a5d
vec0 point and knn error handling
2024-06-28 15:29:13 -07:00
Alex Garcia
2fdd760dd1
fmt
2024-06-28 10:51:59 -07:00
Alex Garcia
b923c596df
a ton more error handing, vec0 insert/delete/update, npy fixes
2024-06-28 10:51:49 -07:00
Alex Garcia
cd772ff858
properly dispose of drop stmt
2024-06-25 09:05:01 -07:00
Alex Garcia
9dc772e9f9
format, pragma_table_list -> sqlite_master
2024-06-25 08:54:51 -07:00
Alex Garcia
feea3bfe43
remove vec_expo, impl drop vec0
2024-06-25 08:52:48 -07:00
Alex Garcia
d5363ccde7
re-add threadsafe, tests for drop column support
2024-06-24 23:34:40 -07:00
Alex Garcia
3a8ab9b489
several vec0 and np fixes
2024-06-24 23:26:11 -07:00
Alex Garcia
4196f16b27
error handling on vec0 INSERT operations, introduce evidence-of
2024-06-23 17:46:42 -07:00
Alex Garcia
df48ac2416
make format
2024-06-13 16:32:57 -07:00
Daniel Levi-Minzi
4cb924aaad
Always Use Neon for L2 f32 ( #20 )
...
* use neon for vectors larger than 16 elements always
* remove commented out code
2024-06-10 11:56:42 -07:00
Alex Garcia
a210874c46
fix bus error
2024-06-09 00:05:19 -07:00
k.h.lai
80531b53e0
fix msvc build ( #14 )
2024-06-08 23:53:12 -07:00
Daniel Levi-Minzi
0c75fd292f
L2 int8 neon implementation ( #18 )
...
* initial work for l2 neon implementation
* remove comment
2024-06-08 11:52:24 -07:00
Daniel Levi-Minzi
e9bf355a70
int8 vec from text ( #17 )
...
* parse int8 vec from json format text
* add small test cases for text based loading
2024-06-08 11:50:10 -07:00
Alex Garcia
8c418f9349
vec_expo experiment
2024-05-26 22:59:29 -07:00
Alex Garcia
29d4750c0f
doc
2024-05-26 20:54:37 -07:00
Alex Garcia
0af4e1eaed
cosmocc support
2024-05-23 11:15:30 -07:00
Alex Garcia
f0c9282299
try out static blobs feature behind SQLITE_VEC_ENABLE_EXPERIMENTAL
2024-05-17 12:03:45 -07:00
Alex Garcia
ab45c39f31
small todo progress
2024-05-12 00:16:10 -07:00
Alex Garcia
e6067e2711
start simple examples
2024-05-10 20:51:42 -07:00