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
async redis.asyncio.Redis client.
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.
Example:
.. code-block:: python
import cassio
from langchain_community.cache import CassandraCache
from langchain_cor
Cache that uses Cassandra as a vector-store backend for semantic (i.e. similarity-based) lookup.
Example:
.. code-block:: python
import cassio
from langchain_community.cache im
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
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.
Wrapper for SceneXplain API.
In order to set this up, you need API key for the SceneXplain API. You can obtain a key by following the steps below.
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 Zapier NLA.
Full docs here: https://nla.zapier.com/start/
This wrapper supports both API Key and OAuth Credential auth methods. API Key is the fastest way to get started using this wrapp
SQLAlchemy wrapper around a database.
Wrapper for SerpApi's Google Scholar API
You can create SerpApi.com key by signing up at: https://serpapi.com/users/sign_up.
The wrapper uses the SerpApi.com python package: https://serpapi.com/inte
Wrapper around the DataForSeo API.
Wrapper around the Brave search engine.
Access to the TensorFlow Datasets.
The Current implementation can work only with datasets that fit in a memory.
TensorFlow Datasets is a collection of datasets ready to use, with TensorFlow
or oth
Wrapper around the Wikidata API.
To use, you should have the wikibase-rest-api-client and
mediawikiapi python packages installed.
This wrapper will use the Wikibase APIs to conduct searches
Wrapper for Wolfram Alpha.
Docs for using:
Context manager to hide prints.
Wrapper around SerpAPI.
To use, you should have the google-search-results python package installed,
and the environment variable SERPAPI_API_KEY set with your API key, or pass
`serpapi_api_ke
Jira OAuth2 token.
Jira OAuth2.
Wrapper for Jira API. You can connect to Jira with either an API token or OAuth2.
Wrapper for Infobip API for messaging.
Wrapper around the Serper.dev Google Search API.
You can create a free API key at https://serper.dev.
To use, you should have the environment variable SERPER_API_KEY
set with your API key, or pa
Messaging Client using Twilio.
To use, you should have the twilio python package installed,
and the environment variables TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN, and
TWILIO_FROM_NUMBER
Wrapper around WikipediaAPI.
To use, you should have the wikipedia python package installed.
This wrapper will use the Wikipedia API to conduct searches and
fetch page summaries. By default, it w
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.
For more details, see: https://www.arcee.ai/
Portkey configuration.
Wrapper for Stack Exchange API.
Wrapper for OpenWeatherMap API using PyOWM.
Docs for using:
Wrapper around Google Books API.
To use, you should have a Google Books API key available. This wrapper will use the Google Books API to conduct searches and fetch books based on a query passed in by
Wrapper for NASA API.
Wrapper for SerpApi's Google Lens API
You can create SerpApi.com key by signing up at: https://serpapi.com/users/sign_up.
The wrapper uses the SerpApi.com python package: https://serpapi.com/integra
Wrapper for AlphaVantage API for Currency Exchange Rate.
Docs for using:
Enumerator of the HTTP verbs.
OpenAPI Model that removes mis-formatted parts of the spec.
Wrapper for financial datasets API.
Wrapper around semanticscholar.org API. https://github.com/danielnsilva/semanticscholar
You should have this library installed.
pip install semanticscholar
Semantic Scholar API can conduct search
Wrapper around PubMed API.
This wrapper will use the PubMed API to conduct searches and fetch document summaries. By default, it will return the document summaries of the top-k results of an input se
An empty Sentinel type.
An enum of the possible choices for Riva audio encoding.
The list of types exposed by the Riva GRPC Protobuf files can be found with the following commands:
import riva.client
print(riva.cl
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 GitHub API.
Escape punctuation within an input string.
Wrapper around requests to handle auth and async.
The main purpose of this wrapper is to handle authentication (by saving headers) and enable easy async methods on the same base object.
Lightweight wrapper around requests library.
Lightweight wrapper around requests library, with async support.
The main purpose of this wrapper is to always return a json output.
Lightweight wrapper around requests library, with async support.
The main purpose of this wrapper is to always return a text output.
Wrapper around the Jina search engine.
Setup mode for AstraDBEnvironment as enumerator.
Wrapper for AWS Lambda SDK.
To use, you should have the boto3 package installed
and a lambda functions built from the AWS Console or
CLI. Set up your AWS credentials with aws configure
Wrapper for Dataherald.
Docs for using:
Wrapper for OpenAI's DALL-E Image Generator.
https://platform.openai.com/docs/guides/images/generations?context=node
Usage instructions:
pip install openaiWrapper for AskNews API.
Wrapper for Tavily Search API.
Wrapper around Dria API.
This wrapper facilitates interactions with Dria's vector search and retrieval services, including creating knowledge bases, inserting data, and fetching search results.
Interface for querying Alibaba Cloud MaxCompute tables.
Wrapper for SerpApi's Google Finance API
You can create SerpApi.com key by signing up at: https://serpapi.com/users/sign_up. The wrapper uses the SerpApi.com python package: https://serpapi.com/integ
Wrapper around ArxivAPI.
To use, you should have the arxiv python package installed.
https://lukasschwab.me/arxiv.py/index.html
This wrapper will use the Arxiv API to conduct searches and
fetch d
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.
Dict like wrapper around search api results.
Wrapper for Searx API.
To use you need to provide the searx host by passing the named parameter
searx_host or exporting the environment variable SEARX_HOST.
In some situations you might want
Wrapper around SearchApi API.
To use, you should have the environment variable SEARCHAPI_API_KEY
set with your API key, or pass searchapi_api_key
as a named parameter to the constructor.
Wrapper around GraphQL API.
To use, you should have the gql python package installed.
This wrapper will use the GraphQL API to conduct queries.
Wrapper for Steam API.
Apache Cassandra® database wrapper.
Exception raised for errors in the database schema.
Wrapper for Merriam-Webster.
Docs for using:
Wrapper for Polygon API.
Wrapper for Google Scholar API
You can create serpapi key by signing up at: https://serpapi.com/users/sign_up.
The wrapper uses the serpapi python package: https://serpapi.com/integrations/python#se
Wrapper for DuckDuckGo Search API.
Free and does not require any setup.
Wrapper for Metaphor Search API.
Wrapper around OutlineAPI.
This wrapper will use the Outline API to query the documents of your instance. By default it will return the document content of the top-k results. It limits the document c
Wrapper for GitLab API.
Wrapper for Reddit API
To use, set the environment variables REDDIT_CLIENT_ID,
REDDIT_CLIENT_SECRET, REDDIT_USER_AGENT to set the client ID,
client secret, and user agent, respectively, a
Wrapper for Golden.
Docs for using:
Wrapper for Rememberizer APIs.
Wrapper around bibtexparser.
To use, you should have the bibtexparser python package installed.
https://bibtexparser.readthedocs.io/en/master/
This wrapper will use bibtexparser to load a collec
SparkSQL is a utility class for interacting with Spark SQL.
Wrapper for SerpApi's Google Scholar API
You can create SerpApi.com key by signing up at: https://serpapi.com/users/sign_up. The wrapper uses the SerpApi.com python package: https://serpapi.com/integ
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.
To connect to the You.com api requires an API key which you can get at https://api.you.com. You can check out the docs at https://documentation.you.com/api-re
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.
Create PowerBI engine from dataset ID and credential or token.
Use either the credential or a supplied token to authenticate. If both are supplied the credential is used to generate a token. The impe
Custom embedding models on self-hosted remote hardware.
Supported hardware includes auto-launched instances on AWS, GCP, Azure, and Lambda, as well as servers specified by IP address and SSH credenti
Model2Vec embedding models.
Install model2vec first, run 'pip install -U model2vec'. The github repository for model2vec is : https://github.com/MinishLab/model2vec
OctoAI Compute Service embedding models.
See https://octo.ai/ for information about OctoAI.
To use, you should have the openai python package installed and the
environment variable ``OCTOAI_API_
NLP Cloud embedding models.
To use, you should have the nlpcloud python package installed
ZhipuAI embedding model integration.
Setup:
To use, you should have the ``zhipuai`` python package installed, and the
environment variable ``ZHIPU_API_KEY`` set with your API KEY.
More
Volcengine Embeddings embedding models.
Quantized bi-encoders embedding models.
Please ensure that you have installed optimum-intel and ipex.
LocalAI embedding models.
Since LocalAI and OpenAI have 1:1 compatibility between APIs, this class
uses the openai Python package's openai.Embedding as its client.
Thus, you should have the `
NCP ClovaStudio Embedding API.
following environment variables set or passed in constructor in lower case:
NCP_CLOVASTUDIO_API_KEYNCP_APIGW_API_KEYNCP_CLOVASTUDIO_APP_IDHuggingFace embedding models on self-hosted remote hardware.
Supported hardware includes auto-launched instances on AWS, GCP, Azure, and Lambda, as well as servers specified by IP address and SSH cre
HuggingFace InstructEmbedding models on self-hosted remote hardware.
Supported hardware includes auto-launched instances on AWS, GCP, Azure, and Lambda, as well as servers specified by IP address and
llama.cpp embedding models.
To use, you should have the llama-cpp-python library installed, and provide the path to the Llama model as a named parameter to the constructor. Check out: https://github.
LLMRails embedding models.
To use, you should have the environment
variable LLM_RAILS_API_KEY set with your API key or pass it
as a named parameter to the constructor.
Model can be one of ["emb
Leverage Itrex runtime to unlock the performance of compressed NLP models.
Please ensure that you have installed intel-extension-for-transformers.
Llamafile lets you distribute and run large language models with a single file.
To get started, see: https://github.com/Mozilla-Ocho/llamafile
To use this class, you will need to first:
ModelScopeHub embedding models.
To use, you should have the modelscope python package installed.
A class to handle embedding requests to the TextEmbed API.
A client to handle synchronous and asynchronous requests to the TextEmbed API.
Fake embedding model.
Fake embedding model that always returns the same embedding vector for the same text.
Javelin AI Gateway embeddings.
To use, you should have the javelin_sdk python package installed.
For more information, see https://docs.getjavelin.io
EdenAI embedding.
environment variable EDENAI_API_KEY set with your API key, or pass
it as a named parameter.
Embeddings by spaCy models.
Custom exception for interfacing with Takeoff Embedding class.
Exception raised when no consumer group is provided on initialization of TitanTakeoffEmbed or in embed request.
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.
Use it to send embedding requests and to deploy embedding readers with Takeoff.
Gradient.ai Embedding models.
GradientLLM is a class to interact with Embedding Models on gradient.ai
To use, set the environment variable GRADIENT_ACCESS_TOKEN with your
API token and ``GRADIEN
Deprecated, TinyAsyncGradientEmbeddingClient was removed.
This class is just for backwards compatibility with older versions of langchain_community. It might be entirely removed in the future.
Baidu Qianfan Embeddings embedding models.
Content handler for LLM class.
Custom Sagemaker Inference Endpoints.
To use, you must supply the endpoint name from your deployed Sagemaker model & the region where it is deployed.
To authenticate, the AWS client uses the followi
Clarifai embedding models.
To use, you should have the clarifai python package installed, and the
environment variable CLARIFAI_PAT set with your personal access token or pass it
as a named p
Bookend AI sentence_transformers embedding models.
Embedding documents and queries with Awa DB.
Wrapper around the BGE embedding model with IPEX-LLM optimizations on Intel CPUs and GPUs.
To use, you should have the ipex-llm
and sentence_transformers package installed. Refer to
`here <ht
OpenVINO embedding models.
OpenVNO BGE embedding models.
MiniMax embedding model integration.
Prem's Embedding APIs
Anyscale Embeddings API.
Qdrant FastEmbedding models.
FastEmbed is a lightweight, fast, Python library built for embedding generation. See more documentation at:
JohnSnowLabs embedding models
To use, you should have the johnsnowlabs python package installed.
Example:
.. code-block:: python
from langchain_community.embeddings.johnsnowlabs impo
Payload for the Embaas embeddings API.
Embaas's embedding service.
To use, you should have the
environment variable EMBAAS_API_KEY set with your API key, or pass
it as a named parameter to the constructor.
Deep Infra's embedding inference service.
To use, you should have the
environment variable DEEPINFRA_API_TOKEN set with your API token, or pass
it as a named parameter to the constructor.
There a
OVHcloud AI Endpoints Embeddings.
Google's PaLM Embeddings APIs.
Baichuan Text Embedding models.
LASER Language-Agnostic SEntence Representations. LASER is a Python library developed by the Meta AI Research team and used for creating multilingual sentence embeddings for over 147 languages as of 2
OCI authentication types as enumerator.
OCI embedding models.
To authenticate, the OCI client uses the methods described in https://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdk_authentication_methods.htm
The authentifcation method
MLflow AI Gateway embeddings.
To use, you should have the mlflow[gateway] python package installed.
For more information, see https://mlflow.org/docs/latest/gateway/index.html.
GPT4All embedding models.
To use, you should have the gpt4all python package installed
Ascend NPU accelerate Embedding model
Please ensure that you have installed CANN and torch_npu.
Example:
from langchain_community.embeddings import AscendEmbeddings model = AscendEmbeddings(model_p
Embedding LLMs in MLflow.
To use, you should have the mlflow[genai] python package installed.
For more information, see https://mlflow.org/docs/latest/llms/deployments.
Cohere embedding LLMs in MLflow.
Self-hosted embedding models for infinity package.
See https://github.com/michaelfeil/infinity This also works for text-embeddings-inference and other self-hosted openai-compatible servers.
Infini
Helper tool to embed Infinity.
It is not a part of Langchain's stable API, direct use discouraged.
MosaicML embedding service.
To use, you should have the
environment variable MOSAICML_API_TOKEN set with your API token, or pass
it as a named parameter to the constructor.
YandexGPT Embeddings models.
To use, you should have the yandexcloud python package installed.
There are two authentication options for the service account
with the ai.languageModels.user ro
Tencent Hunyuan embedding models API by Tencent.
For more information, see https://cloud.tencent.com/document/product/1729
DashScope embedding models.
To use, you should have the dashscope python package installed, and the
environment variable DASHSCOPE_API_KEY set with your API key or pass it
as a named paramete
Optimized Infinity embedding models.
https://github.com/michaelfeil/infinity This class deploys a local Infinity instance to embed text. The class requires async usage.
Infinity is a class to intera
URL class for parsing the URL.
SparkLLM embedding model integration.
Exception raised for errors in the header assembly.
Xinference embedding models.
To use, you should have the xinference library installed:
.. code-block:: bash
pip install xinference
If you're simply using the services provided by Xinference, y
Aleph Alpha's asymmetric semantic embedding.
AA provides you with an endpoint to embed a document and a query. The models were optimized to make the embeddings of documents and the query for a docume
Symmetric version of the Aleph Alpha's semantic embeddings.
The main difference is that here, both the documents and queries are embedded with a SemanticRepresentation.Symmetric Example: .. code-
text2vec embedding models.
Install text2vec first, run 'pip install -U text2vec'. The github repository for text2vec is : https://github.com/shibing624/text2vec
Jina embedding models.
TensorflowHub embedding models.
To use, you should have the tensorflow_text python package installed.
Docstore via arbitrary lookup function.
Wikipedia API.
Simple in memory docstore in the form of a dict.
Interface to access to place that stores documents.
Mixin class that supports adding texts.
Input for the GoogleBooksQuery tool.
Tool that searches the Google Books API.
Input for the YahooFinanceNews tool.
Tool that searches financial news on Yahoo Finance.
API Configuration.
AI Plugin Definition.
Schema for AIPluginTool.
Tool for getting the OpenAPI spec for an AI Plugin.
IFTTT Webhook.
Tool that asks user for input.
Tool that queries the BraveSearch.
Api key can be provided as an environment variable BRAVE_SEARCH_API_KEY or as a parameter.
Example usages: .. code-block:: python # uses BRAVE_SEARCH_API_KEY f
Riza Code tool.
A tool implementation to execute JavaScript via Riza's Code Interpreter API.
Tool for interacting with the GitHub API.
Tool that queries the Atlassian Jira API.
Commands for the Bash Shell tool.
Tool to run shell commands.
Base tool for interacting with a SQL database.
Tool for querying a SQL database.
.. versionchanged:: 0.3.12
Renamed from QuerySQLDataBaseTool to QuerySQLDatabaseTool.
Legacy name still works for backwards compatibility.
Tool for getting metadata about a SQL database.
Tool for getting tables names.
Use an LLM to check if a query is correct. Adapted from https://www.patterns.app/blog/2023/01/18/crunchbot-sql-analyst-gpt/
Input for the Arxiv tool.
Tool that searches the Arxiv API.
Tool for querying a Power BI Dataset.
Tool for getting metadata about a PowerBI Dataset.
Tool for getting tables names.
Input for the AskNews Search tool.
Tool that searches the AskNews API.
Tool that queries the Bing search API.
Bing Search tool.
Tool that queries the Google Finance API.
Input for CreateSessionTool.
Tool that creates a new Multion Browser Window with provided fields.
Input for UpdateSessionTool.
Tool that updates an existing Multion Browser Window with provided fields.
Input for UpdateSessionTool.
Tool that closes an existing Multion Browser Window with provided fields.
Tool that queries the Google trends API.
Input for the Jina search tool.
Tool that queries the JinaSearch.
..versionadded:: 0.2.16
Input for the SemanticScholar tool.
Tool that searches the semanticscholar API.
Tool that queries the Clickup API.
the base tool for all the EdenAI Tools .
you should have
the environment variable EDENAI_API_KEY set with your API token.
You can find your token here: https://app.edenai.run/admin/account/setting
Tool that queries the Eden AI Text to speech API. for api reference check edenai documentation: https://docs.edenai.co/reference/audio_text_to_speech_create.
To use, you should have the environment v
Tool that queries the Eden AI Explicit text detection.
for api reference check edenai documentation: https://docs.edenai.co/reference/image_explicit_content_create.
To use, you should have the envir
Tool that queries the Eden AI Speech To Text API.
for api reference check edenai documentation: https://app.edenai.run/bricks/speech/asynchronous-speech-to-text.
To use, you should have the environm
Tool that queries the Eden AI Explicit image detection.
for api reference check edenai documentation: https://docs.edenai.co/reference/image_explicit_content_create.
To use, you should have the envi
Tool that queries the Eden AI Identity parsing API.
for api reference check edenai documentation: https://docs.edenai.co/reference/ocr_identity_parser_create.
To use, you should have the environmen
Tool that queries the Eden AI Object detection API.
for api reference check edenai documentation: https://docs.edenai.co/reference/image_object_detection_create.
To use, you should have the environm
Tool that queries the Eden AI Invoice parsing API.
for api reference check edenai documentation: https://docs.edenai.co/reference/ocr_invoice_parser_create.
To use, you should have the environment v
Input for CopyFileTool.
Tool that adds the capability to sleep.
Inputs to the Passio Nutrition AI tool.
Tool that queries the Passio Nutrition AI API.
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. Adapted from https://www.patterns.app/blog/2023/01/18/crunchbot-sql-analyst-gpt/
Schema for transfer operations.
Tool for transfer operations.
Schema for value operations.
Tool for value operations.
Schema for owner operations.
Tool for owner operations.
Type of app operation as enumerator.
Schema for app operations.
Tool for app operations.
Schema for owner operations.
Tool for owner operations.
Type of operation as enumerator.
Base class for the AINetwork tools.
Input for SendMessageTool.
Send an email in Office 365.
Input for CreateEvent Tool.
Tool for sending calendar events in Office 365.
Input for SendMessageTool.
Tool for creating a draft email in Office 365.
Input for SearchEmails Tool.
Search email messages in Office 365.
Free, but setup is required.
Input for SearchEmails Tool.
From https://learn.microsoft.com/en-us/graph/search-query-parameter
Search calendar events in Office 365.
Free, but setup is required
Base class for the Office 365 tools.
Traverse an AST and output source code for the abstract syntax; original formatting is disregarded.
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.
Base class for JSON spec.
Tool for listing keys in a JSON spec.
Tool for getting a value in a JSON spec.
Tool that queries the OpenWeatherMap API.
Input for the DuckDuckGo search tool.
DuckDuckGo tool.
Tool that queries the DuckDuckGo search API and
returns the results in output_format.
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.
Models available for Eleven Labs Text2Speech.
Models available for Eleven Labs Text2Speech.
Tool that queries the Eleven Labs Text2Speech API.
In order to set this up, follow instructions at: https://elevenlabs.io/docs
Tool that queries the Azure AI Services Text to Speech API.
In order to set this up, follow instructions at: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/get-started-text-to-spe
Tool that queries the Azure AI Services Document Intelligence API.
In order to set this up, follow instructions at: https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/quickstar
Tool that queries the Azure AI Services Image Analysis API.
In order to set this up, follow instructions at: https://learn.microsoft.com/azure/ai-services/computer-vision/quickstarts-sdk/image-analys
Tool that queries the Azure AI Services Text Analytics for Health API.
In order to set this up, follow instructions at: https://learn.microsoft.com/en-us/azure/ai-services/language-service/text-analy
Tool that queries the Azure AI Services Speech to Text API.
In order to set this up, follow instructions at: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/get-started-speech-to-t
Input schema for the you.com tool.
Tool that searches the you.com API.
Tool that queries the Google Lens API.
Tool that queries the Google Jobs API.
Tool that queries the SearchApi.io search API.
Tool that queries the SearchApi.io search API and returns JSON.
Tool that searches the PubMed API.
Base tool for querying a GraphQL API.
Input for PolygonAggregates.
Tool that gets aggregate bars (stock prices) over a given date range for a given ticker from Polygon.
Inputs for Polygon's Last Quote API
Tool that gets the last quote of a ticker from Polygon
Inputs for Polygon's Financials API
Tool that gets the financials 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 the Tavily tool.
Input for WriteFileTool.
Tool that writes a file to disk.
Input for MoveFileTool.
Tool that moves a file.
Tool that queries the DataForSeo Google Search API and get back json.
Callback Handler that logs evaluation results to uptrain and the console.
Truncate a string to a certain number of words, based on the max string length.
Recursively remove newlines, no matter the data structure they are stored in.
Extract Cypher code from a text. Args: text: Text to extract Cypher code from.
Import the textstat python package and raise an error if it is not installed.