Lance Release
c5471ee694
Updating package-lock.json
2024-02-23 03:57:39 +00:00
Lance Release
4605359d3b
Bump version: 0.4.10 → 0.4.11
2024-02-23 03:57:28 +00:00
Weston Pace
f1596122e6
refactor: rename the rust crate from vectordb to lancedb ( #1012 )
...
This also renames the new experimental node package to lancedb. The
classic node package remains named vectordb.
The goal here is to avoid introducing piecemeal breaking changes to the
vectordb crate. Instead, once the new API is stabilized, we will
officially release the lancedb crate and deprecate the vectordb crate.
The same pattern will eventually happen with the npm package vectordb.
2024-02-22 19:56:39 -08:00
Will Jones
3aa0c40168
feat(node): add read_consistency_interval to Node and Rust ( #1002 )
...
This PR adds the same consistency semantics as was added in #828 . It
*does not* add the same lazy-loading of tables, since that breaks some
existing tests.
This closes #998 .
---------
Co-authored-by: Weston Pace <weston.pace@gmail.com >
2024-02-22 15:04:30 -08:00
Lance Release
54693e6bec
Updating package-lock.json
2024-02-14 23:20:59 +00:00
Lance Release
53d63966a9
Updating package-lock.json
2024-02-13 23:23:02 +00:00
Lance Release
5ba87575e7
Bump version: 0.4.9 → 0.4.10
2024-02-13 23:22:53 +00:00
Weston Pace
cc5f2136a6
feat: make it easier to create empty tables ( #942 )
...
This PR also reworks the table creation utilities significantly so that
they are more consistent, built on top of each other, and thoroughly
documented.
2024-02-13 10:51:18 -08:00
Will Jones
8104c5c18e
fix: wrap in BigInt to avoid upstream bug ( #962 )
...
Closes #960
2024-02-13 08:13:56 -08:00
Lance Release
7e50c239eb
Updating package-lock.json
2024-02-10 18:07:16 +00:00
Lance Release
990440385d
Updating package-lock.json
2024-02-09 23:37:31 +00:00
Lance Release
a693a9d897
Bump version: 0.4.8 → 0.4.9
2024-02-09 23:37:21 +00:00
Weston Pace
a9727eb318
feat: add support for filter during merge insert when matched ( #948 )
...
Closes #940
2024-02-09 10:26:14 -08:00
Weston Pace
d2e71c8b08
feat: add a filterable count_rows to all the lancedb APIs ( #913 )
...
A `count_rows` method that takes a filter was recently added to
`LanceTable`. This PR adds it everywhere else except `RemoteTable` (that
will come soon).
2024-02-08 09:40:29 -08:00
Lance Release
12a98deded
Updating package-lock.json
2024-02-02 22:37:23 +00:00
Lance Release
e4bb042918
Updating package-lock.json
2024-02-02 21:57:07 +00:00
Lance Release
04e1662681
Bump version: 0.4.7 → 0.4.8
2024-02-02 21:56:57 +00:00
Weston Pace
7f8637a0b4
feat: add merge_insert to the node and rust APIs ( #915 )
2024-02-02 13:16:51 -08:00
JacobLinCool
34e10caad2
fix the repo link on npm, add links for homepage and bug report ( #910 )
...
- fix the repo link on npm
- add links for homepage and bug report
2024-01-31 21:07:11 -08:00
Lance Release
12b4fb42fc
Updating package-lock.json
2024-01-31 21:18:24 +00:00
Lance Release
1328cd46f1
Updating package-lock.json
2024-01-31 20:29:38 +00:00
Lance Release
0c940ed9f8
Bump version: 0.4.6 → 0.4.7
2024-01-31 20:29:28 +00:00
Lei Xu
5f59e51583
fix(node): pass AWS credentials to db level operations ( #908 )
...
Passed the following tests
```ts
const keyId = process.env.AWS_ACCESS_KEY_ID;
const secretKey = process.env.AWS_SECRET_ACCESS_KEY;
const sessionToken = process.env.AWS_SESSION_TOKEN;
const region = process.env.AWS_REGION;
const db = await lancedb.connect({
uri: "s3://bucket/path",
awsCredentials: {
accessKeyId: keyId,
secretKey: secretKey,
sessionToken: sessionToken,
},
awsRegion: region,
} as lancedb.ConnectionOptions);
console.log(await db.createTable("test", [{ vector: [1, 2, 3] }]));
console.log(await db.tableNames());
console.log(await db.dropTable("test"))
```
2024-01-31 12:05:01 -08:00
Lei Xu
22b9eceb12
chore: convert all js doc test to use snippet. ( #881 )
2024-01-28 11:39:25 -08:00
Lance Release
90b5b55126
Updating package-lock.json
2024-01-26 23:35:58 +00:00
Lance Release
488e4f8452
Updating package-lock.json
2024-01-26 22:40:46 +00:00
Lance Release
ba6f949515
Bump version: 0.4.5 → 0.4.6
2024-01-26 22:40:36 +00:00
Lei Xu
e01ef63488
chore(rust): simplified version of optimize ( #869 )
...
Consolidate various optimize() into one method, similar to postgres
VACCUM in the process of preparing Rust API for public use
2024-01-26 11:36:04 -08:00
Lance Release
9a07c9aad8
Updating package-lock.json
2024-01-25 21:49:36 +00:00
Lance Release
d405798952
Updating package-lock.json
2024-01-25 20:54:55 +00:00
Lance Release
e8a8b92b2a
Bump version: 0.4.4 → 0.4.5
2024-01-25 20:54:44 +00:00
Lei Xu
66362c6506
fix: release build for node sdk ( #861 )
2024-01-25 12:51:32 -08:00
Lance Release
5228ca4b6b
Updating package-lock.json
2024-01-25 19:53:05 +00:00
Lance Release
dcc216a244
Bump version: 0.4.3 → 0.4.4
2024-01-25 19:52:54 +00:00
Lei Xu
ccfd043939
feat: change create table to accept Arrow table ( #845 )
2024-01-23 13:25:15 -08:00
Bert
66eaa2a00e
allow passing api key as env var ( #841 )
...
Allow passing API key as env var:
```shell
export LANCEDB_API_KEY=sh_123...
```
with this set, apiKey argument can omitted from `connect`
```js
const db = await vectordb.connect({
uri: "db://test-proj-01-ae8343",
region: "us-east-1",
})
```
```py
db = lancedb.connect(
uri="db://test-proj-01-ae8343",
region="us-east-1",
)
```
2024-01-22 16:18:28 -05:00
Lei Xu
5f14a411af
feat(js): add helper function to create Arrow Table with schema ( #838 )
...
Support to make Apache Arrow Table from an array of javascript Records,
with optionally provided Schema.
2024-01-22 11:49:44 -08:00
Chang She
bea3cef627
chore(js): remove errant console.log ( #834 )
2024-01-22 11:44:38 -08:00
Chang She
3ba1618be9
Merge branch 'tecmie/embeddings-openai' of github.com:tecmie/lancedb into tecmie-tecmie/embeddings-openai
2024-01-19 16:45:41 -08:00
Lei Xu
9a9fc77a95
doc: improve docs for nodejs connect functions ( #833 )
...
* improve the docstring for NodeJS connect functions and
`ConnectOptions` parameters.
* Simplify `npm run build` steps.
2024-01-19 16:07:53 -08:00
Andrew Miracle
44eba363b5
eslint fix
2024-01-13 09:15:01 +01:00
Andrew Miracle
f7f9beaf31
rebase from lancedb/main
2024-01-12 10:17:30 +01:00
Lance Release
cfdbddc5cf
Updating package-lock.json
2024-01-12 09:45:45 +01:00
Lance Release
88affc1428
Bump version: 0.4.2 → 0.4.3
2024-01-12 09:45:40 +01:00
Chang She
3f66be666d
feat(node): align incoming data to table schema ( #802 )
2024-01-12 09:45:40 +01:00
Chang She
a649b3b1e4
feat(node): support table.schema for LocalTable ( #789 )
...
Close #773
we pass an empty table over IPC so we don't need to manually deal with
serde. Then we just return the schema attribute from the empty table.
---------
Co-authored-by: albertlockett <albert.lockett@gmail.com >
2024-01-12 09:45:36 +01:00
Chang She
4417f7c5a7
feat(js): support list of string input ( #755 )
...
Add support for adding lists of string input (e.g., list of categorical
labels)
Follow-up items: #757 #758
2024-01-12 09:45:36 +01:00
Lance Release
577d6ea16e
Updating package-lock.json
2024-01-12 09:45:33 +01:00
Lance Release
53d2ef5e81
Bump version: 0.4.1 → 0.4.2
2024-01-12 09:45:29 +01:00
Aidan
3d8b2f5531
fix: createIndex index cache size ( #741 )
2024-01-12 09:45:29 +01:00