Our new LangChain Academy Course Deep Research with LangGraph is now live!
Enroll for free.
StripeStripe is an Irish-American financial services and software as a service (SaaS) company. It offers payment-processing software and application programming interfaces for e-commerce websites and mobile applications.
This notebook covers how to load data from the Stripe REST API
into a format that can be ingested into LangChain, along with example usage for vectorization.
from langchain.indexes import VectorstoreIndexCreator
from langchain_community.document_loaders import StripeLoader
The Stripe API requires an access token, which can be found inside of the Stripe dashboard.
This document loader also requires a resource
option which defines what data you want to load.
Following resources are available:
balance_transations
Documentation
charges
Documentation
customers
Documentation
events
Documentation
refunds
Documentation
disputes
Documentation
stripe_loader = StripeLoader("charges")
index = VectorstoreIndexCreator().from_loaders([stripe_loader])
stripe_doc_retriever = index.vectorstore.as_retriever()
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4