Skip to main content

llama-index readers hive integration

Project description

Hive Loader

pip install llama-index-readers-hive

The Hive Loader returns a set of texts corresponding to documents from Hive based on the customized query. The user initializes the loader with Hive connection args and then using query to fetch data from Hive.

Usage

Here's an example usage of the hiveReader to load 100 documents.

from llama_index.readers.hive import HiveReader

reader = HiveReader(
    host="localhost",
    port=10000,
    database="PERSON_DB",
    username="hiveuser_test",
    auth="NOSASL",
)

query = "SELECT * FROM p1 LIMIT 100"
documents = reader.load_data(query=query)

This loader is designed to be used as a way to load data into LlamaIndex.

Project details


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_hive-0.3.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

llama_index_readers_hive-0.3.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_hive-0.3.0.tar.gz.

File metadata

  • Download URL: llama_index_readers_hive-0.3.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0

File hashes

Hashes for llama_index_readers_hive-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1d0191341c2a631ae7b69ee3623eff4618ac572f62d3fe55464ba14587200f70
MD5 b5fcba453e203af1c61a8894719bf210
BLAKE2b-256 88d96162bb4507b02722f48ffac207111308f8749bf23e8e30b7ac52b54206e5

See more details on using hashes here.

File details

Details for the file llama_index_readers_hive-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_readers_hive-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b4d4e74560f6d0006c26d5341ad7c3575383073885e344ae86d6d252aa4edfb5
MD5 5c6d8fb29436806d2cde3074abc60e6a
BLAKE2b-256 41b0040f57c29a63bb943c1bd229a671f391a86584292491d110917724bd551e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page