etld-ai-tools
v3.3.3
Published
ETL-D provides a set of pre-built tools for popular AI frameworks, allowing AI agents to seamlessly interact with our Context-Aware enrichment and finance endpoints.
Readme
AI Tools Documentation
ETL-D provides a set of pre-built tools for popular AI frameworks, allowing AI agents to seamlessly interact with our Context-Aware enrichment and finance endpoints.
Supported Frameworks
Vercel AI SDK
The etld-ai-tools package provides a collection of tools compatible with the Vercel AI SDK.
Installation
npm install etld-ai-toolsUsage
import { allVercelTools } from 'etld-ai-tools';
import { generateText } from 'ai';
const { text } = await generateText({
model: yourModel,
tools: {
...allVercelTools,
},
prompt: 'Parse this address: 1600 Amphitheatre Parkway, Mountain View, CA',
});LangChain
We also provide tools compatible with LangChain's tool system.
Usage
import { allLangChainTools } from 'etld-ai-tools';
import { ChatOpenAI } from "@langchain/openai";
const model = new ChatOpenAI({});
const modelWithTools = model.bindTools(Object.values(allLangChainTools));
const res = await modelWithTools.invoke("Convert 100 USD to EUR on 2023-01-01");Available Tools
The following tools are automatically generated from our OpenAPI specification:
etldDateTool: Transforms human-readable or messy date strings into structured ISO 8601 formats.etldAmountTool: Extracts precise financial data from messy strings.etldNameTool: Deconstructs full name strings into structured components.etldContactTool: Verifies and formats contact details.etldAddressTool: Transforms messy, unstructured address strings into standardized JSON components.etldLegalTool: Performs algorithmic validation for Tax Identification Numbers and IBANs.etldTranslateTool: Universal text translator.etldDedupeTool: Smart deduplication.etldCategorizeTool: Predicts accounting or expense categories.etldSentimentTool: Evaluates emotional tone.etldForexHistoricalTool: Historical currency conversion.etldAccountingMapTool: Maps concepts to standardized international accounting frameworks.- And more... (24 tools in total)
