Skip to main content

denser logo Denser Retriever

Python Version Dependencies Status

Code style: ruff Security: bandit Pre-commit Semantic Versions License

An enterprise-grade AI retriever designed to streamline AI integration into your applications, ensuring cutting-edge accuracy.

📝 Description

Denser Retriever combines multiple search technologies into a single platform. It utilizes gradient boosting ( xgboost) machine learning technique to combine:

  • Keyword-based searches that focus on fetching precisely what the query mentions.
  • Vector databases that are great for finding a wide range of potentially relevant answers.
  • Machine Learning rerankers that fine-tune the results to ensure the most relevant answers top the list.
  • Our experiments on MTEB datasets show that the combination of keyword search, vector search and a reranker via a xgboost model (denoted as ES+VS+RR_n) can significantly improve the vector search (VS) baseline.

mteb_ndcg_plot

  • Check out Denser Retriever experiments using the Anthropic Contextual Retrieval dataset at here.

🚀 Features

The initial release of Denser Retriever provides the following features.

  • Supporting heterogeneous retrievers such as keyword search, vector search, and ML model reranking
  • Leveraging xgboost ML technique to effectively combine heterogeneous retrievers
  • State-of-the-art accuracy on MTEB Retrieval benchmarking
  • Demonstrating how to use Denser retriever to power an end-to-end applications such as chatbot and semantic search

📦 Installation

We recommend installing Python via Anaconda, as we have received feedback about issues with Numpy installation when using the installer from https://www.python.org/downloads/. We are working on providing a solution to this problem. To install Denser Retriever, you can run:

Pip

pip install denser-retriever

Poetry

poetry add denser-retriever

📃 Documentation

The official documentation is hosted on retriever.denser.ai. Click here to get started.

👨🏼‍💻 Development

You can start developing Denser Retriever on your local machine.

See DEVELOPMENT.md for more details.

🛡 License

License

This project is licensed under the terms of the MIT license. See LICENSE for more details.

📃 Citation

@misc{denser-retriever,
  author = {denser-org},
  title = {An enterprise-grade AI retriever designed to streamline AI integration into your applications, ensuring cutting-edge accuracy.},
  year = {2024},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/denser-org/denser-retriever}}
}

Metadata

Release files for denser-retriever 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for denser-retriever 0.1.3
File Size Uploaded Provenance Actions
denser_retriever-0.1.3.tar.gz 21.7 kB Without provenance Details for denser_retriever-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for denser-retriever 0.1.3
File Interpreter ABI Platform Actions
denser_retriever-0.1.3-py3-none-any.whl Python 3 none any Details for denser_retriever-0.1.3-py3-none-any.whl

Total release size: 44.5 kB

Release files / denser_retriever-0.1.3.tar.gz

Download URL denser_retriever-0.1.3.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5548dea07bcf89f3b34c3b770062157bf6b763eb10c6bea2d62873b392c38a52
BLAKE2b-256 checksum
How to use checksums
651c2369491828e09c1f54ea1cb468b42b26d11e4413c59c1fe162620a3d43c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.14 Darwin/23.5.0

Release files / denser_retriever-0.1.3-py3-none-any.whl

Download URL denser_retriever-0.1.3-py3-none-any.whl
Size 22.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15bb0604c48a6afdcb53dd6d493ec1a99464db88ec065b8ca482a748fbf7b27a
BLAKE2b-256 checksum
How to use checksums
cdca127e62694b81f93c3bc5112cf8478be790e789d8e668dd67ed527fff1a51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.14 Darwin/23.5.0

Security for denser-retriever 0.1.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page