forked from Archives/langchain
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47c3221fda
Implementation fails if there are not enough documents. Added the same check as used for similarity search. Current implementation raises ``` File ".venv/lib/python3.9/site-packages/langchain/vectorstores/faiss.py", line 160, in max_marginal_relevance_search _id = self.index_to_docstore_id[i] KeyError: -1 ``` |
1 year ago | |
---|---|---|
.. | ||
__init__.py | 1 year ago | |
base.py | 1 year ago | |
chroma.py | 1 year ago | |
elastic_vector_search.py | 1 year ago | |
faiss.py | 1 year ago | |
milvus.py | 1 year ago | |
pinecone.py | 1 year ago | |
qdrant.py | 1 year ago | |
utils.py | 2 years ago | |
weaviate.py | 1 year ago |