Google Cloud Document AI parser.
Inherits from BaseBlobParser.
Parses documents using Google Cloud Document AI for text extraction and layout analysis.
See Document AI documentation for detailed information.
Requires additional dependencies:
pip install langchain-google-community[docai]Retriever for Google Cloud Document AI Warehouse.
Inherits from BaseRetriever.
Searches documents using Document AI Warehouse schema. Documents must be created and uploaded separately before retrieval.
See Document AI Warehouse documentation for more information.
Requires additional dependencies:
pip install langchain-google-community[docai]Load documents from Google Drive.
Inherits from BaseLoader.
Supports loading from folders, specific documents, or file IDs with authentication.
Requires additional dependencies:
pip install langchain-google-community[drive]Load documents from Google Cloud Storage directory.
Inherits from BaseLoader.
Loads all files from a GCS bucket with optional prefix filtering.
Requires additional dependencies:
pip install langchain-google-community[gcs]Load documents from Google Cloud Storage file.
Inherits from BaseLoader.
Downloads and loads a single file from GCS bucket using configurable loader.
Requires additional dependencies:
pip install langchain-google-community[gcs]Tool for geocoding locations using Google Maps Geocoding API.
Inherits from BaseTool.
Supports batch location lookups with detailed address and coordinate information.
Load chat sessions from Gmail.
Inherits from
BaseChatLoader.
Loads sent messages and their preceding emails to create chat training examples.
This loader finds messages you've sent in reply to previous emails and creates chat sessions from the original email and your response. Each session contains only the immediate previous email for context.
Requires Google Developer Account with Gmail API enabled. See Gmail API documentation for setup instructions.
Toolkit for interacting with Gmail.
Provides tools for Gmail operations including creating drafts, sending messages, searching emails, and retrieving messages and threads.
This toolkit contains tools that can read and modify the state of a service. For example, it can send emails and read messages on behalf of the associated account.
See Security Best Practices for more information.
Loader for Google Cloud Speech-to-Text audio transcripts.
Inherits from BaseLoader.
Transcribes audio files using Google Cloud Speech-to-Text API and loads transcribed text into documents. Supports both GCS URIs and local file paths.
See Speech-to-Text documentation for detailed information.
Requires additional dependencies:
pip install langchain-google-community[speech]Tool that queries the Google Places API.
Inherits from BaseTool.
Validates and discovers addresses from ambiguous text using Google Maps Platform.
Wrapper for Google Custom Search API.
Performs web searches using Google Custom Search API and returns results with snippets, titles, and links.
GOOGLE_API_KEY and GOOGLE_CSE_ID environment variablesTool that queries the Google Custom Search API and returns JSON.
Inherits from BaseTool.
Returns structured search results with metadata.
Tool that queries the Google Custom Search API.
Inherits from BaseTool.
Returns concatenated snippets from search results.
Tool for appending values to a Google Spreadsheet table.
Inherits from
SheetsBaseTool.
Appends data to the end of a table, automatically finding the last row with data.
Requires OAuth2 authentication. Use api_resource parameter with
authenticated Google Sheets service.
Tool for reading data from multiple ranges in Google Sheets efficiently.
Inherits from
BaseReadTool.
Reads multiple ranges in a single API call, reducing network overhead and improving performance.
Tool for batch updating multiple ranges in Google Sheets efficiently.
Inherits from
SheetsBaseTool.
Updates multiple ranges in a single API call, dramatically improving efficiency.
Tool for clearing values from a Google Spreadsheet range.
Inherits from
SheetsBaseTool.
Clears cell values from a specified range while preserving formatting and structure.
Requires OAuth2 authentication. Use api_resource parameter with
authenticated Google Sheets service.
Only values are cleared. Formatting, borders, colors, fonts, and data validation rules remain intact.
Tool for creating new Google Spreadsheets.
Inherits from
SheetsBaseTool.
Creates spreadsheets with configurable properties and optional initial data.
Requires OAuth2 authentication. Use api_resource parameter with
authenticated Google Sheets service.
Tool for retrieving Google Sheets metadata and structure information.
Inherits from
SheetsBaseTool.
Retrieves spreadsheet properties, sheet details, named ranges, and organizational structure. Essential for understanding spreadsheet contents before reading data.
Tool for reading data from a single range in Google Sheets.
Inherits from
BaseReadTool.
Reads data from a single range with support for various rendering options and data transformations.
Toolkit for interacting with Google Sheets.
Inherits from BaseToolkit.
Provides comprehensive Google Sheets integration with read and write capabilities.
This toolkit contains tools that can read and write data to Google Sheets. Ensure proper authentication and access controls.
api_resource)Tool for updating values in a single range of Google Sheets.
Inherits from
SheetsBaseTool.
Updates cell values in a specified range, overwriting existing data.
Requires OAuth2 authentication. Use api_resource parameter with
authenticated Google Sheets service.
Tool that queries the Google Cloud Text-to-Speech API.
Inherits from BaseTool.
Synthesizes audio from text with support for multiple languages and voice options.
Requires additional dependencies:
pip install langchain-google-community[texttospeech]Follow setup instructions to configure Google Cloud Text-to-Speech API.
Translate text documents using Google Cloud Translation.
Inherits from
BaseDocumentTransformer.
Transforms documents by translating their content using Google Cloud Translation API with support for custom models and glossaries.
Requires additional dependencies:
pip install langchain-google-community[translate]See Translation API documentation for detailed information.
Google Vertex AI Search retriever.
This retriever supports both stable (v1) and beta versions of the Discovery Engine.
Beta features are only available when beta=True.
For a detailed explanation of Vertex AI Search concepts and configuration parameters see the Vertex AI Search documentation.
Document compressor using Vertex AI Ranking API.
Inherits from
BaseDocumentCompressor.
Reranks documents based on relevance to a query using Google's semantic ranking model.
Tool that creates an event in Google Calendar.
Tool that delete an event in Google Calendar.
Tool that move an event between calendars in Google Calendar.
Tool that retrieves events from Google Calendar.
Toolkit for interacting with Google Calendar.
Provides tools for calendar operations including creating, searching, updating, moving, and deleting events.
This toolkit contains tools that can read and modify the state of a service. For example, it can create, update, and delete calendar events on behalf of the associated account.
See Security Policy for more information.
Load documents from Google Cloud BigQuery.
Inherits from BaseLoader.
Each row becomes a document. Columns can be mapped to page_content or
metadata. By default, all columns map to page_content.
Requires additional dependencies:
pip install langchain-google-community[bigquery]