Ayush Chaurasia
bbfadfe58d
[python] Allow adding via iterators ( #391 )
...
Makes the following work so all the formats accepted by `create_table()`
are also accepted by `add()`
```
import lancedb
import pyarrow as pa
db = lancedb.connect("/tmp")
def make_batches():
for i in range(5):
yield pa.RecordBatch.from_arrays(
[
pa.array([[3.1, 4.1], [5.9, 26.5]]),
pa.array(["foo", "bar"]),
pa.array([10.0, 20.0]),
],
["vector", "item", "price"],
)
schema = pa.schema([
pa.field("vector", pa.list_(pa.float32())),
pa.field("item", pa.utf8()),
pa.field("price", pa.float32()),
])
tbl = db.create_table("table4", make_batches(), schema=schema)
tbl.add(make_batches())
```
2023-08-04 12:49:44 -07:00
Leon Yee
cf977866d8
[WIP] Workflow to trigger vectordb-recipes workflow ( #371 )
2023-08-02 11:27:08 -07:00
gsilvestrin
3ff3068a1e
fix(node) Give preference to local index.node lib ( #393 )
2023-08-01 15:29:15 -07:00
gsilvestrin
593b5939be
feat(node): Improve concurrency ( #376 )
...
- Moved computation out of JS main thread by using a mpsc
- Removes the Arc/Mutex since Table is owned by JsTable now
- Moved table / query methods to their own files
- Fixed js-transformers example
2023-08-01 14:22:04 -07:00
Lei Xu
f0e1290ae6
Restrict semver version to 3.0 ( #389 )
2023-07-31 22:26:24 -07:00
Chang She
4b45128bd6
add LanceModel to docs ( #386 )
...
Co-authored-by: Chang She <chang@lancedb.com >
2023-07-31 15:12:02 -04:00
Lance Release
b06e214d29
[python] Bump version: 0.1.15 → 0.1.16
python-v0.1.16
2023-07-31 18:32:40 +00:00
Chang She
c1f8feb6ed
make pandas an optional dependency in lancedb as well ( #385 )
2023-07-31 14:08:58 -04:00
Chang She
cada35d5b7
Improve pydantic integration ( #384 )
2023-07-31 12:16:44 -04:00
Chang She
2d25c263e9
Implement drop table if exists ( #383 )
2023-07-31 10:25:09 +02:00
gsilvestrin
bcd7f66dc7
fix(node): Handle overflows in the node bridge ( #372 )
...
- Fixes many numeric conversions that results in hard to reproduce issues
- JsObjectExt extends JsObject with safe methods to extract numericvalues
2023-07-28 13:15:21 -07:00
gsilvestrin
1daecac648
fix(python): Pin pylance and add pandas as test dependency ( #373 )
2023-07-27 15:21:45 -07:00
Lance Release
b8e656b2a7
Updating package-lock.json
2023-07-27 21:53:30 +00:00
Lance Release
ff7c1193a7
Updating package-lock.json
2023-07-27 21:06:32 +00:00
Lance Release
6d70e7c29b
Bump version: 0.1.18 → 0.1.19
v0.1.19
2023-07-27 21:06:17 +00:00
gsilvestrin
73cc12ecc5
fix(node): Relax EmbeddingFunction type guard ( #370 )
2023-07-27 12:51:59 -07:00
gsilvestrin
6036cf48a7
fix(node) Replace panic errors with friendlier ones ( #366 )
...
- Implement Result/Error in the node FFI
- Implement a trait (ResultExt) to make error handling less verbose
- Refactor some parts of the code that touch arrow into arrow.rs
2023-07-26 13:44:58 -07:00
Ayush Chaurasia
15f4787cc8
[Docs]: Add badges, CTA and updates examples ( #358 )
...
<img width="1054" alt="Screenshot 2023-07-24 at 6 13 00 PM"
src="https://github.com/lancedb/lancedb/assets/15766192/a263a17e-66d0-4591-adc7-b520aa5b23f6 ">
Is this a problem? Are we using metadata to track usage or something?
2023-07-26 16:35:46 +05:30
Lance Release
0e4050e706
[python] Bump version: 0.1.14 → 0.1.15
python-v0.1.15
2023-07-25 18:58:44 +00:00
Rob Meng
147796ffcd
bump lance version for vectordb, fix minor bugs in lancedb remote client ( #365 )
2023-07-24 21:30:57 -04:00
Lance Release
6fd465ceef
Updating package-lock.json
2023-07-24 20:02:35 +00:00
Lance Release
e2e5a0fb83
Updating package-lock.json
2023-07-24 19:27:32 +00:00
Lance Release
ff8d5a6d51
Bump version: 0.1.17 → 0.1.18
v0.1.18
2023-07-24 19:27:17 +00:00
Will Jones
8829988ada
ci: build node in manylinux docker container ( #350 )
...
Closes #359
TODO:
* [x] test in a sample of Linux distro docker containers
2023-07-24 11:31:47 -07:00
gsilvestrin
80a32be121
bugfix(node): make WriteMode optional when specifying embeddings ( #336 )
2023-07-24 11:26:43 -07:00
Rob Meng
8325979bb8
dont print apikey in remote client toString, add hostoverride to python client ( #353 )
2023-07-23 18:44:00 -04:00
lindt
ed5ff5a482
[docs] typo fix ( #352 )
...
Co-authored-by: Stefan Rohe <think@eduroam152-169.nbk.vse.cz >
2023-07-22 11:18:58 +02:00
Lance Release
2c9371dcc4
Updating package-lock.json
2023-07-21 23:18:22 +00:00
Lance Release
6d5621da4a
Updating package-lock.json
2023-07-21 22:39:21 +00:00
Lance Release
380c1572f3
Bump version: 0.1.16 → 0.1.17
v0.1.17
2023-07-21 22:39:06 +00:00
gsilvestrin
4383848d53
feat(node): Add Linux ARM build ( #348 )
2023-07-21 15:33:02 -07:00
gsilvestrin
473c43860c
bugfix: Set Github token when pushing changes ( #351 )
2023-07-21 15:31:44 -07:00
gsilvestrin
17cf244e53
Updating package-lock.json ( #347 )
2023-07-20 14:44:10 -07:00
Leon Yee
0b60694df4
[docs] typo fix ( #346 )
2023-07-20 14:33:56 -07:00
Lance Release
600da476e8
Updating package-lock.json
2023-07-20 20:24:54 +00:00
Lance Release
458217783c
Bump version: 0.1.15 → 0.1.16
v0.1.16
2023-07-20 20:24:37 +00:00
gsilvestrin
21b1a71a6b
bugfix(node): Don't persist credentials on make-release-commit.yml ( #345 )
2023-07-20 13:24:06 -07:00
gsilvestrin
2d899675e8
bugfix(node): Make release task can't push to repo ( #344 )
2023-07-20 13:15:29 -07:00
Lance Release
1cbfc1bbf4
[python] Bump version: 0.1.13 → 0.1.14
python-v0.1.14
2023-07-20 20:06:15 +00:00
gsilvestrin
a2bb497135
feat(node) Move native packages to @lancedb NPM org ( #341 )
...
- Move native packages to @lancedb org
- Move package-lock.json update to a reusable action and created a target to run it manually.
2023-07-20 12:54:39 -07:00
Will Jones
0cf40c8da3
fix: only use util function to build filesystem ( #339 )
2023-07-20 10:41:50 -07:00
Rob Meng
8233c689c3
fix remote SDK ( #342 )
2023-07-20 02:01:13 -04:00
gsilvestrin
6e24e731b8
Updating package-lock.json ( #338 )
2023-07-18 21:10:18 -07:00
Lance Release
f4ce86e12c
[python] Bump version: 0.1.12 → 0.1.13
python-v0.1.13
2023-07-19 03:09:50 +00:00
Lance Release
0664eaec82
Bump version: 0.1.14 → 0.1.15
2023-07-19 02:54:10 +00:00
Lei Xu
63acdc2069
[Python] Support pydantic v1 as well ( #337 )
...
Support both Pydantic v1 and v2 (breaking changes)
2023-07-18 19:53:09 -07:00
Rob Meng
a636bb1075
add support for host override ( #335 )
2023-07-18 21:21:39 -04:00
Lance Release
5e3167da83
[python] Bump version: 0.1.11 → 0.1.12
python-v0.1.12
2023-07-19 01:18:28 +00:00
Lei Xu
f09db4a6d6
[Python] Do not return Table count for every add operation ( #328 )
...
`Table::count()` will be linearly slower with more fragments ingested.
2023-07-18 17:11:17 -07:00
Lei Xu
1d343edbd4
[Node] implement remote db.TableNames ( #334 )
2023-07-18 16:56:47 -07:00