Spaces:
Runtime error
Runtime error
File size: 503 Bytes
ed4d993 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# langchain-qdrant
This package contains the LangChain integration with [Qdrant](https://qdrant.tech/).
## Installation
```bash
pip install -U langchain-qdrant
```
## Usage
The `Qdrant` class exposes the connection to the Qdrant vector store.
```python
from langchain_qdrant import Qdrant
embeddings = ... # use a LangChain Embeddings class
vectorstore = Qdrant.from_existing_collection(
embeddings=embeddings,
collection_name="<COLLECTION_NAME>",
url="http://localhost:6333",
)
```
|