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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_retrievers_mongodb_atlas_bm25_retriever-0.4.0.tar.gz.
File metadata
- Download URL: llama_index_retrievers_mongodb_atlas_bm25_retriever-0.4.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
046087d3f482445066cfdb88153baacfff68da74991190ef7acb42fd10a0bd72
|
|
| MD5 |
34591f83d0a0f14f73329fbdcde37e87
|
|
| BLAKE2b-256 |
9df08a5fe6701373dc065a2d758f58b2ed20d617c054e777f696d861bdc7afce
|
File details
Details for the file llama_index_retrievers_mongodb_atlas_bm25_retriever-0.4.0-py3-none-any.whl.
File metadata
- Download URL: llama_index_retrievers_mongodb_atlas_bm25_retriever-0.4.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f51dda76e9d28a20ea532973fbc14dfe965b8c21afc124f783c17d00302f520
|
|
| MD5 |
38fae279c77453da66c1b06a0915dc93
|
|
| BLAKE2b-256 |
5a52bffb1a9f5fdf5f8bae0d026360a1eecaef11e7b23211058a41731db174b4
|