Replies: 1 comment
-
+1 |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Checked
Feature request
A tool integration that enables LangChain users to perform web searches using the Baidu Search API, providing enhanced search capabilities particularly useful for Chinese language content and the Chinese market..
Motivation
Currently, LangChain supports various search tools such as DuckDuckGo and Exa Search. However, Baidu is a major search engine, especially popular in China, and integrating it into LangChain would provide users with more options and better search functionality tailored to different regions. Given Baidu's significant presence and usage in China, creating a Baidu search tool in LangChain would cater to a broader audience and enhance the overall functionality and versatility of LangChain.
Proposal (If applicable)
Research Existing Implementations:
Review the existing search tools (DuckDuckGoSearchTool, ExaSearchRetriever) in the LangChain repository to understand the structure and implementation.
Look into the documentation or codebase to understand how to integrate third-party APIs with LangChain.
Evaluate Baidu Search API Integration:
Review the Baidu Search API documentation to understand its capabilities and requirements.
Identify necessary configurations and authentication requirements for the Baidu Search API.
Implement the Baidu Search Tool:
Create a new Python file for the BaiduSearchTool.
Add the necessary code to interact with the Baidu Search API.
Test the BaiduSearchTool to ensure it works correctly.
Document the BaiduSearchTool to provide usage instructions.
I welcome any feedback or suggestions to improve this proposal. Please share any specific requirements, considerations, or best practices that should be incorporated.
I am ready to submit a pull request or create an issue for this feature. Please provide guidance on the preferred contribution method and I will proceed with the implementation.
Beta Was this translation helpful? Give feedback.
All reactions