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
llama_index_retrievers_duckdb_retriever-0.7.0.tar.gz 4.5 kB Details

Built distribution (wheel)

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

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}

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.4

2 release files

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