Google Maps Embed API Tool #27298
VaibhavLakshmiS
announced in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked
Feature request
We aim to integrate the Google Maps Embed API into LangChain, enabling it to:
Motivation
In a tech-driven world, users increasingly depend on interactive geographical data to enhance their digital and real-world experiences. Integrating the Google Maps Embed API into LangChain would fill a critical gap by offering dynamic, real-time maps directly within the conversational interface, improving decision-making for location-based queries, such as routes and points of interest. This feature would complement the existing Google Places API, providing seamless map displays that support better planning and exploration through visually intuitive, familiar content for users.
Proposal (If applicable)
Our proposal is to develop a toolkit that leverages the Google Maps Embed API to generate map URLs based on user queries. This will involve building a utility that dynamically constructs embed URLs, along with a toolkit to integrate map display functionality within LangChain agents.
We anticipate making the following additions to the codebase:
libs/community/langchain_community/tools/google_maps_embed
for the toolkit.libs/community/langchain_community/utilities/google_maps_embed.py
for the API wrapper.libs/langchain/langchain/tools/google_maps_embed
for the toolkit.libs/langchain/langchain/utilities/google_maps_embed.py
for the API wrapper.We also anticipate modifying the following files:
libs/community/langchain_community/tools/__init__.py
to register the tool.libs/community/langchain_community/utilities/__init__.py
to register the tool.We are a team of three students from the University of Toronto, aiming to develop this feature and submit a pull request by mid-November.This integration seeks to expand LangChain’s capability to handle a wider range of location-based queries and enhance user experience through interactive mapping.
Beta Was this translation helpful? Give feedback.
All reactions