mirror of
https://github.com/lancedb/lancedb.git
synced 2026-10-20 18:52:28 +00:00
The existing docs have 254 findings from our shared Vale rules. Contributors would otherwise inherit these when editing the same lines. Clean up the prose across 80 pages: correct product names and a repeated word, simplify a few phrases, and replace dashes with punctuation that fits each sentence. The pinned Vale scan now reports zero findings, with no suppressions.
24 lines
996 B
Plaintext
24 lines
996 B
Plaintext
---
|
|
title: "Matryoshka embeddings"
|
|
sidebarTitle: "Matryoshka Embeddings"
|
|
description: "Nested, variable-size embeddings with LanceDB and LlamaIndex."
|
|
---
|
|
|
|
A RAG pipeline built on Matryoshka embeddings with LlamaIndex. The embeddings
|
|
nest, so one model serves several dimensionalities: store the full vector and
|
|
retrieve with a truncated one when the cheaper comparison is good enough.
|
|
|
|
<Note>
|
|
This example is a runnable notebook in the
|
|
[vectordb-recipes](https://github.com/lancedb/vectordb-recipes) repository rather than a page here.
|
|
</Note>
|
|
|
|
<CardGroup cols={2}>
|
|
<Card title="Open in Colab" icon="google" href="https://colab.research.google.com/github/lancedb/vectordb-recipes/blob/main/tutorials/RAG-with_MatryoshkaEmbed-Llamaindex/main.ipynb">
|
|
Run it end to end in the browser.
|
|
</Card>
|
|
<Card title="View on GitHub" icon="github" href="https://github.com/lancedb/vectordb-recipes/tree/main/tutorials/RAG-with_MatryoshkaEmbed-Llamaindex">
|
|
Read the source.
|
|
</Card>
|
|
</CardGroup>
|