Reference documentation for the langchain-community package.
Cache that stores things in memory.
SQLite table for full LLM Cache (all generations).
Cache that uses SQAlchemy as a backend.
Cache that uses SQLite as a backend.
Cache that uses Upstash Redis as a backend.
Cache that uses Redis as a backend. Allows to use a sync redis.Redis client.
Cache that uses Redis as a backend. Allows to use an
Cache that uses Redis as a vector-store backend.
Cache that uses GPTCache as a backend.
Cache that uses Momento as a backend. See https://gomomento.com/
Cache that uses Cassandra / Astra DB as a backend.
Cache that uses Cassandra as a vector-store backend for semantic
SQLite table for full LLM Cache (all generations).
Cache that uses SQAlchemy as a backend.
Cache that uses Cosmos DB Mongo vCore vector-store backend
Cache that uses Cosmos DB NoSQL backend
Cache that uses OpenSearch vector store backend
Cache that uses Memcached backend through pymemcache client lib
Load web pages as Documents using Spider AI.
WebBaseLoader document loader integration
Load RST files using Unstructured.
Load a file from Microsoft OneDrive.
Load Twitter tweets.
Load HTML asynchronously.
Load documents from AWS Athena.
Load from Tencent Cloud COS directory.
Load with Brave Search engine.
Load Markdown files using Unstructured.
Load Org-Mode files using Unstructured.
Load from Snowflake API.
Load news articles from RSS feeds using Unstructured.
Load Obsidian files from directory.
Parse Oracle doc metadata...
Read a file
Load from Stripe API.
Load from FaunaDB.
Generic Google API Client.
Output formats of transcripts from YoutubeLoader.
Load YouTube video transcripts.
Load all Videos from a YouTube Channel.
Load MediaWiki dump from an XML file.
Load from LarkSuite (FeiShu).
Load from LarkSuite (FeiShu) wiki.
Load Datadog logs.
Load pre-rendered web pages using a headless browser hosted on Browserbase.
Load XML file using Unstructured.
Load table schemas from AWS Glue.
Load a CSV file into a list of Document objects.
Load CSV files using Unstructured.
Load a Blackboard course.
Load CoNLL-U files.
Load from Hugging Face Hub datasets.
Load Jupyter notebook (.ipynb) files.
Load the Mastodon 'toots'.
Base Loader that uses dedoc (https://dedoc.readthedocs.io).
DedocFileLoader document loader integration to load files using dedoc.
Load files using dedoc API.
Load pages from OneNote notebooks.
Load email files using Unstructured.
Loads Outlook Message files using extract_msg.
Load a bibtex file.
Load documents from Couchbase.
Load files from remote URLs using Unstructured.
Load from Notion DB.
Turn an url to LLM accessible markdown with ScrapingAnt.
Load Quip pages.
Load .srt (subtitle) files.
Load TSV files using Unstructured.
Load model information from Hugging Face Hub, including README content.
Load from Baidu BOS directory.
Load a JSON file using a jq schema.
Load from the Huawei OBS file.
Load a PDF with Azure Document Intelligence.
Load from Azure AI Data.
Load from Kinetica API.
Load OpenOffice ODT files using Unstructured.
Scrape HTML pages from URLs using a
Load PySpark DataFrames.
Load files from Dropbox.
Load Diffbot json file.
Load local Airbyte json files.
Load acreom vault from a directory.
Load Notion directory dump.
Load text file.
Load Xorbits DataFrame.
Load elements from a blockchain smart contract.
Load HTML using 2markdown API.
Load records from an ArcGIS FeatureLayer.
Load Cube semantic layer metadata.
Turn a url to llm accessible markdown with Scrapfly.io.
FireCrawlLoader document loader integration
Load Documents using LLMSherpa.
Load MongoDB documents.
Load Pandas DataFrame.
Load from Tencent Cloud COS file.
Load geopandas Dataframe.
Enumerator of the supported blockchains.
Load elements from a blockchain smart contract.
Load from Amazon AWS S3 file.
Load TOML files.
Load Microsoft PowerPoint files using Unstructured.
Load cards from a Trello board.
Generic Document Loader.
Load from Open City.
Load fetching transcripts from BiliBili videos.
Client for lakeFS.
Load from lakeFS.
Load from lakeFS as unstructured data.
Load weather data with Open Weather Map API.
Load RTF files using Unstructured.
Load from IUGU.
Load a sitemap and its URLs.
Load Reddit posts.
Load Polars DataFrame.
Load HTML pages with Selenium and parse with Unstructured.
Merge documents from a list of loaders
Load image captions.
Load ReadTheDocs documentation directory.
Load Hacker News data.
NeedleLoader is a document loader for managing documents stored in a collection.
Load from DuckDB.
Load from Gutenberg.org.
Load and pars Documents concurrently.
Load the Airtable tables.
Load Facebook Chat messages directory dump.
Load from Amazon AWS S3 directory.
Load Discord chat logs.
Load Git repository files.
Load from Spreedly API.
Load from Alibaba Cloud MaxCompute table.
Load AZLyrics webpages.
Load webpages with Browserless /content endpoint.
Load PNG and JPG files using Unstructured.
Load documents from TiDB.
Document loader for EverNote ENEX export files.
Load from the PubMed biomedical library.
Abstract base class for all evaluators.
Evaluate the page HTML content using the unstructured library.
Load HTML pages with Playwright and parse with Unstructured.
Load from Huawei OBS directory.
Load from Baidu Cloud BOS file.
Load Python files, respecting any non-default encoding if specified.
Load conversations from exported ChatGPT data.
Load from Docusaurus Documentation.
Load documents by querying database tables supported by SQLAlchemy.
Load from any file type using Nuclia Understanding API.
Load from Telegram chat dump.
Load Telegram chat json directory dump.
Transcript format to use for the document loader.
Load AssemblyAI audio transcripts.
Load AssemblyAI audio transcripts.
Load iFixit repair guides, device wikis and answers.
Load from TensorFlow Dataset.
Load from a Slack directory dump.
Load documents from Microsoft OneDrive.
Load IMSDb webpages.
Load GitHub repository Issues.
Load issues of a GitHub repository.
Load GitHub File
Load Microsoft Excel files using Unstructured.
Load Figma file.
Load GitBook data.
Load from a directory.
Base class for all loaders that uses O365 Package
Pebblo Safe Loader class is a wrapper around document loaders enabling the data
Loader for text data.
File encoding as the NamedTuple.
Load documents from Yuque.
Load HTML files using Unstructured.
Load transactions from Ethereum mainnet.
Load EPub files using Unstructured.
Load from Modern Treasury.
Load DOCX file using docx2txt and chunks at character level.
Load Microsoft Word file using Unstructured.
Load SurrealDB documents.
Enumerator of the content formats of Confluence page.
Load Confluence pages.
Load news articles from URLs using Unstructured.
Parse MHTML files with BeautifulSoup.
Load Roam files from a directory.
Load College Confidential webpages.
ModuleName document loader integration
Load from SharePoint.
Load notes from Joplin.
Recursively load all child links from a root URL.
Load CHM files using Unstructured.
Microsoft Compiled HTML Help (CHM) Parser.
Load PDF files using Unstructured.
Base Loader class for PDF files.
Load online PDF.
Load and parse a PDF file using 'pypdf' library.
Load and parse a PDF file using the pypdfium2 library.
Load and parse a directory of PDF files using 'pypdf' library.
Load and parse a PDF file using 'pdfminer.six' library.
Load PDF files as HTML content using PDFMiner.
Load and parse a PDF file using 'PyMuPDF' library.
Load PDF files using Mathpix service.
Load PDF files using pdfplumber.
Load PDF files from a local file system, HTTP or S3.
DedocPDFLoader document loader integration to load PDF files using dedoc.
Load a PDF with Azure Document Intelligence
Document loader utilizing Zerox library:
Load from Psychic.dev.
Base Loader that uses Unstructured.
Column not found error.
Load from a Rockset database.
Load WhatsApp messages text file.
Load content from RSpace notebooks, folders, documents or PDF Gallery files.
Load from Wikipedia.
Load a query result from Arxiv.
Load with an Airbyte source connector implemented using the CDK.
A wrapper around the CDK integration.
Load from Hubspot using an Airbyte source connector.
Load from Stripe using an Airbyte source connector.
Load from Typeform using an Airbyte source connector.
Load from Zendesk Support using an Airbyte source connector.
Load from Shopify using an Airbyte source connector.
Load from Salesforce using an Airbyte source connector.
Load from Gong using an Airbyte source connector.
Load YouTube urls as audio file(s).
Load blobs in the local file system.
Load blobs from cloud URL or file:.
Parser for vsdx files.
Parser for text blobs.
Parse the Microsoft Word documents from a blob.
Abstract base class for parsing image blobs into text.
Parser for extracting text from images using the RapidOCR library.
Parse for extracting text from images using the Tesseract OCR library.
Parser for analyzing images using a language model (LLM).
Loads a PDF with Azure Document Intelligence
Transcribe and parse audio files using Azure OpenAI Whisper.
Transcribe and parse audio files.
Transcribe and parse audio files with OpenAI Whisper model.
Transcribe and parse audio files.
Transcribe and parse audio files with faster-whisper.
Dataclass to store Document AI parsing results.
Parser that uses mime-types to parse a blob.
A wrapper class that adapts a document loader to function as a parser.
Exception raised when the Grobid server is unavailable.
Load article PDF files using Grobid.
Parse a blob from a PDF using pypdf library.
Parse a blob from a PDF using pdfminer.six library.
Parse a blob from a PDF using PyMuPDF library.
Parse a blob from a PDF using PyPDFium2 library.
Parse PDF with PDFPlumber.
Send PDF files to Amazon Textract and parse them.
Loads a PDF with Azure Document Intelligence
Parse HTML files using Beautiful Soup.
Code segmenter for JavaScript.
Code segmenter for TypeScript.
Code segmenter for PHP.
Code segmenter for Ruby.
Abstract class for the code segmenter.
Code segmenter for Rust.
Code segmenter for SQL.
Code segmenter for Go.
Parse using the respective programming language syntax.
Code segmenter for C++.
Code segmenter for Kotlin.
Code segmenter for Perl.
Code segmenter for COBOL.
Code segmenter for C#.
Code segmenter for Python.
Code segmenter for C.
Code segmenter for Lua.
Code segmenter for Elixir.
Code segmenter for Scala.
Abstract class for CodeSegmenters that use the tree-sitter library.
Code segmenter for Java.
Baidu Qianfan completion model integration.
Aphrodite language model.
Fake LLM for testing purposes.
Fake streaming list LLM for testing purposes.
Modal large language models.
CerebriumAI large language models.
OpenAI's compatible API client for OpenLLM server
ChatGLM3 LLM service.
Base OpenAI large language model class.
Baichuan large language models.
ExllamaV2 API.
Cloudflare Workers AI service.
Parameters for the Javelin AI Gateway LLM.
Javelin AI Gateway LLMs.
DeepInfra models.
MosaicML LLM service.
HazyResearch's Manifest library.
HuggingFace Pipeline API to run on self-hosted remote hardware.
Replicate models.
Adapter class to prepare the inputs from Langchain to a format
Base class for Bedrock models.
Writer large language models.
LLM wrapper for the Outlines library.
Beam API for gpt2 large language model.
Langchain LLM class to help to access eass llm service.
Nebula Service models.
LLM that uses OpaquePrompts to sanitize prompts.
Adapter to prepare the inputs from Langchain to a format
Amazon API Gateway to access LLM models hosted on AWS.
Kobold API language model.
CTranslate2 language model.
EdenAI models.
PromptLayer OpenAI large language models.
PromptLayer OpenAI large language models.
Arcee's Domain Adapted Language Models (DALMs).
Xinference large-scale model inference service.
GPT4All language models.
ChatGLM LLM service.
Model inference on self-hosted remote hardware.
Aleph Alpha large language models.
Base class for VolcEngineMaas models.
volc engine maas hosts a plethora of models.
Use your Predibase models with Langchain.
Common parameters for Minimax large language models.
Minimax large language models.
User input as the response.
C Transformers LLM models.
Clarifai large language models.
Raised when the Ollama endpoint is not found.
Weight only quantized model.
Yi large language models.
Parameters for AI21 penalty data.
AI21 large language models.
llama.cpp model.
Text generation models from WebUI.
Konko AI models.
Parameters for the MLflow AI Gateway LLM.
MLflow AI Gateway LLMs.
GooseAI large language models.
MLflow LLM service.
IpexLLM model.
Raises when token expired.
Raises when encounter server error when making inference.
Base class for LLM deployed on OCI Data Science Model Deployment.
LLM deployed on OCI Data Science Model Deployment.
OCI Data Science Model Deployment TGI Endpoint.
VLLM deployed on OCI Data Science Model Deployment
VLLM language model.
vLLM OpenAI-compatible API client
Neural Magic DeepSparse LLM interface.
RWKV language models.
The device to use for inference, cuda or cpu
Configuration for the reader to be deployed in Titan Takeoff API.
Titan Takeoff API LLMs.
Banana large language models.
Llamafile lets you distribute and run large language models with a
Tongyi completion model integration.
Yuan2.0 language models.
OCI authentication types as enumerator.
Base class for OCI GenAI models
OCI large language models.
AzureML Managed Endpoint client.
Azure ML endpoints API types. Use dedicated for models deployed in hosted
Transform request and response of AzureML endpoint to match with
Content handler for GPT2
Deprecated: Kept for backwards compatibility
Content handler for LLMs from the HuggingFace catalog.
Content handler for the Dolly-v2-12b model
Content formatter for models that use the OpenAI like API scheme.
Deprecated: Kept for backwards compatibility
Azure ML Online Endpoint models.
Azure ML Online Endpoint models.
OpenLM models.
Parse the byte stream input.
Handler class to transform input from LLM to a
Content handler for LLM class.
Train result.
Gradient.ai LLM Endpoints.
PipelineAI large language models.
Yandex large language models.
Anyscale large language models.
NIBittensor LLMs
GigaChat large language models API.
MLX Pipeline API.
NLPCloud large language models.
Petals Bloom models.
Common parameters for Moonshot LLMs.
Moonshot large language models.
Wrapper around You.com's conversational Smart and Research APIs.
Wrapper around the BigdlLLM model
StochasticAI large language models.
Aviary backend.
Aviary hosted models.
Layerup Security LLM service.
ForefrontAI large language models.
SambaStudio large language models.
SambaNova Cloud large language models.
Base class of Friendli.
Friendli LLM.
iFlyTek Spark completion model integration.
OctoAI LLM Endpoints - OpenAI compatible.
Common configuration for Solar LLMs.
Solar large language models.
Run an OpenAI Assistant.
Retriever for Kay.ai datasets.
Pinecone Hybrid Search retriever.
BM25 retriever without Elasticsearch.
Milvus API retriever.
KNN retriever.
Dria retriever using the DriaAPIWrapper.
Information that highlights the keywords in the excerpt.
Text with highlights.
Value of an additional result attribute.
Additional result attribute.
Value of a document attribute.
Document attribute.
Base class of a result item.
Query API result item.
Retrieve API result item.
Amazon Kendra Query API search result.
Amazon Kendra Retrieve API search result.
Search depth as enumerator.
Tavily Search API retriever.
Configuration for vector search.
Configuration for retrieval.
Azure AI Search service retriever.
Azure Cognitive Search service retriever.
Enumerator of the types of search to perform.
DocArray Document Indices retriever.
Rememberizer retriever.
SVM retriever.
Arcee Domain Adapted Language Models (DALMs) retriever.
Search queries to research for the user's goal.
Output parser for a list of numbered questions.
Google Search API retriever.
`NanoPQ retriever.
AskNews retriever.
Metal API retriever.
Elasticsearch retriever that uses BM25.
NeedleRetriever retrieves relevant documents or context from a Needle collection
A retriever class for Breebs.
LangChain API retriever.
Retriever for Outline API.
Document retriever that uses ThirdAI's NeuralDB.
Zilliz API retriever.
PubMed API retriever.
ChatGPT plugin retriever.
Vespa retriever.
Zep Cloud MemoryStore Retriever.
TF-IDF retriever.
Databerry API retriever.
Which documents to search. Messages or Summaries?
Enumerator of the types of search to perform.
Zep MemoryStore Retriever.
You.com Search API retriever.
LlamaIndex retriever.
LlamaIndex graph data structure retriever.
Embedchain retriever.
Google Vertex Search API retriever alias for backwards compatibility.
Chaindesk API retriever.
Wikipedia API retriever.
Arxiv retriever.
Table used to keep track of when a key was last updated.
A SQL Alchemy based implementation of the record manager.
A MongoDB based implementation of the document manager.
Abstract base class for a record manager.
Parse an output that is one of sets of values.
Parse an output as the Json object.
Parse an output as the element of the Json object.
Parse an output as a pydantic object.
Parse an output as an attribute of a pydantic object.
Parse the output of an LLM call using Guardrails.
Load chat sessions from a list of LangSmith "llm" runs.
Load chat sessions from a LangSmith dataset with the "chat" data type.
Load WhatsApp conversations from a dump zip file or directory.
Load chat sessions from the iMessage chat.db SQLite file.
Load Slack conversations from a dump zip file.
Load telegram conversations to LangChain chat messages.
Load Facebook Messenger chat data from a single file.
Load Facebook Messenger chat data from a folder.
Translate Langchain filters to Supabase PostgREST filters.
Translate Databricks vector search internal query language elements to
Translate Elasticsearch internal query language elements to valid filters.
Translate Milvus internal query language elements to valid filters.
Translate DingoDB internal query language elements to valid filters.
Translate PGVector internal query language elements to valid filters.
Translate Vectara internal query language elements to valid filters.
Translate Pinecone internal query language elements to valid filters.
Translate Weaviate internal query language elements to valid filters.
Translate the internal query language elements to valid filters.
Logic for converting internal query language elements to valid filters.
Translate OpenSearch internal query domain-specific
Translate Chroma internal query language elements to valid filters.
Translate AstraDB internal query language elements to valid filters.
Translate Mongo internal query language elements to valid filters.
Translate Qdrant internal query language elements to valid filters.
Translate StructuredQuery to Tencent VectorDB query.
Translate MyScale internal query language elements to valid filters.
Translate DeepLake internal query language elements to valid filters.
Visitor for translating structured queries to Redis filter expressions.
A link to/from a tag of a given kind.
Helper for executing an MMR traversal query.
DocumentTransformer for applying one or more LinkExtractors.
Link documents with common named entities using GLiNER_.
Interface for extracting links (incoming, outgoing, bidirectional).
Toolkit for Azure AI Services.
Toolkit for Azure Cognitive Services.
Toolkit with a list of Connery Actions as tools.
GitLab Toolkit.
Toolkit for interacting with Gmail.
SQLDatabaseToolkit for interacting with SQL databases.
Polygon Toolkit.
Nasa Toolkit.
Clickup Toolkit.
Toolkit for interacting with financialdatasets.ai.
Jira Toolkit.
Toolkit for interacting with Office 365.
A reduced OpenAPI spec.
Requests GET tool with LLM-instructed extraction of truncated responses.
Requests POST tool with LLM-instructed extraction of truncated responses.
Requests PATCH tool with LLM-instructed extraction of truncated responses.
Requests PUT tool with LLM-instructed extraction of truncated responses.
Tool that sends a DELETE request and parses the response.
Toolkit for making REST requests.
Toolkit for interacting with an OpenAPI API.
Schema for operations that do not require any input.
Schema for operations that require an issue number as input.
Schema for operations that require a comment as input.
Schema for operations that require a PR number as input.
Schema for operations that require a PR title and body as input.
Schema for operations that require a file path and content as input.
Schema for operations that require a file path as input.
Schema for operations that require a file path and content as input.
Schema for operations that require a file path as input.
Schema for operations that require a directory path as input.
Schema for operations that require a branch name as input.
Schema for operations that require a search query as input.
Schema for operations that require a username as input.
Schema for operations that require a search query as input.
Schema for operations that require a tag name as input.
GitHub Toolkit.
Toolkit for interacting with a JSON spec.
Toolkit for interacting with Spark SQL.
Zapier Toolkit.
Natural Language API Tool.
Natural Language API Toolkit.
Toolkit for interacting with an Apache Cassandra database.
Toolkit for CogniSwitch.
Toolkit for interacting with Slack.
Toolkit for interacting with Amadeus which offers APIs for travel.
Toolkit for interacting with AINetwork Blockchain.
Steam Toolkit.
Toolkit for interacting with local files.
Toolkit for interacting with Power BI dataset.
Toolkit for interacting with the Browser Agent.
Toolkit for PlayWright browser tools.
Callback Handler that logs prompt artifacts and metrics to SageMaker Experiments.
Context manager for LLMonitor user context.
Callback Handler for LLMonitor`.
Callback handler for the metadata and associated function states for callbacks.
Callback Handler that logs to Aim.
Handle the metadata and associated function states for callbacks.
Callback Handler that logs to Infino.
Callback Handler that logs metrics and artifacts to mlflow server.
Callback Handler that logs metrics and artifacts to mlflow server.
Token type enum.
Callback Handler that tracks OpenAI info.
Callback Handler that records transcripts to the Context service.
Callback Handler that logs to Arthur platform.
The UpTrain data schema for tracking evaluation results.
Callback Handler that logs evaluation results to uptrain and the console.
Callback Handler that logs into deepeval.
Callback handler that is used within a Flyte task.
Exception to raise when a person manually review and rejects a value.
Callback for manually validating values.
Asynchronous callback for manually validating values.
Callback Handler that logs to Arize.
Upstash Ratelimit Error
Callback to handle rate limiting based on the number of requests
Callback Handler that logs to Weights and Biases.
Callback handler for promptlayer.
Callback Handler that logs to ClearML.
Callback Handler that logs to Comet.
Callback Handler that tracks bedrock anthropic info.
Callback Handler that logs into Argilla.
Callback handler for Trubrics.
Callback Handler for logging to WhyLabs. This callback handler utilizes
Label Studio mode enumerator.
Label Studio callback handler.
Enumerator of the LLMThought state.
Tool record as a NamedTuple.
Generates markdown labels for LLMThought containers. Pass a custom
A thought in the LLM's thought stream.
Callback handler that writes to a Streamlit app.
Enumerator of the child type.
Child record as a NamedTuple.
Streamlit expander that can be renamed and dynamically expanded/collapsed.
Arguments for the WandbTracer.
Callback Handler that logs to Weights and Biases.
Comet Tracer.
Chain that requests a URL and then uses an LLM to parse results.
Parse the response and error tags.
Get the response parser.
Parse the request and error tags.
Get the request parser.
Chain interacts with an OpenAPI endpoint using natural language.
Question-answering against a graph by generating Cypher statements for Kùzu.
Question-answering against an RDF or OWL graph by generating SPARQL statements.
Question-answering against Ontotext GraphDB
Chain for question-answering against a graph by generating gremlin statements.
Chain for question-answering against a graph by generating Cypher statements.
Chain for question-answering against a graph by generating gremlin statements.
Chain for question-answering against a graph by generating AQL statements.
Chain for question-answering against a graph by generating Cypher statements.
Chain for question-answering against a graph by generating nGQL statements.
Chain for question-answering against a graph.
Class for an authorization context.
Class for a semantic entity filter.
Class for a semantic topic filter.
Class for a semantic context.
Input for PebbloRetrievalQA chain.
OS, language details
Langchain framework details
Routes available for the Pebblo API as enumerator.
Wrapper for Pebblo Retrieval API.
Retrieval Chain with Identity & Semantic Enforcement for question-answering
Wrapper for Polygon API.
Wrapper for Stack Exchange API.
An empty Sentinel type.
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 message containing streaming audio.
A runnable that performs Automatic Speech Recognition (ASR) using NVIDIA Riva.
A runnable that performs Text-to-Speech (TTS) with NVIDIA Riva.
Wrapper for AlphaVantage API for Currency Exchange Rate.
Wrapper for Reddit API
Enumerator of the HTTP verbs.
OpenAPI Model that removes mis-formatted parts of the spec.
Wrapper for NASA API.
Wrapper around the Brave search engine.
Wrapper around Dria API.
Jira OAuth2 token.
Jira OAuth2.
Wrapper for Jira API. You can connect to Jira with either an API token or OAuth2.
Base class for all components.
Class for a task.
Component class for a list.
Component class for a member.
Component class for a team.
Component class for a space.
Wrapper for Clickup API.
Wrapper for SerpApi's Google Scholar API
Wrapper around bibtexparser.
Wrapper for Tavily Search API.
Wrapper for Steam API.
Wrapper around GraphQL API.
Wrapper for Bing Web Search API.
Mixin to prevent storing on disk.
Manage the token for the NutritionAI API.
Wrapper for the Passio Nutrition AI API.
Wrapper for Rememberizer APIs.
SparkSQL is a utility class for interacting with Spark SQL.
Wrapper for SerpApi's Google Lens API
Routes available for the Arcee API as enumerator.
Filter types available for a DALM retrieval as enumerator.
Filters available for a DALM retrieval and generation.
Source of an Arcee document.
Arcee document.
Adapter for Arcee documents
Wrapper for Arcee API.
Wrapper around the Wikidata API.
Setup mode for AstraDBEnvironment as enumerator.
Messaging Client using Twilio.
Wrapper for financial datasets API.
Wrapper for DuckDuckGo Search API.
Wrapper for AskNews API.
Wrapper for SerpApi's Google Scholar API
Wrapper for Merriam-Webster.
Wrapper around requests to handle auth and async.
Lightweight wrapper around requests library.
Lightweight wrapper around requests library, with async support.
Lightweight wrapper around requests library, with async support.
Wrapper for Metaphor Search API.
Wrapper for Zapier NLA.
Wrapper around the DataForSeo API.
Context manager to hide prints.
Wrapper around SerpAPI.
Wrapper for GitLab API.
Dict like wrapper around search api results.
Wrapper for Searx API.
Wrapper around OutlineAPI.
Create PowerBI engine from dataset ID and credential or token.
Wrapper around the Serper.dev Google Search API.
Interface for querying Alibaba Cloud MaxCompute tables.
Wrapper around PubMed API.
Wrapper for Google Scholar API
Wrapper around semanticscholar.org API.
SQLAlchemy wrapper around a database.
Wrapper for OpenAI's DALL-E Image Generator.
Wrapper for SceneXplain API.
Escape punctuation within an input string.
Access to the TensorFlow Datasets.
Wrapper for GitHub API.
Wrapper for Golden.
Wrapper for Infobip API for messaging.
Wrapper for AWS Lambda SDK.
Wrapper around Google Books API.
Routes available for the Pebblo API as enumerator.
Pebblo Indexed Document.
Pebblo Runtime.
Pebblo Framework instance.
Pebblo AI application.
Pebblo document.
Wrapper for Pebblo Loader API.
Wrapper for SerpApi's Google Finance API
Portkey configuration.
Metadata on a single hit from you.com
A single hit from you.com, which may contain multiple snippets
Output from you.com API.
Output of parsing one snippet.
Wrapper for you.com Search and News API.
Wrapper around the Jina search engine.
Wrapper for Wolfram Alpha.
Wrapper for Dataherald.
Wrapper around SearchApi API.
Apache Cassandra® database wrapper.
Exception raised for errors in the database schema.
Wrapper for OpenWeatherMap API using PyOWM.
Wrapper around WikipediaAPI.
Wrapper around ArxivAPI.
TigerGraph wrapper for graph operations.
NebulaGraph wrapper for graph operations.
ArangoDB wrapper for graph operations.
RDFlib wrapper for graph operations.
Kùzu wrapper for graph operations.
Exception for the AGE queries.
Apache AGE wrapper for graph operations.
Functionality to create graph index.
HugeGraph wrapper for graph operations.
Memgraph wrapper for graph operations.
Ontotext GraphDB https://graphdb.ontotext.com/ wrapper for graph operations.
Abstract class for graph operations.
Knowledge triple in the graph.
Networkx wrapper for entity graph operations.
Gremlin wrapper for graph operations.
FalkorDB wrapper for graph operations.
Exception for the Neptune queries.
Abstract base class for Neptune.
Represents a node in a graph with associated properties.
Represents a directed relationship between two nodes in a graph.
Represents a graph document consisting of nodes and relationships.
Baidu Qianfan chat model integration.
Error with the GPTRouter APIs
GPTRouter model.
GPTRouter by Writesonic Inc.
ZhipuAI chat model integration.
Fake ChatModel for testing purposes.
Fake ChatModel for testing purposes.
Baichuan chat model integration.
Jina AI Chat models API.
OCI Data Science Model Deployment chat model integration.
OCI large language chat models deployed with vLLM.
OCI large language chat models deployed with Text Generation Inference.
Parameters for the Javelin AI Gateway LLM.
Javelin AI Gateway chat models API.
Exception raised when the DeepInfra API returns an error.
A chat model that uses the DeepInfra API.
Writer chat model.
Outlines chat model integration.
Alibaba Cloud PAI-EAS LLM Service chat model API.
Error with the PremAI API.
PremAI Chat models.
Nebula chat large language model - https://docs.symbl.ai/docs/nebula-llm
Error with the Google PaLM API.
Google PaLM Chat models API.
EdenAI chat large language models.
PromptLayer and OpenAI Chat large language models API.
MLX chat models.
Reka chat large language models.
EverlyAI Chat large language models.
Volc Engine Maas hosts a plethora of models.
MiniMax chat model integration.
ChatModel which returns user input as the response.
Kinetica utility functions.
Kinetica LLM Chat Model API.
Response containing SQL and the fetched data.
Fetch and return data from the Kinetica LLM.
Dappier chat large language models.
Yi chat models API.
Chat with LLMs via llama-api-server
llama.cpp model.
ChatKonko Chat large language models API.
Parameters for the MLflow AI Gateway LLM.
MLflow AI Gateway chat models API.
MLflow chat models API.
Tencent Hunyuan chat models API by Tencent.
Alibaba Tongyi Qwen chat model integration.
Yuan2.0 Chat models API.
MariTalk Chat models API.
NCP ClovaStudio Chat Completion API.
ChatOCIGenAI chat model integration.
Content formatter for LLaMA.
Chat Content formatter for models with OpenAI like API scheme.
Deprecated: Kept for backwards compatibility
Content formatter for Mistral.
Azure ML Online Endpoint chat models.
YandexGPT large language models.
Anyscale Chat large language models.
OctoAI Chat large language models.
Moonshot chat model integration.
Error with Snowpark client.
Snowflake Cortex based Chat model
ChatCoze chat models API by coze.com
Friendli LLM for chat.
IFlyTek Spark chat model integration.
Docstore via arbitrary lookup function.
Simple in memory docstore in the form of a dict.
Interface to access to place that stores documents.
Mixin class that supports adding texts.
Wikipedia API.
Input for the YahooFinanceNews tool.
Tool that searches financial news on Yahoo Finance.
IFTTT Webhook.
API Configuration.
AI Plugin Definition.
Schema for AIPluginTool.
Tool for getting the OpenAPI spec for an AI Plugin.
Input for the GoogleBooksQuery tool.
Tool that searches the Google Books API.
Input for SceneXplain.
Tool that explains images.
Input for the SearxSearch tool.
Tool that queries a Searx instance.
Tool that queries a Searx instance and gets back json.
Tool that queries using the Dataherald SDK.
Arguments for the BearlyInterpreterTool.
Information about a file to be uploaded.
Tool for evaluating python code in a sandbox environment.
Input schema for the you.com tool.
Tool that searches the you.com API.
Tool that searches the PubMed API.
Service for interacting with the Connery Runner API.
Connery Action parameter validation model.
Connery Action parameter model.
Connery Action model.
Connery Action tool.
Tool for interacting with the GitLab API.
Tool that adds the capability to query using the Golden API and get back JSON.
Commands for the Bash Shell tool.
Tool to run shell commands.
Tool to get example SQL queries related to an input question.
Tool that queries the Bing search API.
Bing Search tool.
Tool that queries the Google trends API.
Tool that queries the Eden AI Speech To Text API.
Tool that queries the Eden AI Text to speech API.
Tool that queries the Eden AI Invoice parsing API.
the base tool for all the EdenAI Tools .
Tool that queries the Eden AI Explicit image detection.
Tool that queries the Eden AI Object detection API.
Tool that queries the Eden AI Explicit text detection.
Tool that queries the Eden AI Identity parsing API.
Input for Nuclia Understanding API.
Tool to process files with the Nuclia Understanding API.
Protocol for trainable language models.
Tool that trains a language model.
Enumerator of Resources to search.
Input for SearchGmailTool.
Tool that searches for messages or threads in Gmail.
Input for SendMessageTool.
Tool that sends a message to Gmail.
Input for GetMessageTool.
Tool that gets a message by ID from Gmail.
Input for GetMessageTool.
Tool that gets a thread by ID from Gmail.
Input for CreateDraftTool.
Tool that creates a draft email for Gmail.
Base class for Gmail tools.
Inputs for Polygon's Last Quote API
Tool that gets the last quote of a ticker from Polygon
Inputs for Polygon's Ticker News API
Tool that gets the latest news for a given ticker from Polygon
Input for PolygonAggregates.
Tool that gets aggregate bars (stock prices) over a
Inputs for Polygon's Financials API
Tool that gets the financials of a ticker from Polygon
Tool that queries the Google Jobs API.
Tool that queries the Atlassian Jira API.
HuggingFace Text-to-Speech Model Inference.
Traverse an AST and
Description of the uploaded path with its remote path.
Arguments for the E2BDataAnalysisTool.
Tool for running python code in a sandboxed environment for data analysis.
Tool that generates an image using OpenAI DALLE.
Riza Code tool.
A tool implementation to execute JavaScript via Riza's Code Interpreter API.
Tool that queries the OpenWeatherMap API.
Tool that queries the Google Lens API.
Input for the SemanticScholar tool.
Tool that searches the semanticscholar API.
Input for CopyFileTool.
Tool that adds the capability to sleep.
Input for the DuckDuckGo search tool.
DuckDuckGo tool.
Tool that queries the DuckDuckGo search API and
Tool that queries the Clickup API.
Inputs to the Passio Nutrition AI tool.
Tool that queries the Passio Nutrition AI API.
Input for CashFlowStatements.
Tool that gets cash flow statements for a given ticker over a given period.
Input for IncomeStatements.
Tool that gets income statements for a given ticker over a given period.
Input for BalanceSheets.
Tool that gets balance sheets for a given ticker over a given period.
Tool that queries the Atlassian Jira API.
Tool that queries the Azure AI Services Document Intelligence API.
Tool that queries the Azure AI Services Text to Speech API.
Tool that queries the Azure AI Services Text Analytics for Health API.
Tool that queries the Azure AI Services Image Analysis API.
Tool that queries the Azure AI Services Speech to Text API.
Base class for tools that use a VectorStore.
Tool for the VectorDBQA chain. To be initialized with name and chain.
Tool for the VectorDBQAWithSources chain.
Input for SearchEmails Tool.
Search calendar events in Office 365.
Input for SendMessageTool.
Send an email in Office 365.
Input for SendMessageTool.
Tool for creating a draft email in Office 365.
Input for CreateEvent Tool.
Tool for sending calendar events in Office 365.
Base class for the Office 365 tools.
Input for SearchEmails Tool.
Search email messages in Office 365.
The location of the property.
Base model for an API property.
A model for a property in the query, path, header, or cookie params.
A model for a request body property.
A model for a request body.
A model for a single API operation.
Tool for interacting with the GitHub API.
Tool that searches the Merriam-Webster API.
Models available for Eleven Labs Text2Speech.
Models available for Eleven Labs Text2Speech.
Tool that queries the Eleven Labs Text2Speech API.
Base class for JSON spec.
Tool for listing keys in a JSON spec.
Tool for getting a value in a JSON spec.
Base class for requests tools.
Tool for making a GET request to an API endpoint.
Tool for making a POST request to an API endpoint.
Tool for making a PATCH request to an API endpoint.
Tool for making a PUT request to an API endpoint.
Tool for making a DELETE request to an API endpoint.
Input for the Jina search tool.
Tool that queries the JinaSearch.
Base tool for interacting with Spark SQL.
Tool for querying a Spark SQL.
Tool for getting metadata about a Spark SQL.
Tool for getting tables names.
Use an LLM to check if a query is correct.
Tool that queries the BraveSearch.
Tool that queries YouTube.
Tool to run a specific action from the user's exposed actions.
Tool to list all exposed actions for the user.
Base tool for interacting with a SQL database.
Tool for querying a SQL database.
Tool for getting metadata about a SQL database.
Tool for getting tables names.
Use an LLM to check if a query is correct.
Tool that queries using the Wolfram Alpha SDK.
Tool that queries the Google search API.
Result of executing a function.
Input for the Arxiv tool.
Tool that searches the Arxiv API.
Tool that queries the DataForSeo Google search API.
Tool that queries the DataForSeo Google Search API
Tool that queries the Google Finance API.
Supported Image Models for generation.
Tool used to generate images from a text-prompt.
Tool that queries the Azure Cognitive Services Form Recognizer API.
Tool that queries the Azure Cognitive Services Speech2Text API.
Tool that queries the Azure Cognitive Services Text Analytics for Health API.
Tool that queries the Azure Cognitive Services Image Analysis API.
Tool that queries the Azure Cognitive Services Text2Speech API.
Base tool for querying a GraphQL API.
Tool that uses StackExchange
Base tool for interacting with an Apache Cassandra database.
Tool for querying an Apache Cassandra database with provided CQL.
Tool for getting the schema of a keyspace in an Apache Cassandra database.
Tool for getting data from a table in an Apache Cassandra database.
Tool that uses the Cogniswitch service to answer questions.
Tool that uses the Cogniswitch services to get the
Tool that uses the Cogniswitch services to store data from file.
Tool that uses the Cogniswitch services to store data from a URL.
Input for SendMessageTool.
Tool for sending a message in Slack.
Input schema for SlackGetMessages.
Tool that gets Slack messages.
Tool that gets Slack channel information.
Input for ScheduleMessageTool.
Tool for scheduling a message in Slack.
Base class for Slack tools.
Schema for the AmadeusFlightSearch tool.
Tool for searching for a single flight between two airports.
Schema for the AmadeusClosestAirport tool.
Tool for finding the closest airport to a particular location.
Base Tool for Amadeus.
Tool that queries the SearchApi.io search API.
Tool that queries the SearchApi.io search API and returns JSON.
Input for the Tavily tool.
Tool that asks user for input.
Input for the AskNews Search tool.
Tool that searches the AskNews API.
Tool that queries the Serper.dev Google search API.
Tool that queries the Serper.dev Google Search API
Type of app operation as enumerator.
Schema for app operations.
Tool for app operations.
Schema for transfer operations.
Tool for transfer operations.
Schema for value operations.
Tool for value operations.
Schema for owner operations.
Tool for owner operations.
Schema for owner operations.
Tool for owner operations.
Type of operation as enumerator.
Base class for the AINetwork tools.
Tool that searches the Steam Web API.
Error for paths outside the root directory.
Mixin for file system tools.
Input for FileSearchTool.
Tool that searches for files in a subdirectory that match a regex pattern.
Input for MoveFileTool.
Tool that moves a file.
Input for ListDirectoryTool.
Tool that lists files and directories in a specified folder.
Input for DeleteFileTool.
Tool that deletes a file.
Input for CopyFileTool.
Tool that copies a file.
Input for WriteFileTool.
Tool that writes a file to disk.
Input for ReadFileTool.
Tool that reads a file.
Tool for querying a Power BI Dataset.
Tool for getting metadata about a PowerBI Dataset.
Tool for getting tables names.
Input for UpdateSessionTool.
Tool that updates an existing Multion Browser Window with provided fields.
Input for CreateSessionTool.
Tool that creates a new Multion Browser Window with provided fields.
Input for UpdateSessionTool.
Tool that closes an existing Multion Browser Window with provided fields.
Input for the WikipediaQuery tool.
Tool that searches the Wikipedia API.
Tool that searches the Wikidata API.
Input for ExtractHyperlinksTool.
Extract all hyperlinks on the page.
Explicit no-args input for ExtractTextTool.
Tool for extracting all the text on the current webpage.
Explicit no-args input for NavigateBackTool.
Navigate back to the previous page in the browser history.
Input for GetElementsTool.
Tool for getting elements in the current web page matching a CSS selector.
Explicit no-args input for CurrentWebPageTool.
Tool for getting the URL of the current webpage.
Input for ClickTool.
Tool for clicking on an element with the given CSS selector.
Input for NavigateToolInput.
Tool for navigating a browser to a URL.
Base class for browser tools.
Representation of a callable function to the Ernie API.
Representation of a callable function to the Ernie API.
Document compressor using Flashrank interface.
Document compressor that uses Infinity Rerank API.
Compress using LLMLingua Project.
Document compressor using Flashrank interface.
Request for reranking.
OpenVINO rerank models.
Document compressor that uses Volcengine Rerank API.
Document compressor that uses Jina Rerank API.
Document compressor that uses DashScope Rerank API.
Baidu Qianfan Embeddings embedding models.
Bookend AI sentence_transformers embedding models.
ZhipuAI embedding model integration.
Fake embedding model.
Fake embedding model that always returns
Baichuan Text Embedding models.
Jina embedding models.
Self-hosted embedding models for infinity package.
Helper tool to embed Infinity.
Optimized Infinity embedding models.
Javelin AI Gateway embeddings.
TensorflowHub embedding models.
Deep Infra's embedding inference service.
LocalAI embedding models.
Leverage Itrex runtime to unlock the performance of compressed NLP models.
MosaicML embedding service.
DashScope embedding models.
JohnSnowLabs embedding models
HuggingFace embedding models on self-hosted remote hardware.
HuggingFace InstructEmbedding models on self-hosted remote hardware.
Prem's Embedding APIs
Quantized bi-encoders embedding models.
Google's PaLM Embeddings APIs.
EdenAI embedding.
Xinference embedding models.
GPT4All embedding models.
Custom embedding models on self-hosted remote hardware.
LLMRails embedding models.
Aleph Alpha's asymmetric semantic embedding.
Symmetric version of the Aleph Alpha's semantic embeddings.
Embedding documents and queries with Awa DB.
MiniMax embedding model integration.
Clarifai embedding models.
Payload for the Embaas embeddings API.
Embaas's embedding service.
A class to handle embedding requests to the TextEmbed API.
A client to handle synchronous and asynchronous requests to the TextEmbed API.
Volcengine Embeddings embedding models.
MLflow AI Gateway embeddings.
llama.cpp embedding models.
Embedding LLMs in MLflow.
Cohere embedding LLMs in MLflow.
OVHcloud AI Endpoints Embeddings.
Wrapper around the BGE embedding model
Tencent Hunyuan embedding models API by Tencent.
Custom exception for interfacing with Takeoff Embedding class.
Exception raised when no consumer group is provided on initialization of
Device to use for inference, cuda or cpu.
Configuration for the reader to be deployed in Takeoff.
Interface with Takeoff Inference API for embedding models.
Qdrant FastEmbedding models.
Llamafile lets you distribute and run large language models with a
NCP ClovaStudio Embedding API.
OCI authentication types as enumerator.
OCI embedding models.
ModelScopeHub embedding models.
Content handler for LLM class.
Custom Sagemaker Inference Endpoints.
Gradient.ai Embedding models.
Deprecated, TinyAsyncGradientEmbeddingClient was removed.
OctoAI Compute Service embedding models.
YandexGPT Embeddings models.
text2vec embedding models.
Ascend NPU accelerate Embedding model
LASER Language-Agnostic SEntence Representations.
Anyscale Embeddings API.
Embeddings by spaCy models.
OpenVINO embedding models.
OpenVNO BGE embedding models.
NLP Cloud embedding models.
URL class for parsing the URL.
SparkLLM embedding model integration.
Exception raised for errors in the header assembly.
Model2Vec embedding models.
Chat message history stored in an Upstash Redis database.
Convert BaseMessage to the SQLAlchemy model.
The default message converter for SQLChatMessageHistory.
Chat message history stored in an SQL database.
Chat message history that stores messages in Streamlit session state.
Chat message history backed by Azure CosmosDB.
Chat message history that stores history in AWS DynamoDB.
Chat message history backed by Google Firestore.
Chat message history that stores history in a local file.
Chat message history that is backed by Cassandra.
Chat message history cache that uses Momento as a backend.
Represents a chat message history stored in a TiDB database.
Chat message history that uses Zep Cloud as a backend.
Consume start position for Kafka consumer to get chat history messages.
Chat message history stored in Kafka.
Chat message history stored in a Redis database.
Scope for the document search. Messages or Summaries?
Enumerator of the types of search to perform.
Chat message history that uses Zep as a backend.
Chat message history stored in a Xata database.
Uses Rockset to store chat messages.
Fake cross encoder model.
Content handler for CrossEncoder class.
SageMaker Inference CrossEncoder endpoint.
HuggingFace cross encoder models.
Extract metadata tags from document contents using OpenAI functions.
Filter that drops redundant documents by comparing their embeddings.
Perform K-means clustering on document vectors.
Extract properties from text documents using doctran.
Replace occurrences of a particular search pattern with a replacement string
Transform HTML content by extracting specific tags and removing unwanted ones.
Extract QA from text documents using doctran.
Translate text documents using doctran.
Reorder long context.
Converts HTML documents to Markdown format with customizable options for handling
Nuclia Text Transformer.
Allows a BaseModel to return its fields by string variable indexing.
Choice.
Chat completions.
Choice chunk.
Chat completion chunk.
Chat completion.
Completions.
Chat.
Cosmos DB Similarity Type as enumerator.
Cosmos DB Vector Search Type as enumerator.
Azure Cosmos DB for MongoDB vCore vector store.
Supabase Postgres vector store.
Upstash Vector vector store
Base class for Elasticsearch retrieval strategies.
Hippo vector store.
Enumerator of the Distance strategies for calculating distances
ScaNN vector store.
Dingo vector store.
ClickHouse client configuration.
ClickHouse vector store integration.
Jaguar API vector store.
Enumerator of the Distance strategies.
Base model for the SQL stores.
Tair vector store.
VLite is a simple and fast vector database for semantic search.
Configuration for summary generation.
Configuration for Maximal Marginal Relevance (MMR) search.
Configuration for Reranker.
Configuration for Vectara query.
Vectara API vector store.
Vectara Retriever class.
Vectara RAG runnable.
Amazon OpenSearch Vector Engine vector store.
Baidu VectorDB Connection params.
Baidu VectorDB table params.
Baidu VectorDB as a vector store.
Baidu Elasticsearch vector store.
NucliaDB vector store.
ecloud Elasticsearch vector store.
DuckDB vector store.
FAISS vector store integration.
Wrapper around Epsilla vector database.
KDB.AI vector store.
Timescale Postgres vector store
Enumerator for the supported Index types
Base class for the Lantern embedding store.
Result from a query.
Enumerator of the Distance strategies.
Postgres with the lantern extension as a vector store.
DashVector vector store.
ManticoreSearch Engine vector store.
Hologres API vector store.
Yellowbrick as a vector database.
Enumerator for the supported Index types within Yellowbrick.
Parameters for configuring a Yellowbrick index.
VectorStore connecting to Pathway Vector Store.
Meilisearch vector store.
Enumerator for different search strategies in FalkorDB VectorStore.
Enumerator of the index types.
FalkorDB vector index.
Azure Cognitive Search vector store.
Retriever that uses Azure Cognitive Search.
LanceDB vector store.
Implementation of Vector Store using LLMRails.
Retriever for LLMRails.
Infinispan VectorStore interface.
Helper class for Infinispan REST interface.
SQLite with VSS extension as a vector database.
Clarifai AI vector store.
Enumerator of the Distance strategies.
Some default dimensions for known embeddings.
Kinetica client configuration.
Kinetica vector store.
SemaDB vector store.
DocumentDB Similarity Type as enumerator.
Amazon DocumentDB (with MongoDB compatibility) vector store.
Base model for all SQL stores.
Collection store.
Embedding store.
Result from a query.
Postgres with the pg_embedding extension as a vector store.
Relyt (distributed PostgreSQL) vector store.
TiDB Vector Store.
VectorStore backed by pgvecto_rs.
AnalyticDB (distributed PostgreSQL) vector store.
Aerospike vector store.
Tablestore vector store.
Tencent vector DB Connection params.
Tencent vector DB Index params.
MetaData Field for Tencent vector DB.
Tencent VectorDB as a vector store.
MyScale client configuration.
MyScale vector store.
MyScale vector store without metadata column
Vectorstore that uses ThirdAI's NeuralDB.
Vectorstore that uses ThirdAI's NeuralDB Enterprise Python Client for NeuralDBs.
SQLite with Vec extension as a vector database.
Zilliz vector store.
Vald vector database.
Zep vector store.
AwaDB vector store.
Annoy vector store.
CosmosDB Query Type
Typesense vector store.
Base class for serializing data.
Serialize data in JSON using the json package from python standard library.
Serialize data in Binary JSON using the bson python package.
Serialize data in Apache Parquet format using the pyarrow package.
Exception raised by SKLearnVectorStore.
Simple in-memory vector store based on the scikit-learn library
vikingdb connection config
vikingdb as a vector store
Apache Doris client configuration.
Apache Doris vector store.
Bagel.net Inference platform.
Enumerator of the Search strategies for searching in the vectorstore.
SurrealDB as Vector Store.
StarRocks client configuration.
StarRocks vector store.
TileDB vector store.
USearch vector store.
Configuration for a Zep Collection.
Zep vector store.
Alibaba Cloud Opensearch` client configuration.
Alibaba Cloud OpenSearch vector store.
Atlas vector store.
Xata vector store.
Momento Vector Index (MVI) vector store.
Rockset vector store.
Marqo vector store.
Vespa vector store.
HnswLib storage using DocArray package.
In-memory DocArray storage for exact search.
Base class for DocArray based vector stores.
Distance metrics for Redis vector fields.
Base class for Redis fields.
Schema for text fields in Redis.
Schema for tag fields in Redis.
Schema for numeric fields in Redis.
Base class for Redis vector fields.
Schema for flat vector fields in Redis.
Schema for HNSW vector fields in Redis.
Schema for Redis index.
RedisFilterOperator enumerator is used to create RedisFilterExpressions.
Collection of RedisFilterFields.
Base class for RedisFilterFields.
RedisFilterField representing a tag in a Redis index.
RedisFilterField representing a numeric field in a Redis index.
RedisFilterField representing a text field in a Redis index.
Logical expression of RedisFilterFields.
Retriever for Redis VectorStore.
Select and order examples based on ngram overlap score (sentence_bleu score
BaseStore implementation using Upstash Redis
Table used to save values.
BaseStore interface that works on an SQL database.
Base class for the DataStax AstraDB data store.
BaseStore implementation using MongoDB as the underlying store.
BaseStore implementation using MongoDB as the underlying store.
A ByteStore implementation using Cassandra as the backend.
BaseStore implementation using Redis as the underlying store.
Cache that uses SingleStore DB as a backend
Read documents using OracleDocLoader
Splitting text using Oracle chunker.
Load Google Docs from Google Drive.
Load from GCS file.
Load from Docugami.
Load from GCS directory.
Load from Azure Blob Storage files.
Load from the Google Cloud Platform BigQuery.
Load datasets from Apify web scraping, crawling, and data extraction platform.
Load from Azure Blob Storage container.
Loader for Google Cloud Speech-to-Text audio transcripts.
Load files using Unstructured.
Load files using Unstructured API.
Load file-like objects opened in read mode using Unstructured.
Send file-like objects with unstructured-client sdk to the Unstructured API.
Load from oracle adb
Google Cloud Document AI parser.
Google Vertex AI large language models.
Vertex AI Model Garden large language models.
OpenAI large language models.
Azure-specific OpenAI large language models.
OpenAI Chat large language models.
LLM models from Together.
HuggingFace Pipeline API.
Prediction Guard large language models.
HuggingFaceHub models.
Fireworks models.
Bedrock models.
HuggingFace text generation API.
HuggingFace Endpoint.
DEPRECATED: Use langchain_google_genai.GoogleGenerativeAI instead.
Anthropic large language models.
Ollama locally runs large language models.
Databricks serving endpoint or a cluster driver proxy app for LLM.
Base class for Cohere models.
Cohere large language models.
Sagemaker Inference Endpoint models.
IBM watsonx.ai large language models.
Cohere Chat API with RAG.
Amazon Kendra Index retriever.
Amazon Bedrock Knowledge Bases retriever.
Weaviate hybrid search retriever.
A retriever based on Document AI Warehouse.
Google Vertex AI Search retriever.
Google Vertex AI Search retriever for multi-turn conversations.
DEPRECATED: This class is deprecated and will no longer be maintained.
Translate Neo4j internal query language elements to valid filters.
Node in the GraphVectorStore.
A hybrid vector-and-graph graph store.
Retriever for GraphVectorStore.
Used to correct relationship direction in generated Cypher statements.
Chain for question-answering against a graph by generating Cypher statements.
Wrapper around Apify.
Wrapper for Google Search API.
Neo4j database wrapper for various graph operations.
Neptune wrapper for RDF graph operations.
Neptune Analytics wrapper for graph operations.
Neptune wrapper for graph operations.
OpenAI Chat large language models API.
ERNIE-Bot large language model.
Tool that queries the Metaphor Search API and gets back json.
Tool that queries the Google Cloud Text to Speech API.
Equivalent stub to QuerySQLDatabaseTool for backwards compatibility.
Tool that queries the Tavily Search API and gets back json.
Tool that queries the Tavily Search API and gets back an answer.
Elasticsearch embedding models.
Google Cloud VertexAI embedding models.
OpenAI embedding models.
Get Embeddings
Cloudflare Workers AI embedding model.
HuggingFaceHub embedding models.
Bedrock embedding models.
Ernie Embeddings V1 embedding models.
Ollama locally runs large language models.
Azure OpenAI Embeddings API.
Clova's embedding service.
Databricks embeddings.
NeMo embedding models.
Voyage embedding models.
Cohere embedding models.
HuggingFace sentence_transformers embedding models.
Wrapper around sentence_transformers embedding models.
HuggingFace sentence_transformers embedding models.
Embed texts using the HuggingFace API.
GigaChat Embeddings models.
SambaNova embedding models.
Solar's embedding service.
Chat message history that stores history in Elasticsearch.
Chat message history stored in a Postgres database.
Chat message history stored in a SingleStoreDB database.
Translate text documents using Google Cloud Translation.
Approximate retrieval strategy using the HNSW algorithm.
Exact retrieval strategy using the script_score query.
Sparse retrieval strategy using the text_expansion processor.
Elasticsearch vector store.
Milvus vector store. DO NOT USE. KEPT FOR BACKWARDS COMPATIBILITY.
Postgres/PGVector vector store.
Couchbase Vector Store vector store.
Google Cloud BigQuery vector store.
ChromaDB vector store.
ElasticVectorSearch uses the brute force method of searching on vectors.
[DEPRECATED] Elasticsearch with k-nearest neighbor search
Azure Cosmos DB for NoSQL vector store.
SingleStore DB vector store.
Redis vector database.
BaseStore implementation using Upstash Redis
Combine cells information in a readable format ready to be used.
Recursively remove newlines, no matter the data structure they are stored in.
Combine message information in a readable format ready to be used.
Combine message information in a readable format ready to be used.
Combine message information in a readable format ready to be used.
Convert a string or list of strings to a list of Documents with metadata.
Fetch the mime types for the specified file types.
Fetch the mime types for the specified file types.
Try to detect the file encoding.
Check if the installed Unstructured version exceeds the minimum version
Raise an error if the Unstructured version does not exceed the
Retrieve a list of elements from the Unstructured API.
Default joiner for content columns.
Combine message information in a readable format ready to be used.
Get a parser by parser name.
Extract text from images with RapidOCR.
Return True if the model name is a Codey model.
Return True if the model name is a Gemini model.
Use tenacity to retry the completion call.
Use tenacity to retry the completion call.
Update token usage.
Use tenacity to retry the completion call.
Use tenacity to retry the async completion call.
Cut off the text as soon as any stop words occur.
Conditionally apply a decorator.
Use tenacity to retry the completion call.
Use tenacity to retry the completion call.
Use tenacity to retry the completion call.
Use tenacity to retry the completion call.
Use tenacity to retry the completion call for streaming.
Generate text from the model.
Use tenacity to retry the completion call.
Remove trailing slash and /api from url if present.
Use tenacity to retry the completion call.
Load LLM from Config Dict.
Load LLM from a file.
Get the notebook REPL context if running inside a Databricks notebook.
Get the default Databricks workspace hostname.
Get the default Databricks personal access token.
Check the response from the completion call.
Use tenacity to retry the completion call.
Use tenacity to retry the completion call.
Async version of stream_generate_with_retry.
Generate elements from an iterable,
Generate elements from an async iterable,
Use tenacity to retry the completion call.
Use tenacity to retry the completion call.
Use tenacity to retry the completion call.
Use tenacity to retry the async completion call.
Update token usage.
Create the LLMResult from the choices and prompts.
List available models
Get completions from Aviary models.
Default guardrail violation handler.
Hash a text using SHA256.
Create an index from a list of contexts.
Deprecated MilvusRetreiver. Please use MilvusRetriever ('i' before 'e') instead.
Create an index of embeddings for a list of contexts.
Clean an excerpt from Kendra.
Combine a ResultItem title and excerpt into a single string.
Create an index of embeddings for a list of contexts.
Create an index of embeddings for a list of contexts.
Deprecated ZillizRetreiver.
Merge chat runs together in a chat session.
Merge chat runs together.
Convert messages from the specified 'sender' to AI messages.
Convert messages from the specified 'sender' to AI messages.
Convert nanoseconds since 2001 to a datetime object.
Convert a value to a string and add double quotes if it is a string.
Convert a value to a string and add single quotes if it is a string.
Check if a string can be cast to a float.
Get the links from a document.
Add links to the given metadata.
Return a document with the given links added.
Return the networkx directed graph corresponding to the documents.
Render a collection of GraphVectorStore documents to GraphViz format.
Loads a tool from the HuggingFace Hub.
Load tools based on their name.
Get a list of all possible tool names.
Construct a SQL agent from an LLM and toolkit or database.
Simplify/distill/minify a spec somehow.
Construct an OpenAI API planner and controller for a given spec.
Construct an OpenAPI agent from an LLM and tools.
Construct a json agent from an LLM and tools.
Construct a Spark SQL agent from an LLM and tools.
Construct a Power BI agent from a Chat LLM and tools.
Construct a Power BI agent from an LLM and tools.
Save dict to local file path.
Builds an LLMonitor UserContextManager
Import the aim python package and raise an error if it is not installed.
Import the spacy python package and raise an error if it is not installed.
Import the pandas python package and raise an error if it is not installed.
Import the textstat python package and raise an error if it is not installed.
Flatten a nested dictionary into a flat dictionary.
Hash a string using sha1.
Load json file to a string.
Import the infino client.
Import tiktoken for counting tokens for OpenAI models.
Calculate num tokens for OpenAI with tiktoken package.
Import the mlflow python package and raise an error if it is not installed.
Get the metrics to log to MLFlow.
Get the text complexity metrics from textstat.
Analyze text using textstat and spacy.
Construct an html element from a prompt and a generation.
Standardize the model name to a format that can be used in the OpenAI API.
Get the cost in USD for a given model and number of tokens.
Import the fiddler python package and raise an error if it is not installed.
Import the getcontext package.
Get the OpenAI callback handler in a context manager.
Get the Bedrock anthropic callback handler in a context manager.
Get the WandbTracer in a context manager.
Import the uptrain package.
Import flytekit and flytekitplugins-deck-standard.
Analyze text using textstat and spacy.
Import the wandb python package and raise an error if it is not installed.
Load json file to a dictionary.
Analyze text using textstat and spacy.
Construct an html element from a prompt and a generation.
Import the clearml python package and raise an error if it is not installed.
Import comet_ml and raise an error if it is not installed.
Import the langkit python package and raise an error if it is not installed.
Get default Label Studio configs for the given mode.
Callback Handler that writes to a Streamlit app.
Utility to flatten a nest run object into a list of runs.
Utility to truncate a list of runs dictionaries to only keep the specified
Utility to modify the serialized field of a list of runs dictionaries.
Builds a nested dictionary from a list of runs.
Import comet_llm api and raise an error if it is not installed.
Remove a prefix from a text.
Extract Cypher code from a text.
Extract Cypher code from a text.
Extract Gremlin code from a text.
Extract Cypher code from a text.
Convert a Python function to an Ernie function-calling API compatible dict.
Convert a raw function/class to an Ernie function.
Get the appropriate function output parser given the user functions.
Create a runnable sequence that uses Ernie functions.
Create a runnable that uses an Ernie function to get a structured output.
[Legacy] Create an LLM chain that uses Ernie functions.
[Legacy] Create an LLMChain that uses an Ernie function to get a structured output.
Clear the identity and semantic enforcement filters in the retriever search_kwargs.
Set identity and semantic enforcement filters in the retriever.
Fetch the current Framework and Runtime details.
Fetch local runtime ip address.
Create a retry decorator for Vertex / Palm LLMs.
Raise ImportError related to Vertex SDK being not available.
Init Vertex AI.
Return a custom user agent header.
Load an image from Google Cloud Storage.
Parse a dictionary by creating
Extract elements from a dictionary.
Parse a JSON string and return the parsed object.
Fetch the first id from a dictionary.
Fetch data from a URL.
Fetch the team id.
Fetch the space id.
Fetch the folder id.
Fetch the list id.
Sanitize input string or dict of strings by replacing sensitive data with
Restore the original sensitive data from the sanitized text.
Check if a HTTP response is retryable.
Get the number of tokens in a string of text.
Get the token ids for a string of text.
Wrap a Cassandra response future in an asyncio future.
Execute a CQL query asynchronously.
Convert a JSON object to a markdown table.
Add single quotes around table names that contain spaces.
Truncate a string to a certain number of words, based on the max string
Sanitize a schema name to only contain letters, digits, and underscores.
Check if the correct Redis modules are installed.
Get a redis client from the connection url given. This helper accepts
Return an absolute local path for a local file/directory,
Return loader type among, file, dir or in-memory.
Return an absolute source path of source of loader based on the
Fetch the current Framework and Runtime details.
Fetch local runtime ip address.
Generate batches of documents based on page_content size.
Fetch owner of local file path.
Fetch size of source path. Source can be a directory or a file.
Calculate the content size in bytes:
Get the Arango DB client from credentials.
Parse knowledge triples from the knowledge string.
Extract entities from entity string.
Convert a message to a dictionary that can be passed to the API.
Return the body for the model router input.
Use tenacity to retry the completion call.
Use tenacity to retry the async completion call.
Context manager for connecting to an SSE stream.
Async context manager for connecting to an SSE stream.
Use tenacity to retry the async completion call.
Async context manager for connecting to an SSE stream.
Use tenacity to retry the async completion call.
Create a retry decorator for PremAI API errors.
Using tenacity for retry in completion call
Use tenacity to retry the completion call.
Use tenacity to retry the async completion call.
Process a single content item.
Process content to handle both text and media inputs,
Convert LangChain messages to Reka message format.
Convert a list of messages to a prompt for llama.
Convert a dict to a message.
Context manager for connecting to an SSE stream.
Async context manager for connecting to an SSE stream.
Convert a dict to a message.
Convert a message chunk to a message.
Convert a message to a dict.
Use tenacity to retry the async completion call.
Use tenacity to retry the completion call.
Use tenacity to retry the async completion call.
Get role of the message.
Get a request of the Friendli chat API.
Convert the yaml or json serialized spec to a dict.
Strip markdown code from a string.
Get the first n lines of a file.
Convert a file to base64.
Import google libraries.
Import InstalledAppFlow class.
Import googleapiclient.discovery.build function.
Get credentials.
Build a Gmail service.
Clean email body.
Call f on each item in seq, calling inter() in between.
Parse a file and pretty-print it to output.
Add print statement to the last line if it's missing.
Deprecated. Use DuckDuckGoSearchRun instead.
Detect if the file is local or remote.
Download audio from url to local.
Tool for asking the user for input.
Clean body of a message or event.
Authenticate using the Microsoft Graph API
Execute a function with the given arguments and return the result.
Upload a block to a signed URL and return the public URL.
Detect if the file is local or remote.
Download audio from url to local.
Authenticate using the Slack API.
Authenticate using the Amadeus API
Authenticate using the AIN Blockchain
Check if path is relative to root.
Resolve a relative path, raising an error if not within the root directory.
Asynchronously get the current page of the browser.
Get the current page of the browser.
Create an async playwright browser.
Create a playwright browser.
Run an async coroutine.
Lazy import playwright browsers.
Return a custom user agent header.
Return whether OpenAI API is v1 or more.
Row-wise cosine similarity between two equal-width matrices.
Row-wise cosine similarity with optional top-k and score threshold filtering.
Convert a Pydantic model to a function description for the Ernie API.
Convert a Pydantic model to a function description for the Ernie API.
Get user agent from environment variable.
Use tenacity to retry the embedding call.
Use tenacity to retry the embedding call.
Check if a URL is a local file.
Get the bytes string of a file.
Use tenacity to retry the embedding call.
Use tenacity to retry the embedding call.
Use tenacity to retry the embedding call.
Load the embedding model.
Create a retry decorator for PremAIEmbeddings.
Using tenacity for retry in embedding calls
Use tenacity to retry the completion call.
Use tenacity to retry the completion call.
Check if an endpoint is live by sending a GET request to the specified URL.
Use tenacity to retry the embedding call.
Use tenacity to retry the completion call.
Create a message model for a given table name.
Condense Zep memory into a human message.
Get the Zep role type from the role string.
Create topic if it doesn't exist, and return the number of partitions.
Create a DocumentTransformer that uses an OpenAI function chain to automatically
Convert a list of documents to a list of documents with state.
Get all navigable strings from a BeautifulSoup element.
Async version of enumerate function.
Convert a dictionary to a LangChain message.
Convert a LangChain message to a dictionary.
Convert dictionaries representing OpenAI messages to LangChain format.
Convert messages to a list of lists of dictionaries for fine-tuning.
Calculate maximal marginal relevance.
Filter out metadata types that are not supported for a vector store.
Normalize vectors to unit length.
Import scann if available, otherwise raise error.
Check if a string contains multiple substrings.
Import faiss if available, otherwise raise error.
Get the embedding store class.
Convert a dictionary to a YAML-like string without using external libraries.
Construct a metadata filter by directly injecting
Processes a nested list of entity data
Import lancedb package.
Converts a dict filter to a LanceDB filter string.
Translate LangChain filter to Tencent VectorDB filter.
Check if a string contains multiple substrings.
Serializes a list of floats into a compact "raw bytes" format
Import annoy if available, otherwise raise error.
Check if a string has multiple substrings.
Print a debug message if DEBUG is True.
Get a named result from a query.
Import tiledb-vector-search if available, otherwise raise error.
Get the URI of the vector index.
Get the URI of the documents array from group.
Get the URI of the vector index.
Get the URI of the documents array.
Import usearch if available, otherwise raise error.
Create metadata from fields.
Read in the index schema from a dict or yaml file.
Decorator to check for misuse of equality operators.
Check if Redis index exists.
Compute ngram overlap score of source and example as sentence_bleu score
Convert nodes to documents.
Extract Cypher code from a text.
Filter the schema based on included or excluded types
Clean string values for schema.
Sanitize the input dictionary or list.
Entrypoint into langchain-community.
.. warning::
Document Loaders are classes to load Documents.
Web base loader class.
Loads RST files.
Loads YouTube transcript.
Loads Microsoft Excel files.
Loads .ipynb notebook files.
Loads data from OneNote Notebooks
Loader that uses unstructured to load HTML files.
ScrapingAnt Web Extractor.
Document Loader for ArcGIS FeatureLayers.
Scrapfly Web Reader.
Simple reader that reads weather data from OpenWeatherMap API
Loads rich text files.
Loader that uses Selenium to load a page, then uses unstructured to load the html.
Document loader for EverNote ENEX export files.
Loader that uses Playwright to load a page, then uses unstructured to parse html.
Load Documents from Docusarus Documentation
Loads Microsoft Excel files.
Base class for all loaders that uses O365 Package
Pebblo's safe dataloader is a wrapper for document loaders
Document loader helpers.
Loads word documents.
Loader that uses unstructured to load HTML files.
Loader that loads data from Sharepoint Document Library
Loader that uses unstructured to load files.
Use to load blobs from the local file system.
Use to load blobs from the local file system.
Module for parsing text files..
Module contains a PDF parser based on Document AI from Google Cloud.
Code for generic / auxiliary parsers.
Module includes a registry of default parser configurations.
Module contains common parsers for PDFs.
Loader that uses bs4 to load HTML files, enriching metadata with page title.
LLM classes provide
Common utility functions for LLM APIs.
Wrapper around Together AI's Completion API.
Wrapper around EdenAI's Generation API.
Wrapper around Minimax APIs.
Base interface for loading large language model APIs.
Wrapper around Konko AI's Completion API.
LLM for OCI data science model deployment endpoint.
RWKV models.
Sagemaker InvokeEndpoint API.
Wrapper around Anyscale Endpoint
Retriever class returns Documents given a text query.
Taken from: https://docs.pinecone.io/docs/hybrid-search
Milvus Retriever
KNN Retriever.
Wrapper around Dria Retriever.
Retriever wrapper for Google Cloud Document AI Warehouse.
Wrapper around Elasticsearch vector database.
Wrapper around Embedchain Retriever.
Retriever wrapper for Google Vertex AI Search.
Index is used to avoid writing duplicated content
OutputParser classes parse the output of an LLM call.
Chat Loaders load chat messages from common communications platforms.
Utilities for chat loaders.
Logic for converting internal query language to a valid Milvus query.
Logic for converting internal query language to a valid DashVector query.
Logic for converting internal query language to a valid AstraDB query.
Logic for converting internal query language to a valid MongoDB Atlas query.
Logic for converting internal query language to a valid Chroma query.
.. title:: Graph Vector Store
Utilities for using Graph Vector Stores with networkx.
Tools for the Graph Traversal Maximal Marginal Relevance (MMR) reranking.
Apache Cassandra DB graph vector store integration.
Toolkits are sets of tools that can be used to interact with
Tools provide access to various resources and services.
Toolkits for agents.
This module contains the ConneryToolkit.
GitLab Toolkit.
GitLab Toolkit.
Gmail toolkit.
SQL agent.
Toolkit for interacting with an SQL database.
SQL agent.
Polygon Toolkit
NASA Toolkit
financial datasets toolkit.
Jira Toolkit.
Office365 toolkit.
OpenAPI spec agent.
Quick and dirty representation for OpenAPI specs.
Agent that interacts with OpenAPI APIs via a hierarchical planning approach.
Requests toolkit.
OpenAPI spec agent.
GitHub Toolkit.
GitHub Toolkit.
Json agent.
Json agent.
Spark SQL agent.
Toolkit for interacting with Spark SQL.
Spark SQL agent.
Zapier Toolkit.
[DEPRECATED] Zapier Toolkit.
Tool for interacting with a single API with natural language definition.
Apache Cassandra Toolkit.
Apache Cassandra Toolkit.
CogniSwitch Toolkit
Slack toolkit.
AINetwork toolkit.
Steam Toolkit.
Steam Toolkit.
Local file management toolkit.
Power BI agent.
Prompts for PowerBI agent.
Power BI agent.
Toolkit for interacting with a Power BI dataset.
Power BI agent.
MultiOn Toolkit.
MultiOn agent.
Playwright browser toolkit.
Playwright web browser toolkit.
Callback handlers allow listening to events in LangChain.
Callback Handler that prints to std out.
Callback handler for Context AI
ArthurAI's Callback Handler.
UpTrain Callback Handler
FlyteKit callback handler.
Ratelimiting Handler to limit requests or tokens
Callback handler for promptlayer.
Callback Handler that prints to streamlit.
Tracers that record execution of LangChain runs.
A Tracer Implementation that records activity to Weights & Biases.
Chains module for langchain_community
Chain that hits a URL and then uses an LLM to parse results.
Implement a GPT-3 driven browser.
Response parser.
request parser.
Chain that makes API calls and summarizes the responses to answer a question.
Question answering over a knowledge graph.
Question answering over a graph.
Question answering over an RDF or OWL graph using SPARQL.
Question answering over a graph.
Question answering over a graph.
Question answering over a graph.
Question answering over a graph.
Question answering over a graph.
Question answering over a graph.
Question answering over a graph.
Question answering over a graph.
Question answering over a graph.
Methods for creating chains that use Ernie function-calling APIs.
Models for the PebbloRetrievalQA chain.
Identity & Semantic Enforcement filters for PebbloRetrievalQA chain:
Pebblo Retrieval Chain with Identity & Semantic Enforcement for question-answering
Utilities are the integrations with third-party systems and packages.
Util that calls several of Polygon's stock market REST APIs.
A common module for NVIDIA Riva Runnables.
Util that calls AlphaVantage for Currency Exchange Rate.
Wrapper for the Reddit API
Utilities to init Vertex AI.
Utility functions for parsing an OpenAPI spec.
Util that calls several NASA APIs.
Util that calls Jira.
Util that calls clickup.
Util that calls Google Scholar Search.
Util that calls bibtexparser.
Util that calls Tavily Search API.
Util that calls Steam-WebAPI.
Util that calls Bing Search.
Util that invokes the Passio Nutrition AI API.
Wrapper for Rememberizer APIs.
Util that calls Google Lens Search.
Util that calls Wikidata.
Util that calls Twilio.
Util that calls several of financial datasets stock market REST APIs.
Util that calls DuckDuckGo Search.
Util that calls AskNews api.
Util that calls Google Scholar Search.
Util that calls Merriam-Webster.
Lightweight wrapper around requests library, with async support.
Util that calls Metaphor Search API.
Util that can interact with Zapier NLA.
Chain that calls SerpAPI.
Util that calls gitlab.
Utility for using SearxNG meta search API.
Util that calls Outline.
Wrapper around a Power BI endpoint.
Util that calls Google Search using the Serper.dev API.
Util that calls Google Scholar Search.
Utils for interacting with the Semantic Scholar API.
SQLAlchemy wrapper around a database.
Utility that calls OpenAI's Dall-E Image Generator.
Util that calls SceneXplain.
Util that calls GitHub.
Util that calls Golden.
Util that sends messages via Infobip.
Util that calls Lambda.
DO NOT USE. Kept for backward compatibility for web search retriever.
Util that calls Google Books.
Util that calls Google Finance Search.
Util that calls you.com Search API.
Util that calls WolframAlpha.
Util that calls Dataherald.
Apache Cassandra database wrapper.
Util that calls OpenWeatherMap using PyOWM.
Util that calls Wikipedia.
Util that calls Arxiv.
Graphs provide a natural language interface to graph databases.
Networkx wrapper for graph operations.
Chat Models are a variation on language models.
ZhipuAI chat models wrapper.
Fake ChatModel for testing purposes.
DO NOT USE; KEPT FOR BACKWARDS COMPAT.
JinaChat wrapper.
Chat model for OCI data science model deployment endpoint.
deepinfra.com chat models wrapper
Writer chat wrapper.
Wrapper around Prem's Chat API.
Wrapper around Google's PaLM Chat API.
PromptLayer wrapper.
MLX Chat Wrapper.
EverlyAI Endpoints chat wrapper. Relies heavily on ChatOpenAI.
Wrapper around Minimax chat models.
ChatModel wrapper which returns user input as the response..
Kinetica SQL generation LLM API.
KonkoAI chat wrapper.
ChatYuan2 wrapper.
Wrapper around YandexGPT chat models.
Anyscale Endpoints chat wrapper. Relies heavily on ChatOpenAI.
OctoAI Endpoints chat wrapper. Relies heavily on ChatOpenAI.
Wrapper around Moonshot chat models.
Docstores are classes to store and load Documents.
Simple in memory docstore in the form of a dict.
Interface to access to place that stores documents.
Wrapper around wikipedia API.
Tools are classes that an Agent uses to interact with the world.
From https://github.com/SidU/teams-langchain-js/wiki/Connecting-IFTTT-Services.
Tool for the Google Books API.
SceneXplain API toolkit.
Tool for the SceneXplain API.
Tool for the SearxNG search API.
Dataherald API toolkit.
Tool for the Dataherald Hosted API
You.com API toolkit.
PubMed API toolkit.
Metaphor Search API toolkit.
Tool for the Metaphor search API.
This module contains the ConneryAction Tool and ConneryService.
GitLab Tool
This tool allows agents to interact with the python-gitlab library
Golden API toolkit.
Tool for the Golden API.
Shell tool.
Bing Search API toolkit.
Tool for the Bing search API.
Google Trends API Toolkit.
Tool for the Google Trends
Edenai Tools.
Google Cloud Tools.
Tool for the Nuclia Understanding API.
Unsupervised learning based memorization.
Gmail tools.
Gmail tool utils.
Send Gmail messages.
Base class for Gmail tools.
Polygon IO tools.
Google Jobs API Toolkit.
Tool for the Google Trends
This tool allows agents to interact with the NASA API, specifically
Usage: unparse.py
Tool to generate an image using DALLE OpenAI V1 SDK.
Tool for the OpenAI DALLE V1 Image Generation SDK.
Tool implementations for the Riza (https://riza.io) code interpreter API.
OpenWeatherMap API toolkit.
Tool for the OpenWeatherMap API.
Google Lens API Toolkit.
Tool for the Google Lens
Tool for the SemanticScholar API.
Sleep tool.
Tool for agent to sleep.
DuckDuckGo Search API toolkit.
Tool for the DuckDuckGo search API.
This tool allows agents to interact with the clickup library
Passio Nutrition AI API toolkit.
Tool for the Passio Nutrition AI API.
financial datasets tools.
Jira Tool.
This tool allows agents to interact with the atlassian-python-api library
Azure AI Services Tools.
Simple tool wrapper around VectorDBQA chain.
Tools for interacting with vectorstores.
Tools for interacting with the user.
Tools for interacting with the user.
O365 tools.
Util that Searches calendar events in Office 365.
O365 tool utils.
Util that sends calendar events in Office 365.
Base class for Office 365 tools.
Util that Searches email messages in Office 365.
Utility functions for parsing an OpenAPI spec. Kept for backwards compat.
Pydantic models for parsing an OpenAPI spec.
GitHub Tool
This tool allows agents to interact with the pygithub library
Merriam-Webster API toolkit.
Tool for the Merriam-Webster API.
Eleven Labs Services Tools.
Tools for interacting with a JSON file.
Tools for working with JSON specs.
Tools for making requests to an API endpoint.
Tools for making requests to an API endpoint.
Jina AI toolkit
Tools for interacting with Spark SQL.
Tools for interacting with Spark SQL.
Adapted from https://github.com/venuv/langchain_yt_tools
Zapier Tool.
[DEPRECATED]
Tools for interacting with a SQL database.
Tools for interacting with a SQL database.
Wolfram Alpha API toolkit.
Tool for the Wolfram Alpha API.
Google Scholar API Toolkit.
Tool for the Google Scholar
Tool for the Arxiv API.
Tool for the DataForSeo SERP API.
Google Finance API Toolkit.
Tool for the Google Finance
Tool to generate an image.
Steamship Utils.
This tool allows agents to generate images using Steamship.
Azure Cognitive Services Tools.
Tools for interacting with a GraphQL API
StackExchange API toolkit.
Tool for the Wikipedia API.
Cassandra Tool
Tools for interacting with an Apache Cassandra database.
Tools for interacting with an Apache Cassandra database.
Cogniswitch Tools
Slack tools.
Slack tool utils.
Base class for Slack tools.
Amadeus tools.
O365 tool utils.
Base class for Amadeus tools.
Tool for the SearchApi.io search API.
Tavily Search API toolkit.
Tool for the Tavily search API.
Tool for asking for human input.
Tool for asking human input.
AskNews API toolkit.
Tool for the AskNews API.
Tool for the Serper.dev Google Search API.
AINetwork Blockchain tool utils.
Steam API toolkit
Tool for Steam Web API
File Management Tools.
Tools for interacting with a PowerBI dataset.
Tools for interacting with a Power BI dataset.
MutliOn Client API tools.
Wikipedia API toolkit.
Tool for the Wikipedia API.
Wikidata API toolkit.
Tool for the Wikidata API.
Browser tools and toolkit.
Utilities for the Playwright browser tools.
langchain-community utilities.
Utilities to use Google provided components.
Math utils.
Embedding models are wrappers around embedding models
Wrapper around Bookend AI embedding models.
HuggingFace sentence_transformer embedding models.
written under MIT Licence, Michael Feil 2023.
written under MIT Licence, Michael Feil 2023.
Wrapper around Xinference embedding models.
This file is for LLMRails Embedding
Azure OpenAI embeddings wrapper.
TextEmbed: Embedding Inference Server
Wrapper around YandexGPT embedding models.
Wrapper around text2vec embedding models.
Anyscale embeddings wrapper.
Wrapper around model2vec embedding models.
Chat message history stores a history of the message interactions in a chat.
Azure CosmosDB Memory History.
Firestore Chat Message History.
Cassandra-based chat message history, based on cassIO.
Kafka-based chat message history by using confluent-kafka-python.
Cross encoders are wrappers around cross encoder models from different APIs and
Document Transformers are classes to transform Documents.
Document transformers that use OpenAI Functions models
Transform documents
Reorder documents
Adapters are used to adapt LangChain models to other APIs.
Vector store stores embedded data and performs vector search.
Utility functions for working with vectors and vectorstores.
Wrapper around the Baidu vector database.
Wrapper around Epsilla vector database.
VectorStore wrapper around a Postgres-TimescaleVector database.
Vector Store in Google Cloud BigQuery.
Pathway Vector Store client.
Wrapper around LLMRails vector database.
Module providing Infinispan as a VectorStore
Wrapper around the Tencent vector database.
Wrapper around Vald vector database.
Wrapper around scikit-learn NearestNeighbors implementation.
Wrapper around TileDB vector database.
Wrapper around in-memory storage.
Wrapper around Redis vector database.
Example selector implements logic for selecting examples to include them in
Select and order examples based on ngram overlap score (sentence_bleu score).
Storage is an implementation of key-value store.