Skip to main content

llama-index readers string iterable integration

Project description

LlamaIndex Readers Integration: StringIterable

Overview

The StringIterable Reader converts an iterable of strings into a list of documents. It's a simple utility to quickly create documents from a list of text strings.

Installation

You can install String Iterable Reader via pip:

pip install llama-index-readers-string-iterable

Usage

from llama_index.readers.string_iterable import StringIterableReader

# Initialize StringIterableReader
reader = StringIterableReader()

# Load data from an iterable of strings
documents = reader.load_data(
    texts=["I went to the store", "I bought an apple"]
)

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_string_iterable-0.5.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file llama_index_readers_string_iterable-0.5.0.tar.gz.

File metadata

  • Download URL: llama_index_readers_string_iterable-0.5.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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_string_iterable-0.5.0.tar.gz
Algorithm Hash digest
SHA256 99b7a278f17997bf65fcd0ab9fdcbb7325f02a25110900480926a7c10801ac49
MD5 73e55a11537a1de5fa0acc0a76c5b6a4
BLAKE2b-256 64acc012a56e4e1ea20a733f2d0b09cbc2f21e171fa4f5a35e463793831e23aa

See more details on using hashes here.

File details

Details for the file llama_index_readers_string_iterable-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_readers_string_iterable-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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_string_iterable-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5e554a392b52d2bd53db30e82a04ccb7d85fc20895b0e31a3733dc172d52b8a
MD5 6aec0e3605773968b89d91593a650205
BLAKE2b-256 6338be3cf4602074f08247e7846702b2db17d5dad25d81770f5e4056d8c0cccb

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