Skip to main content

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:

pip install llama-index-readers-deeplake

To use Deeplake Reader, you must have an API key. Here are the installation instructions

Usage

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 and/or subsequently used as a Tool in a LangChain Agent.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_readers_deeplake-0.6.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_readers_deeplake-0.6.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_deeplake-0.6.0.tar.gz.

File metadata

  • Download URL: llama_index_readers_deeplake-0.6.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_deeplake-0.6.0.tar.gz
Algorithm Hash digest
SHA256 2cdc51703fee32040a495a1116f197e8a0784ab9eb0285d840ccd8226e3a863b
MD5 8198b9b312bf1a7bb8934f33fd77115c
BLAKE2b-256 f08d38368c4c3c0754db957820aef50654c38f928c4127fe08aeceb4ba2c8360

See more details on using hashes here.

File details

Details for the file llama_index_readers_deeplake-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_readers_deeplake-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_deeplake-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 512f77f754cd518e3ba66dd924d2c60e526df572f8f8844c2708bfd69c787d22
MD5 b6bb1005fe4e053d8303ff3222b2c8b9
BLAKE2b-256 0815c850ad604fa3d0c1882bb6256ba5299d9d4ca53cb363c81bc06a1dcbc8d7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page