Skip to main content

llama-index retrievers mongodb-atlas-bm25-retriever integration

Project description

LlamaIndex Retrievers Integration: MongoDBAtlasBM25Retriever

What is this?

This is a BM25 Retriever for MongoDB Atlas that can be used with LlamaIndex.

How to use

This was created with reference to MongoDBAtlasVectorSearch, so it's mostly the same.

Please refer to that.

However, while MongoDBAtlasVectorSearch is an VectorStore, MongoDBAtlasBM25Retriever is a Retriever.

MongoDBAtlasBM25Retriever Example:

mongodb_client = pymongo.MongoClient(mongo_uri)

retriever = MongoDBAtlasBM25Retriever(
    mongodb_client=mongodb_client,
    db_name="vectorstore",
    collection_name="vector_collection",
    index_name="index_vector_collection",
)
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_mongodb_atlas_bm25_retriever-0.5.0.tar.gz.

File metadata

  • Download URL: llama_index_retrievers_mongodb_atlas_bm25_retriever-0.5.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_mongodb_atlas_bm25_retriever-0.5.0.tar.gz
Algorithm Hash digest
SHA256 fb41aa6883f756c64b9ec5aee7b3caff24c2cea2cf9435c24d6f0a29d535095c
MD5 e7aa81f1afc1f9053510960df6ca749d
BLAKE2b-256 3198eb7abdefd52f7bd0f8544f132a01d3453dcad991681dcf258717a8428d36

See more details on using hashes here.

File details

Details for the file llama_index_retrievers_mongodb_atlas_bm25_retriever-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_retrievers_mongodb_atlas_bm25_retriever-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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_mongodb_atlas_bm25_retriever-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16a2e929a768cfa9034f8dc44df299b7f115f189b011cc31aef39a22e084bfdf
MD5 1b8f6b0695fed33911fc4d6087cd57f4
BLAKE2b-256 bedd26b72a633aab01c9f4d3a3b2ad402067913f4576ac51936e0ca98897d68a

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