llama-index-retrievers-ragmir
LlamaIndex retriever for Ragmir: cited local retrieval over a project's code, PDFs, Office files, and more. Every node carries its citation, and a question the documents cannot answer returns no node.
pip install llama-index-retrievers-ragmir
Ragmir runs through Node.js 22.12 or later or Docker; see ragmir
to index a project from Python.
from llama_index.core.query_engine import RetrieverQueryEngine
from llama_index.retrievers.ragmir import RagmirRetriever
retriever = RagmirRetriever(project_root="my-project", similarity_top_k=4)
for node in retriever.retrieve("Who approves a production release?"):
print(node.metadata["citation"], node.text)
query_engine = RetrieverQueryEngine.from_args(retriever)
print(query_engine.query("Who approves a production release?"))
Node metadata holds source, citation, context_path, line or page ranges, weak_evidence, and
source_status when the file changed after indexing; only the citation and its context reach the
LLM prompt. Nodes keep Ragmir's ranking order without a similarity score.
Read the Python guide. Open source under AGPL-3.0-only, with a commercial license available from JCode Works.
Metadata
Release files for llama-index-retrievers-ragmir 6.12.1
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 |
|---|---|---|---|---|
| llama_index_retrievers_ragmir-6.12.1.tar.gz | 16.2 kB | Without provenance | Details for llama_index_retrievers_ragmir-6.12.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_retrievers_ragmir-6.12.1-py3-none-any.whl | Python 3 | none | any | Details for llama_index_retrievers_ragmir-6.12.1-py3-none-any.whl |
Total release size: 32.4 kB
Release files / llama_index_retrievers_ragmir-6.12.1.tar.gz
| Download URL | llama_index_retrievers_ragmir-6.12.1.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd58bb52bb9f3c1bc6a81b7b420c6db2666a528ac749bcf2e50bce2fe2dd9d95
|
|
BLAKE2b-256 checksum How to use checksums |
2e6868c155b205bf13cc08ec76914771487b59b6de48ddf3dec36327bf3eb213
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / llama_index_retrievers_ragmir-6.12.1-py3-none-any.whl
| Download URL | llama_index_retrievers_ragmir-6.12.1-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
122bde62932d24a2edf17a004c6413e261d5d9337bf9eb328cb902441abf1d86
|
|
BLAKE2b-256 checksum How to use checksums |
b0eda024c7e21ff6a4acfcfda5f8cba4192a4745bb093e87da3df894d4fcfa18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for llama-index-retrievers-ragmir 6.12.1
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.