VantaDB × LlamaIndex
LlamaIndex BasePydanticVectorStore adapter for VantaDB.
Install
Not on PyPI yet. The
vantadb-llamaindexpackage builds and passestwine checklocally; it will go live with the firstadapters-v*tag release. Until then, install from source.
# Today, from a repo checkout
cd integrations/llamaindex && pip install .
Install from PyPI (after first release)
pip install vantadb-llamaindex
Quickstart
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
from llama_index.embeddings.openai import OpenAIEmbedding
from vantadb_llamaindex import VantaDBVectorStore
# Create vector store
vector_store = VantaDBVectorStore(
db_path="./my_data",
namespace="docs",
)
# Create index from documents
documents = SimpleDirectoryReader("./data").load_data()
embed_model = OpenAIEmbedding(model="text-embedding-3-small")
index = VectorStoreIndex.from_documents(
documents,
embed_model=embed_model,
vector_store=vector_store,
)
# Query
query_engine = index.as_query_engine()
response = query_engine.query("What is VantaDB?")
print(response)
API
add(nodes)— add pre-embedded nodes to the storedelete(ref_doc_id)— delete all nodes from a documentquery(query)— vector + hybrid searchget_nodes(node_ids)— retrieve nodes by IDclear()— remove all records
Why VantaDB?
- Embedded & local-first: the storage engine is a Rust library embedded in your process — no server to deploy, no network hop; data lives in your filesystem.
- Persistent hybrid search: vectors + BM25 text search out of the box,
where LlamaIndex's
SimpleVectorStorecovers only small single-process sessions. - Zero-setup alternative to hosted stacks: unlike Zep (requires a server) or Cognee (spins up its own knowledge-graph runtime), VantaDB is a plain library you import.
Development
pip install -e .
Metadata
Release files for vantadb-llamaindex 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vantadb_llamaindex-0.9.0.tar.gz | 8.2 kB | Without provenance | Details for vantadb_llamaindex-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vantadb_llamaindex-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for vantadb_llamaindex-0.9.0-py3-none-any.whl |
Total release size: 15.1 kB
Release files / vantadb_llamaindex-0.9.0.tar.gz
| Download URL | vantadb_llamaindex-0.9.0.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
612af648e957a4ba08c7f45919deb389aba5464c3a34b71d4ddc5ab3d74ff381
|
|
BLAKE2b-256 checksum How to use checksums |
4944987976a46fce9214fd9800f41f56aaaaa3a5bb9d276ae22b7dbb3b76391e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / vantadb_llamaindex-0.9.0-py3-none-any.whl
| Download URL | vantadb_llamaindex-0.9.0-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd9c58d9eb9f803ffd14fffd3fbc79a7eb9cf265d15c15030078bc2643021951
|
|
BLAKE2b-256 checksum How to use checksums |
ef01d66a12a1fb90a482555f91d75a3b34a76ee6f7b4237b7280b6d04ff9f35c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for vantadb-llamaindex 0.9.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.