Commit Graph

218 Commits

Author SHA1 Message Date
Lei Xu 65c1d8bc4c feat: change create table to accept Arrow table (#845) 2024-04-05 16:27:50 -07:00
Bert a409000c6f 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-04-05 16:27:42 -07:00
Lei Xu d8befeeea2 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-04-05 16:27:42 -07:00
Chang She b699b5c42b chore(js): remove errant console.log (#834) 2024-04-05 16:27:42 -07:00
Chang She d19bf80375 Merge branch 'tecmie/embeddings-openai' of github.com:tecmie/lancedb into tecmie-tecmie/embeddings-openai 2024-04-05 16:27:41 -07:00
Lei Xu 5b2c602fb3 doc: improve docs for nodejs connect functions (#833)
* improve the docstring for NodeJS connect functions and
`ConnectOptions` parameters.
* Simplify `npm run build` steps.
2024-04-05 16:27:32 -07:00
Andrew Miracle 8daed93a91 eslint fix 2024-04-05 16:25:52 -07:00
Andrew Miracle f1aad1afc7 Merge branch 'main' into tecmie/embeddings-openai 2024-04-05 16:25:51 -07:00
Andrew Miracle fa13fb9392 rebase from lancedb/main 2024-04-05 16:25:14 -07:00
Lance Release d39145c7e4 Updating package-lock.json 2024-04-05 16:25:14 -07:00
Lance Release 3463248eba Bump version: 0.4.2 → 0.4.3 2024-04-05 16:25:14 -07:00
Chang She 118a11c9b3 feat(node): align incoming data to table schema (#802) 2024-04-05 16:25:14 -07:00
Chang She a758876a65 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-04-05 16:25:14 -07:00
Lance Release f0a654036e Updating package-lock.json 2024-04-05 16:25:02 -07:00
Lance Release 162f8536d1 Updating package-lock.json 2024-04-05 16:25:02 -07:00
Lance Release 55cc3ed5a2 Bump version: 0.4.2 → 0.4.3 2024-04-05 16:25:02 -07:00
Chang She 81487f10fe 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-04-05 16:25:02 -07:00
Lance Release 3aa233f38a Updating package-lock.json 2024-04-05 16:25:02 -07:00
Lance Release 3278fa75d1 Bump version: 0.4.1 → 0.4.2 2024-04-05 16:25:02 -07:00
Aidan a76b5755ff fix: createIndex index cache size (#741) 2024-04-05 16:25:02 -07:00
Lance Release ab794ba237 Updating package-lock.json 2024-04-05 16:25:02 -07:00
Lance Release 8705784cea Bump version: 0.4.0 → 0.4.1 2024-04-05 16:25:02 -07:00
Andrew Miracle 5948f11641 eslint fix 2024-04-05 16:25:02 -07:00
Andrew Miracle 9efc3fa6d8 remove console logs 2024-04-05 16:25:02 -07:00
Andrew Miracle 453bf113ae add support for openai SDK version ^4.24.1 2024-04-05 16:25:02 -07:00
Chang She 4b243c5ff8 feat(node): align incoming data to table schema (#802) 2024-04-05 16:25:01 -07:00
Chang She 175ad9223b 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-04-05 16:25:01 -07:00
Will Jones c34aa09166 docs: update node API reference (#734)
This command hasn't been run for a while...
2024-04-05 16:24:47 -07:00
Bert 5bb128a24d docs: fix JS api docs for update method (#738) 2024-04-05 16:24:47 -07:00
Weston Pace 94e81ff84b feat: add the ability to create scalar indices (#679)
This is a pretty direct binding to the underlying lance capability
2024-04-05 16:24:47 -07:00
Aidan b4ae3f3097 feat: node list tables pagination (#733) 2024-04-05 16:24:47 -07:00
Chang She cd791a366b 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-04-05 16:24:47 -07:00
Lance Release 24afea8c56 Updating package-lock.json 2024-04-05 16:24:47 -07:00
Lance Release 0d2dbf7d09 Updating package-lock.json 2024-04-05 16:24:47 -07:00
Lance Release c629080d60 Bump version: 0.4.1 → 0.4.2 2024-04-05 16:24:47 -07:00
Aidan e74c203e6f fix: createIndex index cache size (#741) 2024-04-05 16:24:47 -07:00
Lance Release 4891a7ae14 Updating package-lock.json 2024-04-05 16:24:47 -07:00
Lance Release b56c54c990 Bump version: 0.4.0 → 0.4.1 2024-04-05 16:24:47 -07:00
Aidan 3232b55218 feat: Node create index API (#720) 2024-04-05 16:24:30 -07:00
Aidan ee2034db23 feat: Node Schema API (#717) 2024-04-05 16:24:30 -07:00
Lance Release 1dac34d2fa Updating package-lock.json 2024-04-05 16:24:30 -07:00
Lance Release 78b457f230 Updating package-lock.json 2024-04-05 16:24:30 -07:00
Lance Release 884ce655fe Bump version: 0.3.11 → 0.4.0 2024-04-05 16:24:30 -07:00
Lance Release f46931228b Updating package-lock.json 2024-04-05 16:24:30 -07:00
Lance Release 072be50cb3 Updating package-lock.json 2024-04-05 16:24:30 -07:00
Lance Release aca1b43d5e Bump version: 0.3.10 → 0.3.11 2024-04-05 16:24:30 -07:00
Bert 0b9c8ef88a chore: fix package lock (#711) 2024-04-05 16:24:30 -07:00
Bert eb62ddfb0c implement update for remote clients (#706) 2024-04-05 16:24:30 -07:00
Lance Release 79aeb6bea6 Updating package-lock.json 2024-04-05 16:24:30 -07:00
Lance Release 7d70c9940c Bump version: 0.3.9 → 0.3.10 2024-04-05 16:24:30 -07:00