├── .github ├── logos │ ├── flyio.dark.svg │ ├── flyio.small.ico │ ├── flyio.svg │ ├── mozilla.dark.svg │ ├── mozilla.svg │ ├── shinkai.dark.svg │ ├── shinkai.small.svg │ ├── shinkai.svg │ ├── sqlitecloud.dark.svg │ ├── sqlitecloud.small.svg │ ├── sqlitecloud.svg │ ├── turso.small.ico │ └── turso.svg └── workflows │ ├── release.yaml │ ├── site.yaml │ └── test.yaml ├── .gitignore ├── ARCHITECTURE.md ├── LICENSE-APACHE ├── LICENSE-MIT ├── Makefile ├── README.md ├── SECURITY.md ├── TODO ├── VERSION ├── benchmarks ├── README.md ├── exhaustive-memory │ ├── .gitignore │ ├── Makefile │ ├── README.md │ ├── bench.py │ ├── gist.suite │ ├── requirements.txt │ └── sift.suite ├── micro │ ├── .gitignore │ ├── Cargo.lock │ ├── Cargo.toml │ ├── benches │ │ └── my_benchmark.rs │ ├── build.rs │ └── src │ │ └── lib.rs ├── profiling │ ├── build-from-npy.sql │ └── query-k.sql └── self-params │ ├── build.py │ ├── knn.py │ └── test.py ├── bindings ├── go │ └── ncruces │ │ └── go-sqlite3.patch ├── python │ └── extra_init.py └── rust │ ├── .gitignore │ ├── Cargo.lock │ ├── Cargo.toml.tmpl │ ├── Makefile │ ├── build.rs │ └── src │ └── lib.rs ├── examples ├── nbc-headlines │ ├── .gitignore │ ├── 1_scrape.ipynb │ ├── 2_build.ipynb │ ├── 3_search.ipynb │ ├── Makefile │ └── README.md ├── python-recipes │ └── openai-sample.py ├── simple-bun │ ├── .gitignore │ ├── demo.ts │ └── package.json ├── simple-c │ ├── .gitignore │ ├── Makefile │ └── demo.c ├── simple-deno │ └── demo.ts ├── simple-go-cgo │ ├── .gitignore │ ├── Makefile │ ├── demo.go │ ├── go.mod │ └── go.sum ├── simple-go-ncruces │ ├── .gitignore │ ├── Makefile │ ├── demo.go │ ├── go.mod │ └── go.sum ├── simple-node │ ├── .gitignore │ ├── demo.mjs │ └── package.json ├── simple-node2 │ ├── .gitignore │ ├── demo.mjs │ ├── package.json │ └── tmp.mjs ├── simple-python │ ├── .gitignore │ ├── demo.py │ └── requirements.txt ├── simple-ruby │ ├── .gitignore │ ├── Gemfile │ └── demo.rb ├── simple-rust │ ├── .gitignore │ ├── Cargo.toml │ └── demo.rs ├── simple-sqlite │ └── demo.sql ├── simple-wasm │ └── index.html ├── sqlite3-cli │ ├── README.md │ └── core_init.c └── wasm │ ├── README.md │ └── wasm.c ├── reference.yaml ├── scripts ├── progress.ts ├── publish-release.sh └── vendor.sh ├── site ├── .gitignore ├── .vitepress │ ├── config.mts │ └── theme │ │ ├── HeroImg.vue │ │ ├── Sponsors.vue │ │ ├── index.ts │ │ └── style.css ├── api-reference.md ├── build-ref.mjs ├── compiling.md ├── features │ ├── knn.md │ └── vec0.md ├── getting-started │ ├── installation.md │ └── introduction.md ├── guides │ ├── arithmetic.md │ ├── binary-quant.md │ ├── classifiers.md │ ├── hybrid-search.md │ ├── matryoshka.md │ ├── performance.md │ ├── rag.md │ ├── scalar-quant.md │ └── semantic-search.md ├── index.md ├── package-lock.json ├── package.json ├── project.data.ts ├── public │ ├── flyio.svg │ ├── fonts │ │ ├── ZillaSlab-SemiBold.otf │ │ ├── ZillaSlab-SemiBold.ttf │ │ ├── ZillaSlab-SemiBold.woff │ │ └── ZillaSlab-SemiBold.woff2 │ ├── logo.dark.svg │ ├── logo.light.svg │ ├── mozilla.svg │ ├── shinkai.dark.svg │ ├── shinkai.svg │ ├── sqlitecloud.svg │ └── turso.svg ├── sqlite.tmlanguage.json ├── using │ ├── android-ios.md │ ├── c.md │ ├── datasette.md │ ├── go.md │ ├── js.md │ ├── python.md │ ├── rqlite.md │ ├── ruby.md │ ├── rust.md │ ├── sqlite-utils.md │ └── wasm.md └── versioning.md ├── sqlite-dist.toml ├── sqlite-vec.c ├── sqlite-vec.h.tmpl ├── test.sql ├── tests ├── .gitignore ├── .python-version ├── Cargo.lock ├── Cargo.toml ├── __snapshots__ │ ├── test-auxiliary.ambr │ ├── test-general.ambr │ ├── test-metadata.ambr │ └── test-partition-keys.ambr ├── afbd │ ├── .gitignore │ ├── .python-version │ ├── Makefile │ ├── README.md │ └── test-afbd.py ├── build.rs ├── conftest.py ├── correctness │ ├── build.py │ └── test-correctness.py ├── fuzz.py ├── fuzz │ ├── .gitignore │ ├── Makefile │ ├── README.md │ ├── corpus │ │ └── vec0-create │ │ │ ├── normal1 │ │ │ └── normal2 │ ├── exec.c │ ├── exec.dict │ ├── json.c │ ├── numpy.c │ ├── numpy.dict │ ├── vec0-create.c │ └── vec0-create.dict ├── leak-fixtures │ ├── each.sql │ ├── knn.sql │ └── vec0-create.sql ├── minimum │ ├── .gitignore │ ├── Makefile │ └── demo.c ├── pyproject.toml ├── skip.test-correctness.py ├── sqlite-vec-internal.h ├── test-auxiliary.py ├── test-general.py ├── test-loadable.py ├── test-metadata.py ├── test-partition-keys.py ├── test-unit.c ├── test-wasm.mjs ├── unittest.rs ├── utils.py └── uv.lock └── tmp-static.py /.github/logos/flyio.dark.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/.github/logos/flyio.dark.svg -------------------------------------------------------------------------------- /.github/logos/flyio.small.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/.github/logos/flyio.small.ico -------------------------------------------------------------------------------- /.github/logos/flyio.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/.github/logos/flyio.svg -------------------------------------------------------------------------------- /.github/logos/mozilla.dark.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/.github/logos/mozilla.dark.svg -------------------------------------------------------------------------------- /.github/logos/mozilla.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/.github/logos/mozilla.svg -------------------------------------------------------------------------------- /.github/logos/shinkai.dark.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/.github/logos/shinkai.dark.svg -------------------------------------------------------------------------------- /.github/logos/shinkai.small.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/.github/logos/shinkai.small.svg -------------------------------------------------------------------------------- /.github/logos/shinkai.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/.github/logos/shinkai.svg -------------------------------------------------------------------------------- /.github/logos/sqlitecloud.dark.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/.github/logos/sqlitecloud.dark.svg -------------------------------------------------------------------------------- /.github/logos/sqlitecloud.small.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/.github/logos/sqlitecloud.small.svg -------------------------------------------------------------------------------- /.github/logos/sqlitecloud.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/.github/logos/sqlitecloud.svg -------------------------------------------------------------------------------- /.github/logos/turso.small.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/.github/logos/turso.small.ico -------------------------------------------------------------------------------- /.github/logos/turso.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/.github/logos/turso.svg -------------------------------------------------------------------------------- /.github/workflows/release.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/.github/workflows/release.yaml -------------------------------------------------------------------------------- /.github/workflows/site.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/.github/workflows/site.yaml -------------------------------------------------------------------------------- /.github/workflows/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/.github/workflows/test.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/.gitignore -------------------------------------------------------------------------------- /ARCHITECTURE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/ARCHITECTURE.md -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/SECURITY.md -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/TODO -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 0.1.7-alpha.2 -------------------------------------------------------------------------------- /benchmarks/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /benchmarks/exhaustive-memory/.gitignore: -------------------------------------------------------------------------------- 1 | data/ 2 | -------------------------------------------------------------------------------- /benchmarks/exhaustive-memory/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/benchmarks/exhaustive-memory/Makefile -------------------------------------------------------------------------------- /benchmarks/exhaustive-memory/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/benchmarks/exhaustive-memory/README.md -------------------------------------------------------------------------------- /benchmarks/exhaustive-memory/bench.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/benchmarks/exhaustive-memory/bench.py -------------------------------------------------------------------------------- /benchmarks/exhaustive-memory/gist.suite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/benchmarks/exhaustive-memory/gist.suite -------------------------------------------------------------------------------- /benchmarks/exhaustive-memory/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/benchmarks/exhaustive-memory/requirements.txt -------------------------------------------------------------------------------- /benchmarks/exhaustive-memory/sift.suite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/benchmarks/exhaustive-memory/sift.suite -------------------------------------------------------------------------------- /benchmarks/micro/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | -------------------------------------------------------------------------------- /benchmarks/micro/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/benchmarks/micro/Cargo.lock -------------------------------------------------------------------------------- /benchmarks/micro/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/benchmarks/micro/Cargo.toml -------------------------------------------------------------------------------- /benchmarks/micro/benches/my_benchmark.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/benchmarks/micro/benches/my_benchmark.rs -------------------------------------------------------------------------------- /benchmarks/micro/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/benchmarks/micro/build.rs -------------------------------------------------------------------------------- /benchmarks/micro/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/benchmarks/micro/src/lib.rs -------------------------------------------------------------------------------- /benchmarks/profiling/build-from-npy.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/benchmarks/profiling/build-from-npy.sql -------------------------------------------------------------------------------- /benchmarks/profiling/query-k.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/benchmarks/profiling/query-k.sql -------------------------------------------------------------------------------- /benchmarks/self-params/build.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/benchmarks/self-params/build.py -------------------------------------------------------------------------------- /benchmarks/self-params/knn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/benchmarks/self-params/knn.py -------------------------------------------------------------------------------- /benchmarks/self-params/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/benchmarks/self-params/test.py -------------------------------------------------------------------------------- /bindings/go/ncruces/go-sqlite3.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/bindings/go/ncruces/go-sqlite3.patch -------------------------------------------------------------------------------- /bindings/python/extra_init.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/bindings/python/extra_init.py -------------------------------------------------------------------------------- /bindings/rust/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/bindings/rust/.gitignore -------------------------------------------------------------------------------- /bindings/rust/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/bindings/rust/Cargo.lock -------------------------------------------------------------------------------- /bindings/rust/Cargo.toml.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/bindings/rust/Cargo.toml.tmpl -------------------------------------------------------------------------------- /bindings/rust/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/bindings/rust/Makefile -------------------------------------------------------------------------------- /bindings/rust/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/bindings/rust/build.rs -------------------------------------------------------------------------------- /bindings/rust/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/bindings/rust/src/lib.rs -------------------------------------------------------------------------------- /examples/nbc-headlines/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/nbc-headlines/.gitignore -------------------------------------------------------------------------------- /examples/nbc-headlines/1_scrape.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/nbc-headlines/1_scrape.ipynb -------------------------------------------------------------------------------- /examples/nbc-headlines/2_build.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/nbc-headlines/2_build.ipynb -------------------------------------------------------------------------------- /examples/nbc-headlines/3_search.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/nbc-headlines/3_search.ipynb -------------------------------------------------------------------------------- /examples/nbc-headlines/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/nbc-headlines/Makefile -------------------------------------------------------------------------------- /examples/nbc-headlines/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/nbc-headlines/README.md -------------------------------------------------------------------------------- /examples/python-recipes/openai-sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/python-recipes/openai-sample.py -------------------------------------------------------------------------------- /examples/simple-bun/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | bun.lockb 3 | -------------------------------------------------------------------------------- /examples/simple-bun/demo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-bun/demo.ts -------------------------------------------------------------------------------- /examples/simple-bun/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-bun/package.json -------------------------------------------------------------------------------- /examples/simple-c/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | -------------------------------------------------------------------------------- /examples/simple-c/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-c/Makefile -------------------------------------------------------------------------------- /examples/simple-c/demo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-c/demo.c -------------------------------------------------------------------------------- /examples/simple-deno/demo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-deno/demo.ts -------------------------------------------------------------------------------- /examples/simple-go-cgo/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | -------------------------------------------------------------------------------- /examples/simple-go-cgo/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-go-cgo/Makefile -------------------------------------------------------------------------------- /examples/simple-go-cgo/demo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-go-cgo/demo.go -------------------------------------------------------------------------------- /examples/simple-go-cgo/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-go-cgo/go.mod -------------------------------------------------------------------------------- /examples/simple-go-cgo/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-go-cgo/go.sum -------------------------------------------------------------------------------- /examples/simple-go-ncruces/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | *.wasm 3 | -------------------------------------------------------------------------------- /examples/simple-go-ncruces/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-go-ncruces/Makefile -------------------------------------------------------------------------------- /examples/simple-go-ncruces/demo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-go-ncruces/demo.go -------------------------------------------------------------------------------- /examples/simple-go-ncruces/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-go-ncruces/go.mod -------------------------------------------------------------------------------- /examples/simple-go-ncruces/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-go-ncruces/go.sum -------------------------------------------------------------------------------- /examples/simple-node/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | package-lock.json 3 | -------------------------------------------------------------------------------- /examples/simple-node/demo.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-node/demo.mjs -------------------------------------------------------------------------------- /examples/simple-node/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-node/package.json -------------------------------------------------------------------------------- /examples/simple-node2/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | package-lock.json -------------------------------------------------------------------------------- /examples/simple-node2/demo.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-node2/demo.mjs -------------------------------------------------------------------------------- /examples/simple-node2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-node2/package.json -------------------------------------------------------------------------------- /examples/simple-node2/tmp.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-node2/tmp.mjs -------------------------------------------------------------------------------- /examples/simple-python/.gitignore: -------------------------------------------------------------------------------- 1 | .venv 2 | -------------------------------------------------------------------------------- /examples/simple-python/demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-python/demo.py -------------------------------------------------------------------------------- /examples/simple-python/requirements.txt: -------------------------------------------------------------------------------- 1 | sqlite-vec 2 | -------------------------------------------------------------------------------- /examples/simple-ruby/.gitignore: -------------------------------------------------------------------------------- 1 | Gemfile.lock 2 | -------------------------------------------------------------------------------- /examples/simple-ruby/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-ruby/Gemfile -------------------------------------------------------------------------------- /examples/simple-ruby/demo.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-ruby/demo.rb -------------------------------------------------------------------------------- /examples/simple-rust/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | Cargo.lock 3 | -------------------------------------------------------------------------------- /examples/simple-rust/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-rust/Cargo.toml -------------------------------------------------------------------------------- /examples/simple-rust/demo.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-rust/demo.rs -------------------------------------------------------------------------------- /examples/simple-sqlite/demo.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-sqlite/demo.sql -------------------------------------------------------------------------------- /examples/simple-wasm/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/simple-wasm/index.html -------------------------------------------------------------------------------- /examples/sqlite3-cli/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/sqlite3-cli/README.md -------------------------------------------------------------------------------- /examples/sqlite3-cli/core_init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/sqlite3-cli/core_init.c -------------------------------------------------------------------------------- /examples/wasm/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/wasm/README.md -------------------------------------------------------------------------------- /examples/wasm/wasm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/examples/wasm/wasm.c -------------------------------------------------------------------------------- /reference.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/reference.yaml -------------------------------------------------------------------------------- /scripts/progress.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/scripts/progress.ts -------------------------------------------------------------------------------- /scripts/publish-release.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/scripts/publish-release.sh -------------------------------------------------------------------------------- /scripts/vendor.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/scripts/vendor.sh -------------------------------------------------------------------------------- /site/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .vitepress/cache 3 | -------------------------------------------------------------------------------- /site/.vitepress/config.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/.vitepress/config.mts -------------------------------------------------------------------------------- /site/.vitepress/theme/HeroImg.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/.vitepress/theme/HeroImg.vue -------------------------------------------------------------------------------- /site/.vitepress/theme/Sponsors.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/.vitepress/theme/Sponsors.vue -------------------------------------------------------------------------------- /site/.vitepress/theme/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/.vitepress/theme/index.ts -------------------------------------------------------------------------------- /site/.vitepress/theme/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/.vitepress/theme/style.css -------------------------------------------------------------------------------- /site/api-reference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/api-reference.md -------------------------------------------------------------------------------- /site/build-ref.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/build-ref.mjs -------------------------------------------------------------------------------- /site/compiling.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/compiling.md -------------------------------------------------------------------------------- /site/features/knn.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/features/knn.md -------------------------------------------------------------------------------- /site/features/vec0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/features/vec0.md -------------------------------------------------------------------------------- /site/getting-started/installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/getting-started/installation.md -------------------------------------------------------------------------------- /site/getting-started/introduction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/getting-started/introduction.md -------------------------------------------------------------------------------- /site/guides/arithmetic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/guides/arithmetic.md -------------------------------------------------------------------------------- /site/guides/binary-quant.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/guides/binary-quant.md -------------------------------------------------------------------------------- /site/guides/classifiers.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /site/guides/hybrid-search.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /site/guides/matryoshka.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/guides/matryoshka.md -------------------------------------------------------------------------------- /site/guides/performance.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/guides/performance.md -------------------------------------------------------------------------------- /site/guides/rag.md: -------------------------------------------------------------------------------- 1 | # Retrival Augmented Generation (RAG) 2 | 3 | - "memories"? 4 | - chunking 5 | -------------------------------------------------------------------------------- /site/guides/scalar-quant.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/guides/scalar-quant.md -------------------------------------------------------------------------------- /site/guides/semantic-search.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /site/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/index.md -------------------------------------------------------------------------------- /site/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/package-lock.json -------------------------------------------------------------------------------- /site/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/package.json -------------------------------------------------------------------------------- /site/project.data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/project.data.ts -------------------------------------------------------------------------------- /site/public/flyio.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/public/flyio.svg -------------------------------------------------------------------------------- /site/public/fonts/ZillaSlab-SemiBold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/public/fonts/ZillaSlab-SemiBold.otf -------------------------------------------------------------------------------- /site/public/fonts/ZillaSlab-SemiBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/public/fonts/ZillaSlab-SemiBold.ttf -------------------------------------------------------------------------------- /site/public/fonts/ZillaSlab-SemiBold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/public/fonts/ZillaSlab-SemiBold.woff -------------------------------------------------------------------------------- /site/public/fonts/ZillaSlab-SemiBold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/public/fonts/ZillaSlab-SemiBold.woff2 -------------------------------------------------------------------------------- /site/public/logo.dark.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/public/logo.dark.svg -------------------------------------------------------------------------------- /site/public/logo.light.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/public/logo.light.svg -------------------------------------------------------------------------------- /site/public/mozilla.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/public/mozilla.svg -------------------------------------------------------------------------------- /site/public/shinkai.dark.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/public/shinkai.dark.svg -------------------------------------------------------------------------------- /site/public/shinkai.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/public/shinkai.svg -------------------------------------------------------------------------------- /site/public/sqlitecloud.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/public/sqlitecloud.svg -------------------------------------------------------------------------------- /site/public/turso.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/public/turso.svg -------------------------------------------------------------------------------- /site/sqlite.tmlanguage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/sqlite.tmlanguage.json -------------------------------------------------------------------------------- /site/using/android-ios.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/using/android-ios.md -------------------------------------------------------------------------------- /site/using/c.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/using/c.md -------------------------------------------------------------------------------- /site/using/datasette.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/using/datasette.md -------------------------------------------------------------------------------- /site/using/go.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/using/go.md -------------------------------------------------------------------------------- /site/using/js.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/using/js.md -------------------------------------------------------------------------------- /site/using/python.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/using/python.md -------------------------------------------------------------------------------- /site/using/rqlite.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/using/rqlite.md -------------------------------------------------------------------------------- /site/using/ruby.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/using/ruby.md -------------------------------------------------------------------------------- /site/using/rust.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/using/rust.md -------------------------------------------------------------------------------- /site/using/sqlite-utils.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/using/sqlite-utils.md -------------------------------------------------------------------------------- /site/using/wasm.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/using/wasm.md -------------------------------------------------------------------------------- /site/versioning.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/site/versioning.md -------------------------------------------------------------------------------- /sqlite-dist.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/sqlite-dist.toml -------------------------------------------------------------------------------- /sqlite-vec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/sqlite-vec.c -------------------------------------------------------------------------------- /sqlite-vec.h.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/sqlite-vec.h.tmpl -------------------------------------------------------------------------------- /test.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/test.sql -------------------------------------------------------------------------------- /tests/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | -------------------------------------------------------------------------------- /tests/.python-version: -------------------------------------------------------------------------------- 1 | 3.12 2 | -------------------------------------------------------------------------------- /tests/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/Cargo.lock -------------------------------------------------------------------------------- /tests/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/Cargo.toml -------------------------------------------------------------------------------- /tests/__snapshots__/test-auxiliary.ambr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/__snapshots__/test-auxiliary.ambr -------------------------------------------------------------------------------- /tests/__snapshots__/test-general.ambr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/__snapshots__/test-general.ambr -------------------------------------------------------------------------------- /tests/__snapshots__/test-metadata.ambr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/__snapshots__/test-metadata.ambr -------------------------------------------------------------------------------- /tests/__snapshots__/test-partition-keys.ambr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/__snapshots__/test-partition-keys.ambr -------------------------------------------------------------------------------- /tests/afbd/.gitignore: -------------------------------------------------------------------------------- 1 | *.tgz 2 | -------------------------------------------------------------------------------- /tests/afbd/.python-version: -------------------------------------------------------------------------------- 1 | 3.12 2 | -------------------------------------------------------------------------------- /tests/afbd/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/afbd/Makefile -------------------------------------------------------------------------------- /tests/afbd/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/afbd/README.md -------------------------------------------------------------------------------- /tests/afbd/test-afbd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/afbd/test-afbd.py -------------------------------------------------------------------------------- /tests/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/build.rs -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/correctness/build.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/correctness/build.py -------------------------------------------------------------------------------- /tests/correctness/test-correctness.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/correctness/test-correctness.py -------------------------------------------------------------------------------- /tests/fuzz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/fuzz.py -------------------------------------------------------------------------------- /tests/fuzz/.gitignore: -------------------------------------------------------------------------------- 1 | *.dSYM 2 | targets/ 3 | -------------------------------------------------------------------------------- /tests/fuzz/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/fuzz/Makefile -------------------------------------------------------------------------------- /tests/fuzz/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/fuzz/README.md -------------------------------------------------------------------------------- /tests/fuzz/corpus/vec0-create/normal1: -------------------------------------------------------------------------------- 1 | aaa float[12] 2 | -------------------------------------------------------------------------------- /tests/fuzz/corpus/vec0-create/normal2: -------------------------------------------------------------------------------- 1 | aaa float[12], bbb int8[6] 2 | -------------------------------------------------------------------------------- /tests/fuzz/exec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/fuzz/exec.c -------------------------------------------------------------------------------- /tests/fuzz/exec.dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/fuzz/exec.dict -------------------------------------------------------------------------------- /tests/fuzz/json.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/fuzz/json.c -------------------------------------------------------------------------------- /tests/fuzz/numpy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/fuzz/numpy.c -------------------------------------------------------------------------------- /tests/fuzz/numpy.dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/fuzz/numpy.dict -------------------------------------------------------------------------------- /tests/fuzz/vec0-create.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/fuzz/vec0-create.c -------------------------------------------------------------------------------- /tests/fuzz/vec0-create.dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/fuzz/vec0-create.dict -------------------------------------------------------------------------------- /tests/leak-fixtures/each.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/leak-fixtures/each.sql -------------------------------------------------------------------------------- /tests/leak-fixtures/knn.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/leak-fixtures/knn.sql -------------------------------------------------------------------------------- /tests/leak-fixtures/vec0-create.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/leak-fixtures/vec0-create.sql -------------------------------------------------------------------------------- /tests/minimum/.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | -------------------------------------------------------------------------------- /tests/minimum/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/minimum/Makefile -------------------------------------------------------------------------------- /tests/minimum/demo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/minimum/demo.c -------------------------------------------------------------------------------- /tests/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/pyproject.toml -------------------------------------------------------------------------------- /tests/skip.test-correctness.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/skip.test-correctness.py -------------------------------------------------------------------------------- /tests/sqlite-vec-internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/sqlite-vec-internal.h -------------------------------------------------------------------------------- /tests/test-auxiliary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/test-auxiliary.py -------------------------------------------------------------------------------- /tests/test-general.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/test-general.py -------------------------------------------------------------------------------- /tests/test-loadable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/test-loadable.py -------------------------------------------------------------------------------- /tests/test-metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/test-metadata.py -------------------------------------------------------------------------------- /tests/test-partition-keys.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/test-partition-keys.py -------------------------------------------------------------------------------- /tests/test-unit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/test-unit.c -------------------------------------------------------------------------------- /tests/test-wasm.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/test-wasm.mjs -------------------------------------------------------------------------------- /tests/unittest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/unittest.rs -------------------------------------------------------------------------------- /tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/utils.py -------------------------------------------------------------------------------- /tests/uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tests/uv.lock -------------------------------------------------------------------------------- /tmp-static.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asg017/sqlite-vec/HEAD/tmp-static.py --------------------------------------------------------------------------------