Commit Graph

267 Commits

Author SHA1 Message Date
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
Lance Release 55db26f59a Updating package-lock.json 2024-01-12 09:45:29 +01:00
Lance Release 2790b19279 Bump version: 0.4.0 → 0.4.1 2024-01-12 09:45:23 +01:00
Lance Release 986891db98 Updating package-lock.json 2024-01-11 22:21:42 +00:00
Lance Release 036bf02901 Updating package-lock.json 2024-01-11 21:34:04 +00:00
Lance Release 4e31f0cc7a Bump version: 0.4.2 → 0.4.3 2024-01-11 21:33:55 +00:00
Chang She 81af350d85 feat(node): align incoming data to table schema (#802) 2024-01-10 16:44:00 -08:00
Andrew Miracle 821cf0e434 eslint fix 2024-01-09 16:27:22 +01:00
Chang She ac40d4b235 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-08 21:12:48 -08:00
Chang She 684eb8b087 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-02 20:55:33 -08:00
Lance Release 4e3b82feaa Updating package-lock.json 2023-12-30 03:16:41 +00:00
Lance Release 8e248a9d67 Updating package-lock.json 2023-12-30 00:53:51 +00:00
Lance Release 065ffde443 Bump version: 0.4.1 → 0.4.2 2023-12-30 00:53:30 +00:00
Aidan 446f837335 fix: createIndex index cache size (#741) 2023-12-27 09:25:13 -08:00
Lance Release 0df38341d5 Updating package-lock.json 2023-12-26 17:21:51 +00:00
Lance Release bb100c5c19 Bump version: 0.4.0 → 0.4.1 2023-12-26 16:51:09 +00:00
Andrew Miracle ee1d0b596f remove console logs 2023-12-25 21:51:02 +00:00
Andrew Miracle 38a4524893 add support for openai SDK version ^4.24.1 2023-12-25 20:29:54 +00:00
Will Jones ee0f0611d9 docs: update node API reference (#734)
This command hasn't been run for a while...
2023-12-22 10:14:31 -08:00
Bert 756188358c docs: fix JS api docs for update method (#738) 2023-12-21 13:48:00 -05:00
Weston Pace dc5126d8d1 feat: add the ability to create scalar indices (#679)
This is a pretty direct binding to the underlying lance capability
2023-12-21 09:50:10 -08:00
Aidan 50c20af060 feat: node list tables pagination (#733) 2023-12-21 11:37:19 -05:00
Aidan fff8e399a3 feat: Node create index API (#720) 2023-12-20 15:22:35 -05:00
Aidan 73e4015797 feat: Node Schema API (#717) 2023-12-20 12:16:40 -05:00
Lance Release 5142a27482 Updating package-lock.json 2023-12-18 18:15:50 +00:00
Lance Release 81df2a524e Updating package-lock.json 2023-12-18 17:29:58 +00:00
Lance Release 40638e5515 Bump version: 0.3.11 → 0.4.0 2023-12-18 17:29:47 +00:00
Lance Release ff9872fd44 Updating package-lock.json 2023-12-15 18:25:06 +00:00
Lance Release 2e4ea7d2bc Updating package-lock.json 2023-12-15 18:01:45 +00:00
Lance Release 57e5695a54 Bump version: 0.3.10 → 0.3.11 2023-12-15 18:01:34 +00:00
Bert ce58ea7c38 chore: fix package lock (#711) 2023-12-15 11:49:16 -05:00
Bert 57207eff4a implement update for remote clients (#706) 2023-12-15 09:06:40 -05:00
Lance Release b6f0a31686 Updating package-lock.json 2023-12-14 19:31:56 +00:00
Lance Release 9ec526f73f Bump version: 0.3.9 → 0.3.10 2023-12-14 19:31:41 +00:00
Chang She 098e397cf0 feat: LocalTable for vectordb now supports filters without vector search (#693)
Note this currently the filter/where is only implemented for LocalTable
so that it requires an explicit cast to "enable" (see new unit test).
The alternative is to add it to the Table interface, but since it's not
available on RemoteTable this may cause some user experience issues.
2023-12-13 22:59:01 -08:00