Skip to main content

llama-index readers jaguar integration

Project description

LlamaIndex Readers Integration: Jaguar

Overview

Jaguar Reader retrieves documents from an existing persisted Jaguar store. These documents can then be used in a downstream LlamaIndex data structure.

Installation

You can install Jaguar Reader via pip:

pip install llama-index-readers-jaguar

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

Usage

from llama_index.readers.jaguar import JaguarReader

# Initialize JaguarReader
reader = JaguarReader(
    pod="<Pod Name>",
    store="<Store Name>",
    vector_index="<Vector Index Name>",
    vector_type="<Vector Type>",
    vector_dimension="<Vector Dimension>",
    url="<Endpoint URL>",
)

# Login to Jaguar server
reader.login(jaguar_api_key="<Jaguar API Key>")

# Load data from Jaguar
documents = reader.load_data(
    embedding="<Embedding Vector>",
    k=10,
    metadata_fields=["<Metadata Field 1>", "<Metadata Field 2>"],
    where="<Query Condition>",
)

# Logout from Jaguar server
reader.logout()

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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for llama_index_readers_jaguar-0.3.0.tar.gz
Algorithm Hash digest
SHA256 cea011ecc4dc28d99bcdc92820f4677800da045cb224e44d43993fdabc0ce3ba
MD5 767e8282638e3139afd453ce6f5b8297
BLAKE2b-256 ed8bf1751f7bd247c1b800850597d0c8bb9603042fbd258e14d7303b915b82a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_jaguar-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c10e8e525d4b83baf7798fadabefe186dceaa7a6d80ff24b6e42fe347d567b3
MD5 bed124e7c7fb250d4735867028741cec
BLAKE2b-256 e351107e28161d99a56731e11377b7226236c58f3345aa7b5db47469b2a93d29

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