Skip to main content

llama-index readers steamship integration

Project description

LlamaIndex Readers Integration: SteamshipFile

Overview

The SteamshipFile Reader allows you to load documents from persistent Steamship Files. Steamship is a platform for storing and managing files with advanced tagging capabilities.

For more detailed information about the SteamshipFile Reader, visit SteamShip.

Installation

You can install the SteamshipFile Reader via pip:

pip install llama-index-readers-steamship

This reader requires steamship API key, which can be acquired from SteamShip.

Usage

from llama_index.readers.steamship import SteamshipFileReader

# Initialize SteamshipFileReader
reader = SteamshipFileReader(api_key="<Steamship API Key>")

# Load data from persistent Steamship Files
documents = reader.load_data(
    workspace="<Steamship Workspace>",
    query="<Steamship Tag Query>",
    file_handles=["smooth-valley-9kbdr"],
    collapse_blocks=True,
    join_str="\n\n",
)

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.

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_steamship-0.4.0.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_steamship-0.4.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_steamship-0.4.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_steamship-0.4.0.tar.gz
Algorithm Hash digest
SHA256 a9d68d1f9a9099d7f5d1e322993a96c790401d36bea79bbe1658954f98e21774
MD5 b2d94364460f4d197fdb601605a74412
BLAKE2b-256 22b040de8189ff0cc0431c3a9633a8b49741ba748f83a6915d32e27e713bd3db

See more details on using hashes here.

File details

Details for the file llama_index_readers_steamship-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_readers_steamship-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7bf0e9e1bb9c12e96c863fec3107e025f90a858c3ee7337a01e434d8d5fd258
MD5 22780b55405c9a19d7664f38addc01af
BLAKE2b-256 07f40c68abf12abec638669d5ee5175ae4d1ff206dafb690561aecec6c618e37

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