A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://python.langchain.com/docs/integrations/document_loaders/modern_treasury/ below:

Modern Treasury | 🦜️🔗 LangChain

Modern Treasury

Modern Treasury simplifies complex payment operations. It is a unified platform to power products and processes that move money.

This notebook covers how to load data from the Modern Treasury 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 ModernTreasuryLoader

The Modern Treasury API requires an organization ID and API key, which can be found in the Modern Treasury dashboard within developer settings.

This document loader also requires a resource option which defines what data you want to load.

Following resources are available:

payment_orders Documentation

expected_payments Documentation

returns Documentation

incoming_payment_details Documentation

counterparties Documentation

internal_accounts Documentation

external_accounts Documentation

transactions Documentation

ledgers Documentation

ledger_accounts Documentation

ledger_transactions Documentation

events Documentation

invoices Documentation

modern_treasury_loader = ModernTreasuryLoader("payment_orders")



index = VectorstoreIndexCreator().from_loaders([modern_treasury_loader])
modern_treasury_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