-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(community): Added Google Trends Integration #7248
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
Hi @jacoblee93, could you take a look at our PR? Thank you for your time! |
0475b5c
to
5cf6e13
Compare
5cf6e13
to
67d7168
Compare
f4d6678
to
510433b
Compare
Hi @jacoblee93 thanks for reviewing our PR. I have renamed |
…w interfaces for lint warnings, and minor documentation updates
64e4aa3
to
f314c19
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Description:
This PR introduces the Google Trends Tool from SerpAPI, allowing users to use the integrate a tool for Google Trends API with Langchain to retrieve and analyze search interest data. The tool supports viewing trends for specific search queries and exploring related queries to gain deeper insights.
New Files
libs/langchain-community/src/tools/google_trends.ts
Implements the core functionality for the Google Trends Tool, including methods to handle normal queries and related queries.
examples/src/tools/google_trends.ts
Provides an example of how to use the Google Trends Tool in a LangChain integration.
libs/langchain-community/src/tools/tests/google_trends.int.test.ts
Includes integration tests to validate the functionality of the Google Trends Tool for normal and related queries.
docs/core_docs/docs/integrations/tools/google_trends.mdx
Adds documentation with setup instructions and usage examples for the Google Trends Tool.
Updated Files
docs/api_refs/blacklisted-entrypoints.json
Ensures the Google Trends Tool is correctly integrated and avoids exposure of unintended entry points in the API documentation.
libs/langchain-community/.gitignore
Updates to ignore any temporary or generated files related to the Google Trends integration.
libs/langchain-community/langchain.config.js
Configures the LangChain community package to include the Google Trends Tool for proper build and test pipeline integration.
libs/langchain-community/package.json
Adds
google-trends-api
as a dependency and updates metadata to reflect the new tool.Fixes # 7070
Sample Output