llama-index-readers-deeplake


Namellama-index-readers-deeplake JSON
Version 0.3.0 PyPI version JSON
download
home_pageNone
Summaryllama-index readers deeplake integration
upload_time2024-11-18 00:17:35
maintaineradolkhan
docs_urlNone
authorYour Name
requires_python<4.0,>=3.9
licenseMIT
keywords deeplake
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # LlamaIndex Readers Integration: Deeplake

## Overview

DeepLake Reader is a tool designed to retrieve documents from existing DeepLake datasets efficiently.

### Installation

You can install DeepLake Reader via pip:

```bash
pip install llama-index-readers-deeplake
```

To use Deeplake Reader, you must have an API key. Here are the [installation instructions](https://docs.activeloop.ai/storage-and-credentials/user-authentication)

## Usage

```python
from llama_index.core.schema import Document
from llama_index.readers.deeplake import DeepLakeReader

# Initialize DeepLakeReader with the token
reader = DeepLakeReader(token="<Your DeepLake Token>")

# Load data from DeepLake
documents = reader.load_data(
    query_vector=[0.1, 0.2, 0.3],  # Query vector
    dataset_path="<Path to Dataset>",  # Path to the DeepLake dataset
    limit=4,  # Number of results to return
    distance_metric="l2",  # Distance metric
)
```

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-deeplake",
    "maintainer": "adolkhan",
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": "deeplake",
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/c5/7f/616c79e1f3be4ae3bfce4ed6ae0d5b9c9dc796ba5abe93b3f6c367561f7f/llama_index_readers_deeplake-0.3.0.tar.gz",
    "platform": null,
    "description": "# LlamaIndex Readers Integration: Deeplake\n\n## Overview\n\nDeepLake Reader is a tool designed to retrieve documents from existing DeepLake datasets efficiently.\n\n### Installation\n\nYou can install DeepLake Reader via pip:\n\n```bash\npip install llama-index-readers-deeplake\n```\n\nTo use Deeplake Reader, you must have an API key. Here are the [installation instructions](https://docs.activeloop.ai/storage-and-credentials/user-authentication)\n\n## Usage\n\n```python\nfrom llama_index.core.schema import Document\nfrom llama_index.readers.deeplake import DeepLakeReader\n\n# Initialize DeepLakeReader with the token\nreader = DeepLakeReader(token=\"<Your DeepLake Token>\")\n\n# Load data from DeepLake\ndocuments = reader.load_data(\n    query_vector=[0.1, 0.2, 0.3],  # Query vector\n    dataset_path=\"<Path to Dataset>\",  # Path to the DeepLake dataset\n    limit=4,  # Number of results to return\n    distance_metric=\"l2\",  # Distance metric\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 deeplake integration",
    "version": "0.3.0",
    "project_urls": null,
    "split_keywords": [
        "deeplake"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "59b707878771be1a16b6265edc9e8fd61c75147f28d3c0e41c46dd46a99e97b3",
                "md5": "baee3bbc7efcd6302ea89a913e141339",
                "sha256": "3f34dc356c9545e0a1df3758f937c70d8ed391ec242bb42c150e93e441a13f13"
            },
            "downloads": -1,
            "filename": "llama_index_readers_deeplake-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "baee3bbc7efcd6302ea89a913e141339",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 3357,
            "upload_time": "2024-11-18T00:17:33",
            "upload_time_iso_8601": "2024-11-18T00:17:33.554838Z",
            "url": "https://files.pythonhosted.org/packages/59/b7/07878771be1a16b6265edc9e8fd61c75147f28d3c0e41c46dd46a99e97b3/llama_index_readers_deeplake-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c57f616c79e1f3be4ae3bfce4ed6ae0d5b9c9dc796ba5abe93b3f6c367561f7f",
                "md5": "11c0775a277046c0c38235d7e3a87183",
                "sha256": "259cce770a2964d671911b57603f852dad605678df140fd2e8a46c47c4ef5720"
            },
            "downloads": -1,
            "filename": "llama_index_readers_deeplake-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "11c0775a277046c0c38235d7e3a87183",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 3072,
            "upload_time": "2024-11-18T00:17:35",
            "upload_time_iso_8601": "2024-11-18T00:17:35.139983Z",
            "url": "https://files.pythonhosted.org/packages/c5/7f/616c79e1f3be4ae3bfce4ed6ae0d5b9c9dc796ba5abe93b3f6c367561f7f/llama_index_readers_deeplake-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-18 00:17:35",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-readers-deeplake"
}
        
Elapsed time: 0.66740s