Skip to main content

StripeDocs Loader

pip install llama-index-readers-stripe-docs

This loader asynchronously loads data from the Stripe documentation. It iterates through the Stripe sitemap to get all /docs references.

It is based on the Async Website Loader.

Usage

from llama_index.core import VectorStoreIndex
from llama_index.readers.stripe_docs import StripeDocsReader

loader = StripeDocsReader()
documents = loader.load_data()

index = VectorStoreIndex.from_documents(documents)

query_engine = index.as_query_engine()
query_engine.query("How do I accept payments on my website?")

The StripeDocsReader allows you to return plain text docs by setting html_to_text=True. You can also adjust the maximum concurrent requests by setting limit=10.

Filtering

You can filter pages from the Stripe sitemap by adding the filters argument to the load_data method. This allows you to control what pages from the Stripe website, including documentation, will be loaded.

The default filters are set to ["/docs"] to scope everything to docs only.

documents = loader.load_data(filters=["/terminal"])

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_stripe_docs-0.5.1.tar.gz (15.9 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_stripe_docs-0.5.1-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_stripe_docs-0.5.1.tar.gz.

File metadata

  • Download URL: llama_index_readers_stripe_docs-0.5.1.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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_stripe_docs-0.5.1.tar.gz
Algorithm Hash digest
SHA256 b7a8c07588188258c9b2a0ea8d9f18aea1d8ff1f171dc171e94b1a16124ed447
MD5 66cf142fbdcea22e15be445d99e86f3a
BLAKE2b-256 18e6625936cc4f6df6bfa52bcd35c3b2e530775d771553baccd6011b1bd7fd90

See more details on using hashes here.

File details

Details for the file llama_index_readers_stripe_docs-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: llama_index_readers_stripe_docs-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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_stripe_docs-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4aa81093aa4800e69d10a26c23a94692291378e7079f7d6656b511cb1f4b2bf
MD5 9da2fa8b19623ee535797836caf45dd9
BLAKE2b-256 6da2801cda340db9e681b6fee68eb4dba89f8161538824455187ca6dca4666b7

See more details on using hashes here.

Release history Release notifications | RSS feed

0.6.0

2 files

This release

0.5.1 This release

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page