llama-index-readers-deeplake


Namellama-index-readers-deeplake JSON
Version 0.1.4 PyPI version JSON
download
home_pageNone
Summaryllama-index readers deeplake integration
upload_time2024-05-02 17:09:07
maintaineradolkhan
docs_urlNone
authorYour Name
requires_python<4.0,>=3.8.1
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.8.1",
    "maintainer_email": null,
    "keywords": "deeplake",
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/ff/7c/9ad38dab7979c257d0eade13a9e9d89d669ddf2d5486a71c6fc5336d5551/llama_index_readers_deeplake-0.1.4.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.1.4",
    "project_urls": null,
    "split_keywords": [
        "deeplake"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "30d0baf63e6466fd17c5148b59528483cbffe2ac3695b2439329136111ee36f8",
                "md5": "fc41fbe712d84dc8e95637e10b2dcc42",
                "sha256": "268bf31b8ac93edc2b4eab8e39cafc9a6f0694e17da75d658affc598551e3d49"
            },
            "downloads": -1,
            "filename": "llama_index_readers_deeplake-0.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fc41fbe712d84dc8e95637e10b2dcc42",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8.1",
            "size": 3356,
            "upload_time": "2024-05-02T17:09:06",
            "upload_time_iso_8601": "2024-05-02T17:09:06.648479Z",
            "url": "https://files.pythonhosted.org/packages/30/d0/baf63e6466fd17c5148b59528483cbffe2ac3695b2439329136111ee36f8/llama_index_readers_deeplake-0.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ff7c9ad38dab7979c257d0eade13a9e9d89d669ddf2d5486a71c6fc5336d5551",
                "md5": "bdbcc188a95a2599eaf90e4658cec724",
                "sha256": "e0c58c24f5b0ff080954d30c4263a2b11dbd830c9a9b5d8ec313f21f084327f7"
            },
            "downloads": -1,
            "filename": "llama_index_readers_deeplake-0.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "bdbcc188a95a2599eaf90e4658cec724",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8.1",
            "size": 3021,
            "upload_time": "2024-05-02T17:09:07",
            "upload_time_iso_8601": "2024-05-02T17:09:07.641466Z",
            "url": "https://files.pythonhosted.org/packages/ff/7c/9ad38dab7979c257d0eade13a9e9d89d669ddf2d5486a71c6fc5336d5551/llama_index_readers_deeplake-0.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-02 17:09:07",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-readers-deeplake"
}
        
Elapsed time: 0.22278s