utilities
#
Utilities are the integrations with third-part systems and packages.
Other LangChain classes use Utilities to interact with third-part systems and packages.
Classes
Wrapper for AlphaVantage API for Currency Exchange Rate. |
|
Wrapper around Apify. |
|
Arcee document. |
|
Adapter for Arcee documents |
|
Source of an Arcee document. |
|
|
Routes available for the Arcee API as enumerator. |
|
Wrapper for Arcee API. |
Filters available for a DALM retrieval and generation. |
|
|
Filter types available for a DALM retrieval as enumerator. |
Wrapper around ArxivAPI. |
|
Wrapper for AskNews API. |
|
|
Setup mode for AstraDBEnvironment as enumerator. |
Wrapper for AWS Lambda SDK. |
|
Wrapper around bibtexparser. |
|
Wrapper for Bing Web Search API. |
|
Wrapper around the Brave search engine. |
|
|
|
Apache Cassandra® database wrapper. |
|
Exception raised for errors in the database schema. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
|
Component class for a list. |
Wrapper for Clickup API. |
|
Base class for all components. |
|
|
Component class for a member. |
|
Component class for a space. |
|
Class for a task. |
|
Component class for a team. |
Wrapper for OpenAI's DALL-E Image Generator. |
|
Wrapper around the DataForSeo API. |
|
Wrapper for Dataherald. |
|
|
Wrapper around Dria API. |
Wrapper for DuckDuckGo Search API. |
|
Wrapper for financial datasets API. |
|
Wrapper for GitHub API. |
|
Wrapper for GitLab API. |
|
Wrapper for Golden. |
|
Wrapper for SerpApi's Google Finance API |
|
Wrapper for SerpApi's Google Scholar API |
|
Wrapper for SerpApi's Google Lens API |
|
Wrapper for Google Scholar API |
|
Wrapper around the Serper.dev Google Search API. |
|
Wrapper for SerpApi's Google Scholar API |
|
Wrapper around GraphQL API. |
|
Wrapper for Infobip API for messaging. |
|
Wrapper around the Jina search engine. |
|
Wrapper for Jira API. |
|
Interface for querying Alibaba Cloud MaxCompute tables. |
|
Wrapper for Merriam-Webster. |
|
Wrapper for Metaphor Search API. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
Wrapper for NASA API. |
|
alias of |
|
|
A message containing streaming audio. |
alias of |
|
alias of |
|
alias of |
|
A runnable that performs Automatic Speech Recognition (ASR) using NVIDIA Riva. |
|
An enum of the possible choices for Riva audio encoding. |
|
Configuration for the authentication to a Riva service connection. |
|
A collection of common Riva settings. |
|
A runnable that performs Text-to-Speech (TTS) with NVIDIA Riva. |
|
An empty Sentinel type. |
|
|
Enumerator of the HTTP verbs. |
OpenAPI Model that removes mis-formatted parts of the spec. |
|
Wrapper for OpenWeatherMap API using PyOWM. |
|
|
Get Summary :param conn: Oracle Connection, :param params: Summary parameters, :param proxy: Proxy |
Wrapper around OutlineAPI. |
|
Manage the token for the NutritionAI API. |
|
Mixin to prevent storing on disk. |
|
Wrapper for the Passio Nutrition AI API. |
|
Pebblo AI application. |
|
Pebblo document. |
|
Pebblo Framework instance. |
|
Pebblo Indexed Document. |
|
Wrapper for Pebblo Loader API. |
|
|
Routes available for the Pebblo API as enumerator. |
Pebblo Runtime. |
|
Wrapper for Polygon API. |
|
Portkey configuration. |
|
Create PowerBI engine from dataset ID and credential or token. |
|
Wrapper around PubMed API. |
|
Wrapper for Reddit API |
|
|
Escape punctuation within an input string. |
Wrapper for Rememberizer APIs. |
|
Lightweight wrapper around requests library. |
|
Lightweight wrapper around requests library, with async support. |
|
Wrapper around requests to handle auth and async. |
|
alias of |
|
Lightweight wrapper around requests library, with async support. |
|
Wrapper for SceneXplain API. |
|
Wrapper around SearchApi API. |
|
Dict like wrapper around search api results. |
|
Wrapper for Searx API. |
|
Wrapper around semanticscholar.org API. |
|
Context manager to hide prints. |
|
Wrapper around SerpAPI. |
|
|
SparkSQL is a utility class for interacting with Spark SQL. |
|
SQLAlchemy wrapper around a database. |
Wrapper for Stack Exchange API. |
|
Wrapper for Steam API. |
|
Wrapper for Tavily Search API. |
|
Access to the TensorFlow Datasets. |
|
Messaging Client using Twilio. |
|
Wrapper around the Wikidata API. |
|
Wrapper around WikipediaAPI. |
|
Wrapper for Wolfram Alpha. |
|
Output from you.com API. |
|
Output of parsing one snippet. |
|
A single hit from you.com, which may contain multiple snippets |
|
Metadata on a single hit from you.com |
|
Wrapper for you.com Search and News API. |
|
Wrapper for Zapier NLA. |
Functions
Get the number of tokens in a string of text. |
|
Get the token ids for a string of text. |
|
|
Execute a CQL query asynchronously. |
Wrap a Cassandra response future in an asyncio future. |
|
|
Extract elements from a dictionary. |
|
Fetch data from a URL. |
|
Fetch the first id from a dictionary. |
|
Fetch the folder id. |
|
Fetch the list id. |
|
Fetch the space id. |
|
Fetch the team id. |
|
Parse a JSON string and return the parsed object. |
Parse a dictionary by creating a component and then turning it back into a dictionary. |
|
Restore the original sensitive data from the sanitized text. |
|
Sanitize input string or dict of strings by replacing sensitive data with placeholders. |
|
Check if a HTTP response is retryable. |
|
Calculate the content size in bytes: - Encode the string to bytes using a specific encoding (e.g., UTF-8) - Get the length of the encoded bytes. |
|
Generate batches of documents based on page_content size. |
|
Fetch owner of local file path. |
|
Return an absolute local path for a local file/directory, for a network related path, return as is. |
|
Fetch local runtime ip address. |
|
Return an absolute source path of source of loader based on the keys present in Document. |
|
|
Return loader type among, file, dir or in-memory. |
Fetch the current Framework and Runtime details. |
|
|
Fetch size of source path. |
Add single quotes around table names that contain spaces. |
|
|
Convert a JSON object to a markdown table. |
Check if the correct Redis modules are installed. |
|
|
Get a redis client from the connection url given. |
|
Truncate a string to a certain number of words, based on the max string length. |
Create a retry decorator for Vertex / Palm LLMs. |
|
|
Return a custom user agent header. |
|
Init Vertex AI. |
Load an image from Google Cloud Storage. |
|
Raise ImportError related to Vertex SDK being not available. |
Deprecated classes
Deprecated since version 0.0.33: Use |
|
Deprecated since version 0.0.33: Use |