Skip to main content

llama-index retrievers duckdb-retriever integration

Project description

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")

Project details


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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file llama_index_retrievers_duckdb_retriever-0.6.0.tar.gz.

File metadata

  • Download URL: llama_index_retrievers_duckdb_retriever-0.6.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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}

File hashes

Hashes for llama_index_retrievers_duckdb_retriever-0.6.0.tar.gz
Algorithm Hash digest
SHA256 896b632daae6381d16ac453201878562b41f6d1ba9c4fa03773e15d98c455300
MD5 fb5abaf0ab2f67bc0016521b273a89a5
BLAKE2b-256 c78a6aa5bd435abbc1aee323356613af35f010b93b26860e455a854d4f8711cc

See more details on using hashes here.

File details

Details for the file llama_index_retrievers_duckdb_retriever-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_retrievers_duckdb_retriever-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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}

File hashes

Hashes for llama_index_retrievers_duckdb_retriever-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16f93f738423b47bdb61ac5dd00a7de82ddcea651e1ef4752d158eff52ef98cf
MD5 c0defcf127fe5c971dba86bdede6c592
BLAKE2b-256 001bd5735a732f38cbd3ba419cf5ffed50550ee59a78fc3c21e32a76871e4bd6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page