# 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",
)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/langchain-ai/langchain",
"name": "langchain-qdrant",
"maintainer": null,
"docs_url": null,
"requires_python": "<4,>=3.8.1",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/06/4a/5f053342ad4d578d864480c3137d8eff60e359ed252fb5110f69d9c14d9c/langchain_qdrant-0.1.4.tar.gz",
"platform": null,
"description": "# langchain-qdrant\n\nThis package contains the LangChain integration with [Qdrant](https://qdrant.tech/).\n\n## Installation\n\n```bash\npip install -U langchain-qdrant\n```\n\n## Usage\n\nThe `Qdrant` class exposes the connection to the Qdrant vector store.\n\n```python\nfrom langchain_qdrant import Qdrant\n\nembeddings = ... # use a LangChain Embeddings class\n\nvectorstore = Qdrant.from_existing_collection(\n embeddings=embeddings,\n collection_name=\"<COLLECTION_NAME>\",\n url=\"http://localhost:6333\",\n)\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "An integration package connecting Qdrant and LangChain",
"version": "0.1.4",
"project_urls": {
"Homepage": "https://github.com/langchain-ai/langchain",
"Release Notes": "https://github.com/langchain-ai/langchain/releases?q=tag%3A%22langchain-qdrant%3D%3D0%22&expanded=true",
"Repository": "https://github.com/langchain-ai/langchain",
"Source Code": "https://github.com/langchain-ai/langchain/tree/master/libs/partners/qdrant"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b80e6e0a0c76fcf94c5a6cc51af06906f6b9bb5f5f1a446ed326755d49e9a66a",
"md5": "3559dd49079507a80e22e55ae9b95833",
"sha256": "d1e27ddde3867ebcce6ab654afbcc815da24a1621bb49037af653fe28f68f071"
},
"downloads": -1,
"filename": "langchain_qdrant-0.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3559dd49079507a80e22e55ae9b95833",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.8.1",
"size": 23386,
"upload_time": "2024-09-16T17:08:19",
"upload_time_iso_8601": "2024-09-16T17:08:19.409244Z",
"url": "https://files.pythonhosted.org/packages/b8/0e/6e0a0c76fcf94c5a6cc51af06906f6b9bb5f5f1a446ed326755d49e9a66a/langchain_qdrant-0.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "064a5f053342ad4d578d864480c3137d8eff60e359ed252fb5110f69d9c14d9c",
"md5": "49ad07a916024eeb6d9d18cae0ebdbb3",
"sha256": "4b2626d80549902ffb3b63e7563e0abb59d8b1b74826f160c140bb6b59647d83"
},
"downloads": -1,
"filename": "langchain_qdrant-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "49ad07a916024eeb6d9d18cae0ebdbb3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.8.1",
"size": 21410,
"upload_time": "2024-09-16T17:08:20",
"upload_time_iso_8601": "2024-09-16T17:08:20.970579Z",
"url": "https://files.pythonhosted.org/packages/06/4a/5f053342ad4d578d864480c3137d8eff60e359ed252fb5110f69d9c14d9c/langchain_qdrant-0.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-16 17:08:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "langchain-ai",
"github_project": "langchain",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "langchain-qdrant"
}