langchain/libs/partners/qdrant/langchain_qdrant
Anush e002c855bd
qdrant[patch]: Use collection_exists API instead of exceptions (#22764)
## Description

Currently, the Qdrant integration relies on exceptions raised by
[`get_collection`
](https://qdrant.tech/documentation/concepts/collections/#collection-info)
to check if a collection exists.

Using
[`collection_exists`](https://qdrant.tech/documentation/concepts/collections/#check-collection-existence)
is recommended to avoid missing any unhandled exceptions. This PR
addresses this.

## Testing
All integration and unit tests pass. No user-facing changes.
2024-06-13 20:01:32 -07:00
..
__init__.py qdrant: init package (#21146) 2024-05-13 18:20:03 -07:00
_utils.py community, milvus, pinecone, qdrant, mongo: Broadcast operation failure while using simsimd beyond v3.7.7 (#22271) 2024-06-04 17:36:31 +00:00
py.typed qdrant: init package (#21146) 2024-05-13 18:20:03 -07:00
vectorstores.py qdrant[patch]: Use collection_exists API instead of exceptions (#22764) 2024-06-13 20:01:32 -07:00