Skip to main content

LlamaIndex Retrievers Integration: DuckDBRetriever

pip install llama-index-retrievers-duckdb-retriever.

What is this?

This is a BM25 Retriever for DuckDB that can be used with LlamaIndex to enable full-text search.

How to use

This was created with reference to DuckDB Full-Text Search Extension, so it's mostly the same.

Please refer to that.

However, while DuckDBVectorStore is an VectorStore, DuckDBRetriever is a Retriever.

DuckDBRetriever Example:

from llama_index.retrievers.duckdb_retriever import DuckDBRetriever

retriever = DuckDBRetriever(database_name="vector.db", persist_dir="duckdb")
nodes = retriever.retrieve("retrieve_query")

Metadata

Release files for llama-index-retrievers-duckdb-retriever 0.7.0

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

Source distribution (sdist)

Source distribution for llama-index-retrievers-duckdb-retriever 0.7.0
File Size Uploaded Provenance Actions
llama_index_retrievers_duckdb_retriever-0.7.0.tar.gz 4.5 kB Without provenance Details for llama_index_retrievers_duckdb_retriever-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-retrievers-duckdb-retriever 0.7.0
File Interpreter ABI Platform Actions
llama_index_retrievers_duckdb_retriever-0.7.0-py3-none-any.whl Python 3 none any Details for llama_index_retrievers_duckdb_retriever-0.7.0-py3-none-any.whl

Total release size: 8.9 kB

Release files / llama_index_retrievers_duckdb_retriever-0.7.0.tar.gz

Download URL llama_index_retrievers_duckdb_retriever-0.7.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
af189fe087cfca5885e8f55559460466840820413832b9fd22ef840d3946574d
BLAKE2b-256 checksum
How to use checksums
eff77cb8354e9be61c91778bc40c2ea6057aec674acb322bd14eb26edef3f145
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","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_duckdb_retriever-0.7.0-py3-none-any.whl

Download URL llama_index_retrievers_duckdb_retriever-0.7.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc9710197e9882e1431d51cef5e3edfa40f6b49ac775265c594c66fc83afae39
BLAKE2b-256 checksum
How to use checksums
fc5a4b3ac980bd9d3973853beb4ab04717b23722cd4dc05ddf2c42be55c03b18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","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-duckdb-retriever 0.7.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.

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