mirror of
https://github.com/lancedb/lancedb.git
synced 2026-11-26 12:33:59 +00:00
Merge current main into gatekeeper/fix-5007-1
This commit is contained in:
@@ -76,4 +76,4 @@ boundaries).
|
||||
- [Multimodal data and blobs](/management/table#multimodal): declare `lancedb.blob()` columns and read blobs on demand.
|
||||
- [Table versioning](/management/table#versioning): read and manage table versions.
|
||||
- [Computed columns](/feature-engineering/add-computed-column): add derived features to your data.
|
||||
- [Architecture](/index#architecture): how LanceDB Embedded and Enterprise build on Lance.
|
||||
- [Embedded vs Enterprise](/basics/embedded-vs-enterprise): how LanceDB Embedded and Enterprise build on Lance.
|
||||
|
||||
+1
-1
@@ -81,7 +81,7 @@
|
||||
},
|
||||
{
|
||||
"source": "/basics/offerings",
|
||||
"destination": "/#architecture"
|
||||
"destination": "/basics/embedded-vs-enterprise"
|
||||
},
|
||||
{
|
||||
"source": "/enterprise/deployment",
|
||||
|
||||
@@ -10,7 +10,7 @@ keywords: ["kubernetes", "k8s", "aks", "deployment", "helm"]
|
||||
|
||||
This page describes a LanceDB Enterprise capability. The embedded form
|
||||
of LanceDB has no server to provide it. See
|
||||
[Architecture](/index#architecture) for what differs between the two.
|
||||
[Embedded vs Enterprise](/basics/embedded-vs-enterprise) for what differs between the two.
|
||||
|
||||
The Kubernetes deployment procedure is published with LanceDB Enterprise. See
|
||||
[LanceDB Enterprise](/enterprise#deployment) for the general shape, and
|
||||
|
||||
@@ -10,7 +10,7 @@ keywords: ["compliance", "security", "soc2", "encryption", "audit"]
|
||||
|
||||
This page describes a LanceDB Enterprise capability. The embedded form
|
||||
of LanceDB has no server to provide it. See
|
||||
[Architecture](/index#architecture) for what differs between the two.
|
||||
[Embedded vs Enterprise](/basics/embedded-vs-enterprise) for what differs between the two.
|
||||
|
||||
Compliance posture (certifications, data residency, encryption at rest and in
|
||||
transit, audit logging) is a property of a deployment, so it is documented
|
||||
|
||||
+43
-114
@@ -6,130 +6,59 @@ icon: "/static/assets/logo/lancedb-icon-gray.svg"
|
||||
keywords: ["multimodal lakehouse", "training", "feature engineering", "search", "open source", "oss"]
|
||||
---
|
||||
|
||||
**LanceDB** is a [multimodal lakehouse](https://lancedb.com/blog/multimodal-lakehouse/) for AI teams that need
|
||||
one data layer for curation, feature engineering, search and retrieval, and model training.
|
||||
It is built on top of [Lance](/basics/lance), an open-source lakehouse format designed for multimodal AI data.
|
||||
LanceDB Enterprise is a distributed multimodal lakehouse for AI. It gives you one data layer for search and
|
||||
retrieval, curation, feature engineering, and model training. It is built on [Lance](/basics/lance), an open-source
|
||||
columnar format for multimodal AI data. For the open-source retrieval library that runs inside your application,
|
||||
see [LanceDB Embedded](/basics/lancedb-embedded).
|
||||
|
||||
Move from data exploration to model training on one unified platform without needing to manage a
|
||||
fragmented stack of storage, feature, retrieval, and training systems.
|
||||
LanceDB Enterprise depends only on object storage for its primary state, and NVMe/memory for caching in the serving
|
||||
layer, giving it the latency profile of an in-memory database with the petabyte scalability and cost profile of S3.
|
||||
It brings these workloads into one system, giving your team one system to become expert in and removing the need
|
||||
for multiple database systems and synchronization pipelines between them.
|
||||
|
||||
## Train on the right data faster {#train-on-the-right-data-faster}
|
||||
Core features include:
|
||||
|
||||
Search, curate, and train at petabyte scale, with all your multimodal data in one table.
|
||||
- [**SQL**](/basics/sql) powered by Apache DataFusion
|
||||
- [**Secondary indexes**](/indexing) for vector search, full-text search, and scalar filters
|
||||
- [**Computed columns**](/feature-engineering/add-computed-column) with on-demand or scheduled refresh
|
||||
- [**Materialized views**](/feature-engineering/materialized-views) with on-demand or scheduled refresh
|
||||
- [**Time travel and versioning**](/management/table#versioning) to pin and revisit datasets
|
||||
- **Search**: [vector](/search/vector-search), [full-text](/search/full-text-search), and
|
||||
[hybrid](/search/hybrid-search), with [filters](/search/filtering) and [reranking](/reranking)
|
||||
- [**Functions**](/curation/create-function) for custom transformations and model inference (early access)
|
||||
- [**Row-level random access**](/basics/lance#capabilities) for retrieval and training
|
||||
- [**Column additions**](/management/table#schema-add-new-columns) without rewriting existing columns
|
||||
|
||||
Preparing training data and running experiments slow down when raw data, metadata, embeddings, features, and governance
|
||||
artifacts live in separate systems. LanceDB keeps them together in one versioned multimodal table, so AI teams spend less
|
||||
time stitching infrastructure together and more time improving datasets, testing features, and keeping GPUs fed.
|
||||
{/*
|
||||
Draft until branching reaches early access. Add this item to the list above, after Time travel and versioning:
|
||||
- [**Copy-on-write branching**](/tables/branching) that gives each experiment or agent a writable fork of a table to review before it reaches `main`
|
||||
*/}
|
||||
|
||||
## Accelerate the data flywheel for model research {#accelerate-the-data-flywheel-for-model-research}
|
||||
LanceDB Enterprise stores images, video, audio, text, embeddings, and metadata in
|
||||
[schema-enforced tables](/management/table#multimodal). These features let you build
|
||||
declarative ML data pipelines: ingest raw data and metadata, enrich it incrementally with computed columns and
|
||||
Functions, and organize it into [curated datasets](/curation) with materialized views. Add features without
|
||||
rewriting existing columns, then train from those datasets using row-level random access and sampling.
|
||||
|
||||
Keep your AI data in one table.{/* Draft until branching reaches early access: restore ", and give each agent-driven experiment its own isolated branch" before the period. */}
|
||||
Find the failure, fix the data, and retrain.
|
||||
Connect through [SDKs](/basics/sdk) for Python, TypeScript, and Rust, and use the
|
||||
[PyTorch data loader](/training/data-loading) for reproducible shuffling and streaming batches.
|
||||
|
||||
<Steps>
|
||||
<Step title="Find a curated training subset for every failure case">
|
||||
Start from one failed grasp or evaluation example. [Search](/search/) multimodal data, metadata, and embeddings
|
||||
together, retrieve similar examples, and [curate](/curation) them into a targeted training subset.
|
||||
</Step>
|
||||
{/*
|
||||
Draft until branching reaches early access.
|
||||
## Architecture {#architecture}
|
||||
|
||||
<Step title="Data sandboxes for safe agentic experimentation">
|
||||
Don't let an agent silently corrupt your data and ruin a training run. Give each agent its own
|
||||
[branch](/tables/branching), a writable fork of the table, to experiment on, and review the changes before
|
||||
they reach `main`. See [Run experiments on branches](/agent-branch-experiments).
|
||||
</Step>
|
||||
*/}
|
||||
<Step title="A single dataset for every modality">
|
||||
Keep episodes, frames, metadata, features, and embeddings together in one schema-enforced table, without
|
||||
pipelines to keep them in sync. Table [versions](/management/table#versioning) let you trace each training
|
||||
run back to the exact data it used.
|
||||
</Step>
|
||||
<Step title="More hillclimbing, less babysitting preprocessing jobs">
|
||||
Define the [computed columns](/feature-engineering/add-computed-column) and
|
||||
[materialized views](/feature-engineering/materialized-views) your experiment needs, such as extracted features
|
||||
or embeddings, and refresh them as your data changes. On LanceDB Enterprise, column refreshes run as background
|
||||
jobs on the cluster instead of in your code.
|
||||
</Step>
|
||||
<Step title="Higher GPU utilization, faster convergence">
|
||||
Keep GPUs fed. [`StreamingDataset`](/training/data-loading) streams multimodal training data into PyTorch with
|
||||
globally shuffled, deterministic batches, combining fast random access with high-throughput scans.
|
||||
</Step>
|
||||
</Steps>
|
||||
Queries and feature engineering run across a cluster, with background indexing and maintenance. Deploy
|
||||
LanceDB Enterprise in your cloud or use a LanceDB-managed deployment.
|
||||
|
||||
Use the same table to curate training data, add derived features, retrieve examples, and feed training jobs that rely on expensive GPUs.
|
||||
Training workloads can sample, shuffle, and scan projected columns from local storage or object storage, then assemble
|
||||
GPU-ready batches from a tagged dataset version. Training pipelines need curation, derived features, reproducible
|
||||
splits, fast random access, and a clean path into frameworks such as PyTorch -- LanceDB keeps all of it connected
|
||||
through the same table model, whether a workflow uses one table or several related ones.
|
||||
|
||||
## Architecture: Embedded and Enterprise {#architecture}
|
||||
|
||||
LanceDB ships as two offerings on the same [Lance](/basics/lance) format and table model, which stores table data,
|
||||
versions, and indexes in open, columnar files. What changes between them is how storage and compute are organized
|
||||
around that format: start locally with Embedded, then move to Enterprise when your team needs distributed scale,
|
||||
managed infrastructure, private deployment, or higher-throughput curation, feature engineering, search and
|
||||
retrieval, and training workflows.
|
||||
|
||||
<CardGroup cols={2}>
|
||||
<Card title="LanceDB Embedded" icon="cube" href="/basics/lancedb-embedded">
|
||||
An open-source, embedded retrieval library that runs inside your application process, with no separate
|
||||
database server to deploy.
|
||||
</Card>
|
||||
<Card title="LanceDB Enterprise" icon="server" href="/enterprise/index">
|
||||
A distributed multimodal lakehouse service for production workloads that need managed infrastructure and
|
||||
higher-throughput workflows.
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
||||
See [Embedded vs Enterprise](/basics/embedded-vs-enterprise) for a feature-by-feature comparison, including
|
||||
architecture, latency, throughput, and day-to-day usage differences.
|
||||
Your application connects to the service through an SDK or [SQL client](/basics/sql). The cluster executes queries,
|
||||
refreshes derived data, and maintains tables and indexes outside your application.
|
||||
|
||||
## Projects using LanceDB {#projects-using-lancedb}
|
||||
|
||||
### Training {#training}
|
||||
|
||||
- [stable-worldmodel](https://github.com/galilai-group/stable-worldmodel) -- a platform for reproducible world-model
|
||||
research built on a LanceDB data layer, reporting 3-4x faster data loading on Push-T versus HDF5 / MP4 at a
|
||||
fraction of the disk footprint.
|
||||
- [le-wm](https://github.com/lucas-maes/le-wm) -- a joint-embedding predictive world model from pixels, trained on
|
||||
the stable-worldmodel platform and its LanceDB data layer.
|
||||
- [lerobot-lancedb](https://github.com/lancedb/lerobot-lancedb) -- a drop-in LanceDB backend for HuggingFace
|
||||
LeRobot datasets with faster loading across robotics datasets.
|
||||
|
||||
### Agentic applications {#agentic-applications}
|
||||
|
||||
- [OpenClaw LanceDB Plugin](https://docs.openclaw.ai/plugins/memory-lancedb) -- stores an agent's long-term memory
|
||||
in LanceDB, automatically recalling relevant memories before a model turn and capturing new facts afterward.
|
||||
- [Cognee](https://github.com/topoteretes/cognee) -- an open-source AI memory platform that gives agents persistent
|
||||
memory across sessions, using LanceDB as one of its vector store backends.
|
||||
- [CrewAI](https://github.com/crewAIInc/crewAI) -- a multi-agent framework that
|
||||
[rebuilt its agent memory on LanceDB](https://www.lancedb.com/blog/crewai-rebuilt-agent-memory-on-lancedb).
|
||||
|
||||
Across these projects, LanceDB and Lance provide the multimodal data layer that keeps raw observations, annotations,
|
||||
features, and training or memory access patterns in one format instead of scattering them across task-specific
|
||||
stores.
|
||||
|
||||
## Start with your workload {#start-with-your-workload}
|
||||
|
||||
<CardGroup cols={2}>
|
||||
<Card title="Ingest your data" icon="inbox" href="/ingestion">
|
||||
Create tables, append records, and update or delete rows as your data changes.
|
||||
</Card>
|
||||
<Card title="Build search and retrieval" icon="search" href="/search/">
|
||||
Use vector search, full-text search, hybrid search, reranking, filtering, and SQL.
|
||||
</Card>
|
||||
<Card title="Curate training data" icon="filter" href="/curation">
|
||||
Profile, sample, chunk, join, and deduplicate records before training on them.
|
||||
</Card>
|
||||
<Card title="Engineer features in place" icon="layer-group" href="/feature-engineering">
|
||||
Derive computed columns and materialized views without moving data elsewhere.
|
||||
</Card>
|
||||
<Card title="Load data into PyTorch" icon="boxes-stacked" href="/training/data-loading">
|
||||
Use LanceDB tables and permutations for projected, shuffled, random-access training reads.
|
||||
</Card>
|
||||
<Card title="Manage catalog objects" icon="folder-tree" href="/management">
|
||||
Create, list, and drop tables, namespaces, and views from Python, TypeScript, or SQL.
|
||||
</Card>
|
||||
</CardGroup>
|
||||
Teams use LanceDB for world-model and robotics training, as in
|
||||
[stable-worldmodel](https://github.com/galilai-group/stable-worldmodel) and
|
||||
[lerobot-lancedb](https://github.com/lancedb/lerobot-lancedb), and for agent memory, as in
|
||||
[CrewAI](https://www.lancedb.com/blog/crewai-rebuilt-agent-memory-on-lancedb),
|
||||
[Cognee](https://github.com/topoteretes/cognee), and
|
||||
[OpenClaw](https://docs.openclaw.ai/plugins/memory-lancedb).
|
||||
|
||||
Try out LanceDB using our [quickstart](/quickstart). For help planning an Enterprise deployment
|
||||
that meets your scale and performance needs, [contact the LanceDB team](https://www.lancedb.com/contact).
|
||||
|
||||
@@ -7,8 +7,10 @@ icon: rocket
|
||||
import { PyConnect, TsConnect, RsConnect, PyConnectObjectStorage, TsConnectObjectStorage, RsConnectObjectStorage, PyConnectEnterprisePlaceholders, TsConnectEnterprisePlaceholders, RsConnectEnterprisePlaceholders } from '/snippets/connection.mdx';
|
||||
import { PyQuickstartData, PyQuickstartCreateTable, PyQuickstartAddData, PyQuickstartCurateSample, PyQuickstartCurateDedupeSetup, PyQuickstartCurateDedupe, PyQuickstartCurateDedupeQuery, PyQuickstartFlattenStats, PyQuickstartAddFeature, PyQuickstartAddFeatureEnterprise, PyQuickstartMultimodalBytes, PyQuickstartTraining, TsQuickstartData, TsQuickstartCreateTable, TsQuickstartAddData, TsQuickstartVectorSearch1, TsQuickstartMultimodalBytes, RsQuickstartDefineStruct, RsQuickstartData, RsQuickstartCreateTable, RsQuickstartAddData, RsQuickstartVectorSearch1, RsQuickstartMultimodalBytes } from '/snippets/quickstart.mdx';
|
||||
|
||||
This quickstart uses LanceDB Embedded with a local database and works without an account or API key.
|
||||
LanceDB Embedded runs in your application's process; your data can live on local disk or in object storage.
|
||||
This quickstart walks you through creating a table, searching your data, and preparing it for training.
|
||||
By default, it uses LanceDB Embedded with a local database, so no account or API key is required.
|
||||
To follow along with an existing LanceDB Enterprise deployment, use the
|
||||
[Enterprise connection instructions](#connect-to-lancedb-enterprise).
|
||||
|
||||
## 1\. Install LanceDB {#1-install-lancedb}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user