mirror of
https://github.com/lancedb/lancedb.git
synced 2026-05-14 10:30:40 +00:00
Bumps the rust-minor-patch group with 9 updates in the / directory: | Package | From | To | | --- | --- | --- | | [semver](https://github.com/dtolnay/semver) | `1.0.27` | `1.0.28` | | [tokio](https://github.com/tokio-rs/tokio) | `1.50.0` | `1.52.1` | | [aws-sdk-bedrockruntime](https://github.com/awslabs/aws-sdk-rust) | `1.113.0` | `1.125.0` | | [uuid](https://github.com/uuid-rs/uuid) | `1.22.0` | `1.23.1` | | [aws-sdk-dynamodb](https://github.com/awslabs/aws-sdk-rust) | `1.96.0` | `1.105.0` | | [aws-sdk-kms](https://github.com/awslabs/aws-sdk-rust) | `1.91.0` | `1.101.0` | | [test-log](https://github.com/d-e-s-o/test-log) | `0.2.19` | `0.2.20` | | [napi](https://github.com/napi-rs/napi-rs) | `3.8.3` | `3.8.6` | | [napi-derive](https://github.com/napi-rs/napi-rs) | `3.5.2` | `3.5.5` | Updates `semver` from 1.0.27 to 1.0.28 - [Release notes](https://github.com/dtolnay/semver/releases) - [Commits](https://github.com/dtolnay/semver/compare/1.0.27...1.0.28) Updates `tokio` from 1.50.0 to 1.52.1 - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.50.0...tokio-1.52.1) Updates `aws-sdk-bedrockruntime` from 1.113.0 to 1.125.0 - [Release notes](https://github.com/awslabs/aws-sdk-rust/releases) - [Commits](https://github.com/awslabs/aws-sdk-rust/commits) Updates `uuid` from 1.22.0 to 1.23.1 - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/v1.22.0...v1.23.1) Updates `aws-sdk-dynamodb` from 1.96.0 to 1.105.0 - [Release notes](https://github.com/awslabs/aws-sdk-rust/releases) - [Commits](https://github.com/awslabs/aws-sdk-rust/commits) Updates `aws-sdk-kms` from 1.91.0 to 1.101.0 - [Release notes](https://github.com/awslabs/aws-sdk-rust/releases) - [Commits](https://github.com/awslabs/aws-sdk-rust/commits) Updates `test-log` from 0.2.19 to 0.2.20 - [Release notes](https://github.com/d-e-s-o/test-log/releases) - [Changelog](https://github.com/d-e-s-o/test-log/blob/main/CHANGELOG.md) - [Commits](https://github.com/d-e-s-o/test-log/compare/v0.2.19...v0.2.20) Updates `napi` from 3.8.3 to 3.8.6 - [Release notes](https://github.com/napi-rs/napi-rs/releases) - [Commits](https://github.com/napi-rs/napi-rs/compare/napi-v3.8.3...napi-v3.8.6) Updates `napi-derive` from 3.5.2 to 3.5.5 - [Release notes](https://github.com/napi-rs/napi-rs/releases) - [Commits](https://github.com/napi-rs/napi-rs/compare/napi-derive-v3.5.2...napi-derive-v3.5.5) --- updated-dependencies: - dependency-name: aws-sdk-bedrockruntime dependency-version: 1.125.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch - dependency-name: aws-sdk-dynamodb dependency-version: 1.105.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch - dependency-name: aws-sdk-kms dependency-version: 1.101.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch - dependency-name: napi dependency-version: 3.8.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-minor-patch - dependency-name: napi-derive dependency-version: 3.5.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-minor-patch - dependency-name: semver dependency-version: 1.0.28 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-minor-patch - dependency-name: test-log dependency-version: 0.2.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-minor-patch - dependency-name: tokio dependency-version: 1.52.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch - dependency-name: uuid dependency-version: 1.23.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com>
LanceDB JavaScript SDK
A JavaScript library for LanceDB.
Installation
npm install @lancedb/lancedb
This will download the appropriate native library for your platform. We currently support:
- Linux (x86_64 and aarch64 on glibc and musl)
- MacOS (Intel and ARM/M1/M2)
- Windows (x86_64 and aarch64)
Usage
Basic Example
import * as lancedb from "@lancedb/lancedb";
const db = await lancedb.connect("data/sample-lancedb");
const table = await db.createTable("my_table", [
{ id: 1, vector: [0.1, 1.0], item: "foo", price: 10.0 },
{ id: 2, vector: [3.9, 0.5], item: "bar", price: 20.0 },
]);
const results = await table.vectorSearch([0.1, 0.3]).limit(20).toArray();
console.log(results);
The quickstart contains more complete examples.
Development
See CONTRIBUTING.md for information on how to contribute to LanceDB.