LlamaIndex vector store for mnestic — embedded graph + vector + full-text store with one-call hybrid retrieval.
Project description
llama-index-vector-stores-mnestic
A LlamaIndex vector store backed by mnestic — an embedded graph + vector + full-text database (a maintained fork of CozoDB). Retrieval is hybrid: dense (HNSW) + keyword (full-text) fused with Reciprocal Rank Fusion, in one call.
pip install llama-index-vector-stores-mnestic
from llama_index.core import VectorStoreIndex, StorageContext, Document
from llama_index.vector_stores.mnestic import MnesticVectorStore
vector_store = MnesticVectorStore(dim=1536, engine="sqlite", path="mydocs.db")
storage_context = StorageContext.from_defaults(vector_store=vector_store)
index = VectorStoreIndex.from_documents(
[Document(text="the cat sat on the mat")],
storage_context=storage_context,
)
nodes = index.as_retriever(similarity_top_k=4).retrieve("feline")
dim must match your embedding model's dimension. query runs hybrid search when
the query carries text (the usual index path), otherwise vector-only.
License
Mozilla Public License 2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_vector_stores_mnestic-0.1.0.tar.gz.
File metadata
- Download URL: llama_index_vector_stores_mnestic-0.1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ff200b54dc82aacb83860f7940f24f251c022c242a9191fb1968fbaadfc10c7
|
|
| MD5 |
ef2aaa9cf31cfe6ea4cdd7757be8c8f4
|
|
| BLAKE2b-256 |
ad810b7b7925273ad96498513b3696a7eb6e19e4b1081d51027324521c11fd8f
|
Provenance
The following attestation bundles were made for llama_index_vector_stores_mnestic-0.1.0.tar.gz:
Publisher:
python-publish.yml on shuruheel/mnestic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llama_index_vector_stores_mnestic-0.1.0.tar.gz -
Subject digest:
3ff200b54dc82aacb83860f7940f24f251c022c242a9191fb1968fbaadfc10c7 - Sigstore transparency entry: 1784300875
- Sigstore integration time:
-
Permalink:
shuruheel/mnestic@7fbb90351e19dafa1598bace81ede452caf47d1f -
Branch / Tag:
refs/tags/py-v0.8.4 - Owner: https://github.com/shuruheel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7fbb90351e19dafa1598bace81ede452caf47d1f -
Trigger Event:
push
-
Statement type:
File details
Details for the file llama_index_vector_stores_mnestic-0.1.0-py3-none-any.whl.
File metadata
- Download URL: llama_index_vector_stores_mnestic-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8bb5b86185afcd0a42b81bd2ce3730f39ee225e330d6c671e252f8e69990c67
|
|
| MD5 |
b710e8e1a90582580305960cb8188a59
|
|
| BLAKE2b-256 |
5b09f4b8fabab6a9898485788951e11ec148c926c6509218d0ccb9ced9766b37
|
Provenance
The following attestation bundles were made for llama_index_vector_stores_mnestic-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on shuruheel/mnestic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llama_index_vector_stores_mnestic-0.1.0-py3-none-any.whl -
Subject digest:
b8bb5b86185afcd0a42b81bd2ce3730f39ee225e330d6c671e252f8e69990c67 - Sigstore transparency entry: 1784301783
- Sigstore integration time:
-
Permalink:
shuruheel/mnestic@7fbb90351e19dafa1598bace81ede452caf47d1f -
Branch / Tag:
refs/tags/py-v0.8.4 - Owner: https://github.com/shuruheel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7fbb90351e19dafa1598bace81ede452caf47d1f -
Trigger Event:
push
-
Statement type: