langchain/libs/community/tests/integration_tests/vectorstores/qdrant
Mayank Solanki 8c085fc697
community[patch]: Added a function from_existing_collection in Qdrant vector database. (#20779)
Issue: #20514 
The current implementation of `construct_instance` expects a `texts:
List[str]` that will call the embedding function. This might not be
needed when we already have a client with collection and `path, you
don't want to add any text.

This PR adds a class method that returns a qdrant instance with an
existing client.

Here everytime
cb6e5e56c2/libs/community/langchain_community/vectorstores/qdrant.py (L1592)
`construct_instance` is called, this line sends some text for embedding
generation.

---------

Co-authored-by: Anush <anushshetty90@gmail.com>
2024-04-26 15:34:09 -07:00
..
async_api
__init__.py
common.py infra: add -p to mkdir in lint steps (#17013) 2024-02-05 11:22:06 -08:00
fixtures.py
test_add_texts.py
test_delete.py
test_embedding_interface.py
test_from_existing_collection.py community[patch]: Added a function from_existing_collection in Qdrant vector database. (#20779) 2024-04-26 15:34:09 -07:00
test_from_texts.py
test_max_marginal_relevance.py
test_similarity_search.py