Skip to main content

llama-index readers pathway integration

Project description

LlamaIndex Readers Integration: Pathway

Overview

Pathway Reader is a utility class for retrieving documents from the Pathway data indexing pipeline. It queries the Pathway vector store to get the closest neighbors of a given text query.

Installation

You can install Pathway Reader via pip:

pip install llama-index-readers-pathway

Usage

from llama_index.readers.pathway import PathwayReader

# Initialize PathwayReader with the URI and port of the Pathway server
reader = PathwayReader(host="<Pathway Host>", port="<Port>")

# Load data from Pathway
documents = reader.load_data(
    query_text="<Query Text>",  # The text to get the closest neighbors of
    k=4,  # Number of results to return
    metadata_filter="<Metadata Filter>",  # Filter to be applied
)

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_pathway-0.4.1.tar.gz (4.6 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_pathway-0.4.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_pathway-0.4.1.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_pathway-0.4.1.tar.gz
Algorithm Hash digest
SHA256 dd4221079cacee895ddda5f5464abc57b7d48dbd7b4ce61c24ba90d3b03ed69a
MD5 bb5ce81a45792c9d687aafda5e133659
BLAKE2b-256 23e8360a6289290b66f5fdb2db94d31bc66282186fd0880ffebc99ba0d4885bb

See more details on using hashes here.

File details

Details for the file llama_index_readers_pathway-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_readers_pathway-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 43755c910367059334169ea56eba6c4c2fc10336909d9d911a7f3b1958a46cea
MD5 4bbc6ea6fdf89149466444afe51bcc8d
BLAKE2b-256 d02944a26eb92833932cc45787693ecfa961581cded7bc7d7c0f0f4b4763ef34

See more details on using hashes here.

Supported by

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