Name | llama-index-readers-qdrant JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | llama-index readers qdrant integration |
upload_time | 2024-08-22 06:52:35 |
maintainer | kacperlukawski |
docs_url | None |
author | Your Name |
requires_python | <4.0,>=3.9 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# LlamaIndex Readers Integration: Qdrant
## Overview
The Qdrant Reader allows you to retrieve documents from existing Qdrant collections. Qdrant is a similarity search engine that helps you efficiently search and retrieve similar items from large datasets based on vector embeddings.
For more detailed information about Qdrant, visit [Qdrant](qdrant.io)
### Installation
You can install the Qdrant Reader via pip:
```bash
pip install llama-index-readers-qdrant
```
### Usage
```python
from llama_index.readers.qdrant import QdrantReader
# Initialize QdrantReader
reader = QdrantReader(
location="<Qdrant Location>",
url="<Qdrant URL>",
port="<Port>",
grpc_port="<gRPC Port>",
prefer_grpc="<Prefer gRPC>",
https="<Use HTTPS>",
api_key="<API Key>",
prefix="<URL Prefix>",
timeout="<Timeout>",
host="<Host>",
)
# Load data from Qdrant
documents = reader.load_data(
collection_name="<Collection Name>",
query_vector=[0.1, 0.2, 0.3],
should_search_mapping={"text_field": "text"},
must_search_mapping={"text_field": "text"},
must_not_search_mapping={"text_field": "text"},
rang_search_mapping={"text_field": {"gte": 0.1, "lte": 0.2}},
limit=10,
)
```
This loader is designed to be used as a way to load data into
[LlamaIndex](https://github.com/run-llama/llama_index/tree/main/llama_index) and/or subsequently
used as a Tool in a [LangChain](https://github.com/hwchase17/langchain) Agent.
Raw data
{
"_id": null,
"home_page": null,
"name": "llama-index-readers-qdrant",
"maintainer": "kacperlukawski",
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/dd/6f/a04a7920fe7d1fc9d79895b8749bc6d16bbd5bd6d4ce60b3e94dde930421/llama_index_readers_qdrant-0.2.0.tar.gz",
"platform": null,
"description": "# LlamaIndex Readers Integration: Qdrant\n\n## Overview\n\nThe Qdrant Reader allows you to retrieve documents from existing Qdrant collections. Qdrant is a similarity search engine that helps you efficiently search and retrieve similar items from large datasets based on vector embeddings.\n\nFor more detailed information about Qdrant, visit [Qdrant](qdrant.io)\n\n### Installation\n\nYou can install the Qdrant Reader via pip:\n\n```bash\npip install llama-index-readers-qdrant\n```\n\n### Usage\n\n```python\nfrom llama_index.readers.qdrant import QdrantReader\n\n# Initialize QdrantReader\nreader = QdrantReader(\n location=\"<Qdrant Location>\",\n url=\"<Qdrant URL>\",\n port=\"<Port>\",\n grpc_port=\"<gRPC Port>\",\n prefer_grpc=\"<Prefer gRPC>\",\n https=\"<Use HTTPS>\",\n api_key=\"<API Key>\",\n prefix=\"<URL Prefix>\",\n timeout=\"<Timeout>\",\n host=\"<Host>\",\n)\n\n# Load data from Qdrant\ndocuments = reader.load_data(\n collection_name=\"<Collection Name>\",\n query_vector=[0.1, 0.2, 0.3],\n should_search_mapping={\"text_field\": \"text\"},\n must_search_mapping={\"text_field\": \"text\"},\n must_not_search_mapping={\"text_field\": \"text\"},\n rang_search_mapping={\"text_field\": {\"gte\": 0.1, \"lte\": 0.2}},\n limit=10,\n)\n```\n\nThis loader is designed to be used as a way to load data into\n[LlamaIndex](https://github.com/run-llama/llama_index/tree/main/llama_index) and/or subsequently\nused as a Tool in a [LangChain](https://github.com/hwchase17/langchain) Agent.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "llama-index readers qdrant integration",
"version": "0.2.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6b9094288de4cb2265662181e219d6b19d834026752fd4954ef5640033f6746d",
"md5": "8e0f957d4a98077b0de856fd75ae9844",
"sha256": "d2fa8e94ad984e7048d249bb23c0dfacd4450e45f9b4e887d5600a2cfdf56f48"
},
"downloads": -1,
"filename": "llama_index_readers_qdrant-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8e0f957d4a98077b0de856fd75ae9844",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 4109,
"upload_time": "2024-08-22T06:52:34",
"upload_time_iso_8601": "2024-08-22T06:52:34.120167Z",
"url": "https://files.pythonhosted.org/packages/6b/90/94288de4cb2265662181e219d6b19d834026752fd4954ef5640033f6746d/llama_index_readers_qdrant-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dd6fa04a7920fe7d1fc9d79895b8749bc6d16bbd5bd6d4ce60b3e94dde930421",
"md5": "f501ffdf5dfb1e3c36d55be31c8dbf5e",
"sha256": "92d37f030855a5707edfbd8053e27f47cd2fa0cf5cdfdc1a44bd785177659988"
},
"downloads": -1,
"filename": "llama_index_readers_qdrant-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "f501ffdf5dfb1e3c36d55be31c8dbf5e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 3845,
"upload_time": "2024-08-22T06:52:35",
"upload_time_iso_8601": "2024-08-22T06:52:35.358004Z",
"url": "https://files.pythonhosted.org/packages/dd/6f/a04a7920fe7d1fc9d79895b8749bc6d16bbd5bd6d4ce60b3e94dde930421/llama_index_readers_qdrant-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-22 06:52:35",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-readers-qdrant"
}