Elffuss BraidHub

kikocis/lancedb public

main 路 3.9 KiBRenderedRawPermalink
1# LanceDB
2
3LanceDB is an open-source vector database for AI that's designed to store, manage, query and retrieve embeddings on large-scale multi-modal data. The core of LanceDB is written in Rust 馃 and is built on top of [Lance](https://github.com/lancedb/lance), an open-source columnar data format designed for performant ML workloads and fast random access.
4
5Both the database and the underlying data format are designed from the ground up to be **easy-to-use**, **scalable** and **cost-effective**.
6
7![](assets/lancedb_and_lance.png)
8
9## Truly multi-modal
10
11Most existing vector databases that store and query just the embeddings and their metadata. The actual data is stored elsewhere, requiring you to manage their storage and versioning separately.
12
13LanceDB supports storage of the *actual data itself*, alongside the embeddings and metadata. You can persist your images, videos, text documents, audio files and more in the Lance format, which provides automatic data versioning and blazing fast retrievals and filtering via LanceDB.
14
15## Open-source and cloud solutions
16
17LanceDB is available in two flavors: **OSS** and **Cloud**.
18
19LanceDB **OSS** is an **open-source**, batteries-included embedded vector database that you can run on your own infrastructure. "Embedded" means that it runs *in-process*, making it incredibly simple to self-host your own AI retrieval workflows for RAG and more. No servers, no hassle.
20
21LanceDB **Cloud** is a SaaS (software-as-a-service) solution that runs serverless in the cloud, making the storage clearly separated from compute. It's designed to be cost-effective and highly scalable without breaking the bank. LanceDB Cloud is currently in private beta with general availability coming soon, but you can apply for early access with the private beta release by signing up below.
22
23[Try out LanceDB Cloud](https://noteforms.com/forms/lancedb-mailing-list-cloud-kty1o5?notionforms=1&utm_source=notionforms){ .md-button .md-button--primary }
24
25## Why use LanceDB?
26
27* Embedded (OSS) and serverless (Cloud) - no need to manage servers
28
29* Fast production-scale vector similarity, full-text & hybrid search and a SQL query interface (via [DataFusion](https://github.com/apache/arrow-datafusion))
30
31* Python, Javascript/Typescript, and Rust support
32
33* Store, query & manage multi-modal data (text, images, videos, point clouds, etc.), not just the embeddings and metadata
34
35* Tight integration with the [Arrow](https://arrow.apache.org/docs/format/Columnar.html) ecosystem, allowing true zero-copy access in shared memory with SIMD and GPU acceleration
36
37* Automatic data versioning to manage versions of your data without needing extra infrastructure
38
39* Disk-based index & storage, allowing for massive scalability without breaking the bank
40
41* Ingest your favorite data formats directly, like pandas DataFrames, Pydantic objects, Polars (coming soon), and more
42
43## Documentation guide
44
45The following pages go deeper into the internal of LanceDB and how to use it.
46
47* [Quick start](basic.md): Get started with LanceDB and vector DB concepts
48* [Vector search concepts](concepts/vector_search.md): Understand the basics of vector search
49* [Working with tables](guides/tables.md): Learn how to work with tables and their associated functions
50* [Indexing](ann_indexes.md): Understand how to create indexes
51* [Vector search](search.md): Learn how to perform vector similarity search
52* [Full-text search](fts.md): Learn how to perform full-text search
53* [Managing embeddings](embeddings/index.md): Managing embeddings and the embedding functions API in LanceDB
54* [Ecosystem Integrations](integrations/index.md): Integrate LanceDB with other tools in the data ecosystem
55* [Python API Reference](python/python.md): Python OSS and Cloud API references
56* [JavaScript API Reference](javascript/modules.md): JavaScript OSS and Cloud API references
57* [Rust API Reference](https://docs.rs/lancedb/latest/lancedb/index.html): Rust API reference