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.
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>
5 months ago
..
async_api community[patch]: Correct the calling to collection_name in qdrant (#16920) 8 months ago
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
common.py infra: add -p to mkdir in lint steps (#17013) 8 months ago
fixtures.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
test_add_texts.py community[patch]: Correct the calling to collection_name in qdrant (#16920) 8 months ago
test_delete.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
test_embedding_interface.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
test_from_existing_collection.py community[patch]: Added a function `from_existing_collection` in `Qdrant` vector database. (#20779) 5 months ago
test_from_texts.py community[patch]: Correct the calling to collection_name in qdrant (#16920) 8 months ago
test_max_marginal_relevance.py community[patch]: Correct the calling to collection_name in qdrant (#16920) 8 months ago
test_similarity_search.py community[patch]: Correct the calling to collection_name in qdrant (#16920) 8 months ago