New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

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

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

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

  • 0.3.0
  • PyPI
  • Socket score

Maintainers
1

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc