Update mongodb_atlas.py docstrings (#8033)

Hi all, I just added the "index_name" parameter to the docstrings for
mongodb_atlas.py (it is missing in the [public doc
page](https://api.python.langchain.com/en/latest/vectorstores/langchain.vectorstores.mongodb_atlas.MongoDBAtlasVectorSearch.html#langchain-vectorstores-mongodb-atlas-mongodbatlasvectorsearch).

Thanks
This commit is contained in:
Paolo Picello 2023-07-21 02:35:07 +02:00 committed by GitHub
parent 9226fda58b
commit 5137f40dd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,6 +69,7 @@ class MongoDBAtlasVectorSearch(VectorStore):
document. document.
embedding_key: MongoDB field that will contain the embedding for embedding_key: MongoDB field that will contain the embedding for
each document. each document.
index_name: Name of the Atlas Search index.
""" """
self._collection = collection self._collection = collection
self._embedding = embedding self._embedding = embedding