Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add lance image type handling in pydantic #601

Open
wants to merge 424 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
424 commits
Select commit Hold shift + click to select a range
d998f80
feat(python): add count_rows with filter option (#801)
changhiskhan Jan 10, 2024
63411b4
feat(python): add phrase query option for fts (#798)
changhiskhan Jan 10, 2024
2774065
chore(python): add docstring for limit behavior (#800)
changhiskhan Jan 10, 2024
99adfe0
use requests instead of aiohttp for underlying http client (#803)
SebbyLaw Jan 10, 2024
81af350
feat(node): align incoming data to table schema (#802)
changhiskhan Jan 11, 2024
fe2fb91
chore: remove black as dependency (#808)
eddyxu Jan 11, 2024
cf7d7a1
upgrade lance (#809)
wjones127 Jan 11, 2024
0a16e29
[python] Bump version: 0.4.3 → 0.4.4
Jan 11, 2024
4e31f0c
Bump version: 0.4.2 → 0.4.3
Jan 11, 2024
036bf02
Updating package-lock.json
Jan 11, 2024
986891d
Updating package-lock.json
Jan 11, 2024
4ba655d
Update default_embedding_functions.md (#744)
elliottRobinson Dec 26, 2023
2790b19
Bump version: 0.4.0 → 0.4.1
Dec 26, 2023
7e42f58
[python] Bump version: 0.4.0 → 0.4.1
Dec 26, 2023
55db26f
Updating package-lock.json
Dec 26, 2023
b71aa41
feat(python): support list of list fields from pydantic schema (#747)
changhiskhan Dec 27, 2023
3d8b2f5
fix: createIndex index cache size (#741)
aidangomar Dec 27, 2023
f55d99c
feat(python): add post filtering for full text search (#739)
changhiskhan Dec 27, 2023
dc8d683
feat: add timezone handling for datetime in pydantic (#578)
changhiskhan Dec 28, 2023
a3fafd6
chore(python): update embedding API to use openai 1.6.1 (#751)
changhiskhan Dec 28, 2023
6bda6f2
[python] Bump version: 0.4.1 → 0.4.2
Dec 29, 2023
2dcb39f
feat(python): first cut batch queries for remote api (#753)
changhiskhan Dec 29, 2023
bc224a6
docs: fix link (#752)
haoxins Dec 29, 2023
327692c
chore: bump pylance to 0.9.2 (#754)
eddyxu Dec 30, 2023
e48ceb2
[python] Bump version: 0.4.2 → 0.4.3
Dec 30, 2023
53d2ef5
Bump version: 0.4.1 → 0.4.2
Dec 30, 2023
577d6ea
Updating package-lock.json
Dec 30, 2023
4417f7c
feat(js): support list of string input (#755)
changhiskhan Jan 3, 2024
78bafb3
SaaS JS API sdk doc (#740)
QianZhu Jan 4, 2024
5b1587d
Add relevant imports for each step (#764)
bengsoon Jan 4, 2024
30a8223
chore(python): handle NaN input in fts ingestion (#763)
changhiskhan Jan 4, 2024
5e720b2
small bug fix for example code in SaaS JS doc (#770)
QianZhu Jan 4, 2024
85f8cf2
Minor corrections for docs of embedding_functions (#780)
narqo Jan 7, 2024
9dea884
Minor Fixes to Ingest Embedding Functions Docs (#777)
chriscorrea Jan 7, 2024
4729938
Make examples work with current version of Openai api's (#779)
sudhirpatil Jan 7, 2024
00b0c75
raise exception if fts index does not exist (#776)
lucasiscovici Jan 7, 2024
f4994cb
feat(python): Set heap size to get faster fts indexing performance (#…
changhiskhan Jan 7, 2024
be76242
chore: bump lance to 0.9.5 (#790)
eddyxu Jan 8, 2024
a649b3b
feat(node): support table.schema for LocalTable (#789)
changhiskhan Jan 9, 2024
615c469
chore(python): document phrase queries in fts (#788)
changhiskhan Jan 9, 2024
ba01d27
feat(python): support new style optional syntax (#793)
changhiskhan Jan 9, 2024
f43c06d
fix(rust): not sure why clippy is suddenly unhappy (#794)
changhiskhan Jan 10, 2024
fcfb458
feat(python): add count_rows with filter option (#801)
changhiskhan Jan 10, 2024
ff81c0d
feat(python): add phrase query option for fts (#798)
changhiskhan Jan 10, 2024
91d64d8
chore(python): add docstring for limit behavior (#800)
changhiskhan Jan 10, 2024
eda4c58
use requests instead of aiohttp for underlying http client (#803)
SebbyLaw Jan 10, 2024
3f66be6
feat(node): align incoming data to table schema (#802)
changhiskhan Jan 11, 2024
6e97fad
chore: remove black as dependency (#808)
eddyxu Jan 11, 2024
707df47
upgrade lance (#809)
wjones127 Jan 11, 2024
a7be064
[python] Bump version: 0.4.3 → 0.4.4
Jan 11, 2024
88affc1
Bump version: 0.4.2 → 0.4.3
Jan 11, 2024
cfdbddc
Updating package-lock.json
Jan 11, 2024
f7f9bea
rebase from lancedb/main
koolamusic Jan 12, 2024
a90358a
Merge branch 'main' into tecmie/embeddings-openai
koolamusic Jan 12, 2024
4568df4
feat(python): Add gemini text embedding function (#806)
AyushExel Jan 13, 2024
44eba36
eslint fix
koolamusic Jan 13, 2024
49333e5
feat(python): basic polars integration (#811)
changhiskhan Jan 14, 2024
ff6f005
Add openai api key not found help (#815)
MrShevan Jan 14, 2024
184d2bc
chore(python): get rid of Pydantic deprication warning in embedding f…
AyushExel Jan 15, 2024
be4ab9e
feat(python): add exist_ok option to create table (#813)
changhiskhan Jan 15, 2024
af8263a
feat(python): allow the entire table to be converted a polars datafra…
changhiskhan Jan 15, 2024
39e14c7
chore(python): turn off lazy frame ingestion (#821)
changhiskhan Jan 17, 2024
8bcdc81
[python] Bump version: 0.4.4 → 0.5.0
Jan 18, 2024
119b928
docs: Updates and refactor (#683)
prrao87 Jan 18, 2024
8f54cfc
Docs updates incl. Polars (#827)
prrao87 Jan 19, 2024
7af2138
bump lance to 0.9.7 (#826)
albertlockett Jan 19, 2024
d012db2
ci: lint and enforce linting (#829)
wjones127 Jan 19, 2024
c89d5e6
fix: remote python client closes idle connections (#831)
albertlockett Jan 19, 2024
9a9fc77
doc: improve docs for nodejs connect functions (#833)
eddyxu Jan 20, 2024
3ba1618
Merge branch 'tecmie/embeddings-openai' of github.com:tecmie/lancedb …
changhiskhan Jan 20, 2024
a1ab549
Merge branch 'tecmie-tecmie/embeddings-openai'
changhiskhan Jan 20, 2024
83ed8d1
bug: add a test for fp16 (#837)
eddyxu Jan 21, 2024
0e92a72
doc: add index page for rust crate (#839)
eddyxu Jan 22, 2024
bea3cef
chore(js): remove errant console.log (#834)
changhiskhan Jan 22, 2024
5f14a41
feat(js): add helper function to create Arrow Table with schema (#838)
eddyxu Jan 22, 2024
66eaa2a
allow passing api key as env var (#841)
albertlockett Jan 22, 2024
4c303ba
chore(rust): provide a Connection trait to match python and nodejs S…
eddyxu Jan 23, 2024
b4d451e
extend timeout for requests.get and requests.post (#848)
QianZhu Jan 23, 2024
ccfd043
feat: change create table to accept Arrow table (#845)
eddyxu Jan 23, 2024
41f0e32
[python] Bump version: 0.5.0 → 0.5.1
Jan 23, 2024
1cd5426
feat: rework NodeJS SDK using napi (#847)
eddyxu Jan 23, 2024
82cbcf6
Bump lance 0.9.9 (#851)
albertlockett Jan 24, 2024
008e0b1
feat(rust): create index API improvement (#853)
eddyxu Jan 24, 2024
4e1ed2b
docs: document basics of configuring object storage (#832)
wjones127 Jan 24, 2024
ee862ab
feat(napi): Provide a new createIndex API in the napi SDK. (#857)
eddyxu Jan 25, 2024
7a89b5e
doc: update rust readme to include crate and docs.rs links (#859)
eddyxu Jan 25, 2024
a7aa168
feat: improve the rust table query API and documents (#860)
eddyxu Jan 25, 2024
dcc216a
Bump version: 0.4.3 → 0.4.4
Jan 25, 2024
5228ca4
Updating package-lock.json
Jan 25, 2024
66362c6
fix: release build for node sdk (#861)
eddyxu Jan 25, 2024
e8a8b92
Bump version: 0.4.4 → 0.4.5
Jan 25, 2024
d405798
Updating package-lock.json
Jan 25, 2024
9a07c9a
Updating package-lock.json
Jan 25, 2024
a6cf24b
feat(napi): Issue queries as node SDK (#868)
eddyxu Jan 26, 2024
e01ef63
chore(rust): simplified version of optimize (#869)
eddyxu Jan 26, 2024
3dd8522
feat(rust): provide connect and connect_with_options in Rust SDK (#871)
eddyxu Jan 26, 2024
ba6f949
Bump version: 0.4.5 → 0.4.6
Jan 26, 2024
488e4f8
Updating package-lock.json
Jan 26, 2024
90b5b55
Updating package-lock.json
Jan 26, 2024
e910809
chore: bump github actions to v4 due to GHA warnings of node version …
eddyxu Jan 26, 2024
77b5b1c
doc: update quick start for full rust example (#872)
eddyxu Jan 27, 2024
b49bc11
chore: add one rust SDK e2e example (#876)
eddyxu Jan 27, 2024
ac94b2a
chore: upgrade lance, pylance and datafusion (#879)
eddyxu Jan 27, 2024
d84e0d1
feat(python): Aws Bedrock embeddings integration (#822)
AyushExel Jan 27, 2024
5f62302
doc: use code snippet for typescript examples (#880)
eddyxu Jan 28, 2024
22b9ece
chore: convert all js doc test to use snippet. (#881)
eddyxu Jan 28, 2024
13acc8a
doc(rust): minor fixes for Rust quick start. (#878)
changhiskhan Jan 28, 2024
e41a528
fix: fix doc build to include the source snippet correctly (#883)
eddyxu Jan 28, 2024
b9c5323
doc: use snippet for rust code example and make sure rust examples ru…
eddyxu Jan 28, 2024
e5796a4
doc: fix js example of create index (#886)
eddyxu Jan 29, 2024
5c5e23b
chore(python): Temporarily extend remote connection timeout (#888)
AyushExel Jan 29, 2024
d1a7257
feat(python): Embedding fn support for gte-mlx/gte-large (#873)
raghavdixit99 Jan 30, 2024
b432ecf
doc: Add documentation chatbot for LanceDB (#890)
AyushExel Jan 30, 2024
f150768
Fix image bgcolor (#891)
prrao87 Jan 30, 2024
3ffed89
feat(python): Hybrid search & Reranker API (#824)
AyushExel Jan 30, 2024
9df6905
chore(python): GTE embedding function model name update (#902)
raghavdixit99 Jan 30, 2024
a42df15
ci: change apple silicon runner to free OSS macos-14 target (#901)
eddyxu Jan 30, 2024
b9468bb
chore: update JS/TS example in README (#898)
AbrahamLopez10 Jan 30, 2024
8d0ea29
docs: provide AWS S3 cleanup and permissions advice (#903)
wjones127 Jan 31, 2024
5f59e51
fix(node): pass AWS credentials to db level operations (#908)
eddyxu Jan 31, 2024
0c940ed
Bump version: 0.4.6 → 0.4.7
Jan 31, 2024
1328cd4
Updating package-lock.json
Jan 31, 2024
12b4fb4
Updating package-lock.json
Jan 31, 2024
f5726e2
arrow table/f16 example (#907)
QianZhu Jan 31, 2024
34e10ca
fix the repo link on npm, add links for homepage and bug report (#910)
JacobLinCool Feb 1, 2024
62f053a
ci: bump to new version of python action to use node 20 gIthub action…
eddyxu Feb 1, 2024
d77e95a
feat: upgrade to lance 0.9.11 and expose merge_insert (#906)
westonpace Feb 1, 2024
cc9473a
docs: add cleanup_old_versions and compact_files to `Table` for docum…
westonpace Feb 1, 2024
a248d7f
fix: add request retry to python client (#917)
albertlockett Feb 2, 2024
09cd082
make it explicit about the vector column data type (#916)
QianZhu Feb 2, 2024
7f8637a
feat: add merge_insert to the node and rust APIs (#915)
westonpace Feb 2, 2024
7783393
chore: bump pylance version to latest in pyproject.toml (#918)
westonpace Feb 2, 2024
ce2242e
[python] Bump version: 0.5.1 → 0.5.2
Feb 2, 2024
04e1662
Bump version: 0.4.7 → 0.4.8
Feb 2, 2024
e4bb042
Updating package-lock.json
Feb 2, 2024
12a98de
Updating package-lock.json
Feb 2, 2024
688c57a
fix: revert safe_import_pandas usage (#921)
AyushExel Feb 3, 2024
a908822
[python] Bump version: 0.5.2 → 0.5.3
Feb 3, 2024
e412194
fix hybrid search example (#922)
QianZhu Feb 3, 2024
0b0f425
chore: add global cargo config to enable minimal cpu target (#925)
eddyxu Feb 4, 2024
738511c
feat(python): add support new openai embedding functions (#912)
AyushExel Feb 5, 2024
57605a2
feat(python): add `read_consistency_interval` argument (#828)
wjones127 Feb 5, 2024
d982ee9
feat(python): Reranker DX improvements (#904)
AyushExel Feb 6, 2024
f53aace
Minor updates to FAQ (#935)
nitish1295 Feb 8, 2024
d2e71c8
feat: add a filterable count_rows to all the lancedb APIs (#913)
westonpace Feb 8, 2024
48d55bf
added error msg to SaaS APIs (#852)
QianZhu Feb 9, 2024
a9727eb
feat: add support for filter during merge insert when matched (#948)
westonpace Feb 9, 2024
dddcddc
chore: bump lance version to 0.9.15 (#949)
westonpace Feb 9, 2024
82936c7
[python] Bump version: 0.5.3 → 0.5.4
Feb 9, 2024
a693a9d
Bump version: 0.4.8 → 0.4.9
Feb 9, 2024
9904403
Updating package-lock.json
Feb 9, 2024
24e8043
chore: use a bigger runner for NPM publish jobs on aarch64 to avoid O…
westonpace Feb 10, 2024
7e50c23
Updating package-lock.json
Feb 10, 2024
0c21f91
fix(node): statically link lzma (#961)
wjones127 Feb 12, 2024
1b99098
Qian/make vector col optional (#950)
QianZhu Feb 13, 2024
3169c36
chore: fix clippy lints (#963)
wjones127 Feb 13, 2024
eb31d95
feat(python): hybrid search updates, examples, & latency benchmarks (…
AyushExel Feb 13, 2024
4fbabde
docs: Add setup cell for colab example (#965)
AyushExel Feb 13, 2024
8104c5c
fix: wrap in BigInt to avoid upstream bug (#962)
wjones127 Feb 13, 2024
78e5fb5
[docs]: Fix typos and clarity in hybrid search docs (#966)
prrao87 Feb 13, 2024
cc5f213
feat: make it easier to create empty tables (#942)
westonpace Feb 13, 2024
5ba8757
Bump version: 0.4.9 → 0.4.10
Feb 13, 2024
53d6396
Updating package-lock.json
Feb 13, 2024
5b60412
[python] Bump version: 0.5.4 → 0.5.5
Feb 13, 2024
51f92ec
ci: reduce number of build jobs on aarch64 to avoid OOM (#970)
wjones127 Feb 14, 2024
aec85f7
ci: fix Node ARM release build (#971)
wjones127 Feb 14, 2024
73b2977
chore: upgrade lance to 0.9.16 (#975)
wjones127 Feb 14, 2024
54693e6
Updating package-lock.json
Feb 14, 2024
f0298d8
docs: Minimal reranking evaluation benchmarks (#977)
AyushExel Feb 15, 2024
2447372
docs: show DuckDB with dataset, not table (#974)
wjones127 Feb 16, 2024
d6b408e
fix: use static C runtime on Windows (#979)
wjones127 Feb 16, 2024
e027738
feat(python): add optional threadpool for batch requests (#981)
changhiskhan Feb 17, 2024
6f8cf1e
doc: improve embedding functions documentation (#983)
changhiskhan Feb 17, 2024
ca6f55b
doc: update navigation links for embedding functions (#986)
changhiskhan Feb 17, 2024
b5aad2d
docs: Add meta tag for image preview (#988)
AyushExel Feb 19, 2024
1f4ac71
apply fixes for notebook (#989)
johko Feb 19, 2024
22c196b
lance 0.9.18 (#1000)
albertlockett Feb 19, 2024
62c5117
[python] Bump version: 0.5.5 → 0.5.6
Feb 20, 2024
f04590d
refactor: rust vectordb API stabilization of the Connection trait (#993)
westonpace Feb 21, 2024
bf2e9d0
Docs: add meta tags (#1006)
AyushExel Feb 21, 2024
5fa9bfc
python(feat): Imagebind embedding fn support (#1003)
raghavdixit99 Feb 22, 2024
8303a71
chore: bump pylance to 0.9.18 (#1011)
eddyxu Feb 22, 2024
677b7c1
[python] Bump version: 0.5.6 → 0.5.7
Feb 22, 2024
3aa0c40
feat(node): add `read_consistency_interval` to Node and Rust (#1002)
wjones127 Feb 22, 2024
f159612
refactor: rename the rust crate from vectordb to lancedb (#1012)
westonpace Feb 23, 2024
4605359
Bump version: 0.4.10 → 0.4.11
Feb 23, 2024
c5471ee
Updating package-lock.json
Feb 23, 2024
314d4c9
Updating package-lock.json
Feb 23, 2024
8a52619
refactor: change arrow from a direct dependency to a peer dependency …
westonpace Feb 23, 2024
5af74b5
feat: `{add|alter|drop}_columns` APIs (#1015)
wjones127 Feb 26, 2024
a6bcbd0
feat: add a basic async python client starting point (#1014)
westonpace Feb 27, 2024
ba7618a
chore(rust): report the TableNotFound error while dropping non-exist …
BubbleCal Feb 28, 2024
ebaa2de
chore: upgrade to lance 0.10.1 (#1034)
chebbyChefNEQ Feb 28, 2024
38c09fc
A simple base usage that install the dependencies necessary to use FT…
natcharacter Feb 28, 2024
edd9a04
chore: enable test for dropping table (#1038)
BubbleCal Feb 29, 2024
245786f
[python] Bump version: 0.5.7 → 0.6.0
Feb 29, 2024
294c33a
feat: Initial remote table implementation for rust (#1024)
westonpace Feb 29, 2024
adf1a38
fix: fix columns type for pydantic 2.x (#1045)
chebbyChefNEQ Feb 29, 2024
085066d
[python] Bump version: 0.6.0 → 0.6.1
Feb 29, 2024
2a02d13
feat: port create_table to the async python API and the remote rust A…
westonpace Feb 29, 2024
c1af53b
Add create scalar index to sdk (#1033)
QianZhu Feb 29, 2024
d14c9b6
feat(python): add model_names() method to openai embedding function (…
changhiskhan Mar 3, 2024
f95402a
doc: fix langchain link (#1053)
changhiskhan Mar 3, 2024
acfdf1b
Fix default_embedding_functions.md (#1043)
louisguitton Mar 3, 2024
14566df
[docs]: Fix issues with Rust code snippets in "quick start" (#1047)
prrao87 Mar 3, 2024
62632cb
doc: fix docs deployment GHA (#1055)
changhiskhan Mar 4, 2024
08c0803
chore(python): use pypi tantivy to speed up CI (#987)
changhiskhan Mar 4, 2024
d621826
feat(python): allow user to override api url (#1054)
changhiskhan Mar 4, 2024
14b9277
chore(rust): update rust version (#810)
changhiskhan Mar 4, 2024
abaf315
feat: add support for add to async python API (#1037)
westonpace Mar 4, 2024
1453bf4
feat: reconfigure typescript linter / formatter for nodejs (#1042)
westonpace Mar 4, 2024
ea33b68
fix: sanitize foreign schemas (#1058)
westonpace Mar 4, 2024
d6f0663
fix(python): Few fts patches (#1039)
AyushExel Mar 5, 2024
6821536
doc(python): document the method in fts (#982)
changhiskhan Mar 5, 2024
47dbb98
feat: more accessible errors (#1025)
wjones127 Mar 5, 2024
9148cd6
feat: page_token / limit to native table_names function. Use async t…
westonpace Mar 5, 2024
d198360
chore: bump lance to 0.10.2 (#1061)
eddyxu Mar 5, 2024
722fe18
fix: make checkout_latest force a reload (#1064)
wjones127 Mar 5, 2024
272cbca
[python] Bump version: 0.6.1 → 0.6.2
Mar 6, 2024
ca83354
Bump version: 0.4.11 → 0.4.12
Mar 6, 2024
f393ac3
Updating package-lock.json
Mar 6, 2024
7fb8a73
Updating package-lock.json
Mar 7, 2024
a7d6603
fix: Allow converting from NativeTable to Table (#1069)
wjones127 Mar 7, 2024
9c7e00e
Remove remote integration workflow (#1076)
westonpace Mar 7, 2024
553dae1
Update default_embedding_functions.md (#1073)
ivanleomk Mar 11, 2024
a517629
feat: configurable timeout for LanceDB Cloud queries (#1090)
chebbyChefNEQ Mar 11, 2024
1ae08fe
[python] Bump version: 0.6.2 → 0.6.3
Mar 11, 2024
ae1cf44
fix: propagate filter validation errors (#1092)
wjones127 Mar 11, 2024
356e89a
feat: add create_index to the async python API (#1052)
westonpace Mar 12, 2024
510d449
feat: add time travel operations to the async API (#1070)
westonpace Mar 12, 2024
9bc3208
fix: handle uri in object (#1091)
wjones127 Mar 12, 2024
d744972
feat: add update to the async API (#1093)
westonpace Mar 12, 2024
4dc7497
feat: add list_indices to the async api (#1074)
westonpace Mar 12, 2024
ac955a5
initial commit
rok Oct 25, 2023
d662b97
black
rok Oct 25, 2023
c112dea
work
rok Oct 25, 2023
67b38d6
changes
rok Jan 5, 2024
d86dd2c
test automatic reading of uris
rok Jan 5, 2024
2ec0e79
Minor change
rok Jan 5, 2024
0b0f4e9
__get_pydantic_core_schema__
rok Jan 6, 2024
63399dc
unused imports
rok Jan 6, 2024
e68fbf6
foo
changhiskhan Mar 3, 2024
408988a
just keep EncodedImage for now
changhiskhan Mar 4, 2024
2084fbc
working?
changhiskhan Mar 4, 2024
48a4202
fix
changhiskhan Mar 4, 2024
3c4f2a7
fix
changhiskhan Mar 4, 2024
4d39f63
add import guidance
changhiskhan Mar 5, 2024
2e1838a
ruff
changhiskhan Mar 5, 2024
c1dfad6
see if we make EncodedImage work
changhiskhan Mar 5, 2024
86c9bc0
stuff
changhiskhan Mar 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.3.0
current_version = 0.4.12
commit = True
message = Bump version: {current_version} → {new_version}
tag = True
Expand All @@ -9,4 +9,4 @@ tag_name = v{new_version}

[bumpversion:file:rust/ffi/node/Cargo.toml]

[bumpversion:file:rust/vectordb/Cargo.toml]
[bumpversion:file:rust/lancedb/Cargo.toml]
40 changes: 40 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[profile.release]
lto = "fat"
codegen-units = 1

[profile.release-with-debug]
inherits = "release"
debug = true
# Prioritize compile time over runtime performance
codegen-units = 16
lto = "thin"

[target.'cfg(all())']
rustflags = [
"-Wclippy::all",
"-Wclippy::style",
"-Wclippy::fallible_impl_from",
"-Wclippy::manual_let_else",
"-Wclippy::redundant_pub_crate",
"-Wclippy::string_add_assign",
"-Wclippy::string_add",
"-Wclippy::string_lit_as_bytes",
"-Wclippy::string_to_string",
"-Wclippy::use_self",
"-Dclippy::cargo",
"-Dclippy::dbg_macro",
# not too much we can do to avoid multiple crate versions
"-Aclippy::multiple-crate-versions",
"-Aclippy::wildcard_dependencies",
]

[target.x86_64-unknown-linux-gnu]
rustflags = ["-C", "target-cpu=haswell", "-C", "target-feature=+avx2,+fma,+f16c"]

[target.aarch64-apple-darwin]
rustflags = ["-C", "target-cpu=apple-m1", "-C", "target-feature=+neon,+fp16,+fhm,+dotprod"]

# Not all Windows systems have the C runtime installed, so this avoids library
# not found errors on systems that are missing it.
[target.x86_64-pc-windows-msvc]
rustflags = ["-Ctarget-feature=+crt-static"]
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Bug Report - Node / Typescript
description: File a bug report
title: "bug(node): "
labels: [bug, typescript]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: input
id: version
attributes:
label: LanceDB version
description: What version of LanceDB are you using? `npm list | grep vectordb`.
placeholder: v0.3.2
validations:
required: false
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Are there known steps to reproduce?
description: |
Let us know how to reproduce the bug and we may be able to fix it more
quickly. This is not required, but it is helpful.
validations:
required: false
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Bug Report - Python
description: File a bug report
title: "bug(python): "
labels: [bug, python]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: input
id: version
attributes:
label: LanceDB version
description: What version of LanceDB are you using? `python -c "import lancedb; print(lancedb.__version__)"`.
placeholder: v0.3.2
validations:
required: false
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Are there known steps to reproduce?
description: |
Let us know how to reproduce the bug and we may be able to fix it more
quickly. This is not required, but it is helpful.
validations:
required: false
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Discord Community Support
url: https://discord.com/invite/zMM32dvNtd
about: Please ask and answer questions here.
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Documentation improvement'
description: Report an issue with the documentation.
labels: [documentation]

body:
- type: textarea
id: description
attributes:
label: Description
description: >
Describe the issue with the documentation and how it can be fixed or improved.
validations:
required: true

- type: input
id: link
attributes:
label: Link
description: >
Provide a link to the existing documentation, if applicable.
placeholder: ex. https://lancedb.github.io/lancedb/guides/tables/...
validations:
required: false
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Feature suggestion
description: Suggestion a new feature for LanceDB
title: "Feature: "
labels: [enhancement]
body:
- type: markdown
attributes:
value: |
Share a new idea for a feature or improvement. Be sure to search existing
issues first to avoid duplicates.
- type: dropdown
id: sdk
attributes:
label: SDK
description: Which SDK are you using? This helps us prioritize.
options:
- Python
- Node
- Rust
default: 0
validations:
required: false
- type: textarea
id: description
attributes:
label: Description
description: |
Describe the feature and why it would be useful. If applicable, consider
providing a code example of what it might be like to use the feature.
validations:
required: true
58 changes: 58 additions & 0 deletions .github/workflows/build_linux_wheel/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# We create a composite action to be re-used both for testing and for releasing
name: build-linux-wheel
description: "Build a manylinux wheel for lance"
inputs:
python-minor-version:
description: "8, 9, 10, 11, 12"
required: true
args:
description: "--release"
required: false
default: ""
arm-build:
description: "Build for arm64 instead of x86_64"
# Note: this does *not* mean the host is arm64, since we might be cross-compiling.
required: false
default: "false"
runs:
using: "composite"
steps:
- name: CONFIRM ARM BUILD
shell: bash
run: |
echo "ARM BUILD: ${{ inputs.arm-build }}"
- name: Build x86_64 Manylinux wheel
if: ${{ inputs.arm-build == 'false' }}
uses: PyO3/maturin-action@v1
with:
command: build
working-directory: python
target: x86_64-unknown-linux-gnu
manylinux: "2_17"
args: ${{ inputs.args }}
before-script-linux: |
set -e
yum install -y openssl-devel \
&& curl -L https://github.com/protocolbuffers/protobuf/releases/download/v24.4/protoc-24.4-linux-$(uname -m).zip > /tmp/protoc.zip \
&& unzip /tmp/protoc.zip -d /usr/local \
&& rm /tmp/protoc.zip
- name: Build Arm Manylinux Wheel
if: ${{ inputs.arm-build == 'true' }}
uses: PyO3/maturin-action@v1
with:
command: build
working-directory: python
target: aarch64-unknown-linux-gnu
manylinux: "2_24"
args: ${{ inputs.args }}
before-script-linux: |
set -e
apt install -y unzip
if [ $(uname -m) = "x86_64" ]; then
PROTOC_ARCH="x86_64"
else
PROTOC_ARCH="aarch_64"
fi
curl -L https://github.com/protocolbuffers/protobuf/releases/download/v24.4/protoc-24.4-linux-$PROTOC_ARCH.zip > /tmp/protoc.zip \
&& unzip /tmp/protoc.zip -d /usr/local \
&& rm /tmp/protoc.zip
25 changes: 25 additions & 0 deletions .github/workflows/build_mac_wheel/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# We create a composite action to be re-used both for testing and for releasing
name: build_wheel
description: "Build a lance wheel"
inputs:
python-minor-version:
description: "8, 9, 10, 11"
required: true
args:
description: "--release"
required: false
default: ""
runs:
using: "composite"
steps:
- name: Install macos dependency
shell: bash
run: |
brew install protobuf
- name: Build wheel
uses: PyO3/maturin-action@v1
with:
command: build
args: ${{ inputs.args }}
working-directory: python
interpreter: 3.${{ inputs.python-minor-version }}
33 changes: 33 additions & 0 deletions .github/workflows/build_windows_wheel/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# We create a composite action to be re-used both for testing and for releasing
name: build_wheel
description: "Build a lance wheel"
inputs:
python-minor-version:
description: "8, 9, 10, 11"
required: true
args:
description: "--release"
required: false
default: ""
runs:
using: "composite"
steps:
- name: Install Protoc v21.12
working-directory: C:\
run: |
New-Item -Path 'C:\protoc' -ItemType Directory
Set-Location C:\protoc
Invoke-WebRequest https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-win64.zip -OutFile C:\protoc\protoc.zip
7z x protoc.zip
Add-Content $env:GITHUB_PATH "C:\protoc\bin"
shell: powershell
- name: Build wheel
uses: PyO3/maturin-action@v1
with:
command: build
args: ${{ inputs.args }}
working-directory: python
- uses: actions/upload-artifact@v3
with:
name: windows-wheels
path: python\target\wheels
4 changes: 2 additions & 2 deletions .github/workflows/cargo-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# Only runs on tags that matches the make-release action
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
workspaces: rust
Expand All @@ -26,4 +26,4 @@ jobs:
sudo apt install -y protobuf-compiler libssl-dev
- name: Publish the package
run: |
cargo publish -p vectordb --all-features --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
cargo publish -p lancedb --all-features --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
17 changes: 11 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,16 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
runs-on: buildjet-8vcpu-ubuntu-2204
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install dependecies needed for ubuntu
run: |
sudo apt install -y protobuf-compiler libssl-dev
rustup update && rustup default
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "pip"
Expand All @@ -42,7 +46,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 20
cache: 'npm'
cache-dependency-path: node/package-lock.json
- uses: Swatinem/rust-cache@v2
Expand All @@ -62,8 +66,9 @@ jobs:
run: |
npx typedoc --plugin typedoc-plugin-markdown --out ../docs/src/javascript src/index.ts
- name: Build docs
working-directory: docs
run: |
PYTHONPATH=. mkdocs build -f docs/mkdocs.yml
PYTHONPATH=. mkdocs build
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
Expand All @@ -72,4 +77,4 @@ jobs:
path: "docs/site"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v1
Loading
Loading