From dfe09142ae356187fea7e08baf85c55a030bc68a Mon Sep 17 00:00:00 2001 From: MervinPraison Date: Tue, 11 Mar 2025 04:10:02 +0000 Subject: [PATCH] Add documentation for additional search tools - Updated `mint.json` to include new search tools - Added documentation pages for DuckDuckGo, Exa, Google Serper, Serp, and Wikipedia search tools - Included installation instructions, overview, and example code for each search tool --- docs/mint.json | 7 ++++++- docs/tools/external/duckduckgo-search.mdx | 15 +++++++++++++++ docs/tools/external/exa-search.mdx | 16 ++++++++++++++++ docs/tools/external/google-serper-search.mdx | 16 ++++++++++++++++ docs/tools/external/serp-search.mdx | 16 ++++++++++++++++ docs/tools/external/wikipedia-search.mdx | 15 +++++++++++++++ 6 files changed, 84 insertions(+), 1 deletion(-) diff --git a/docs/mint.json b/docs/mint.json index b8ee030..676913c 100644 --- a/docs/mint.json +++ b/docs/mint.json @@ -212,7 +212,12 @@ "pages": [ "tools/external/serp-api", "tools/external/brave-search", - "tools/external/google-trends" + "tools/external/google-trends", + "tools/external/exa-search", + "tools/external/wikipedia-search", + "tools/external/duckduckgo-search", + "tools/external/google-serper-search", + "tools/external/serp-search" ] }, "tools/duckduckgo_tools", diff --git a/docs/tools/external/duckduckgo-search.mdx b/docs/tools/external/duckduckgo-search.mdx index 0596ce3..c0d2f08 100644 --- a/docs/tools/external/duckduckgo-search.mdx +++ b/docs/tools/external/duckduckgo-search.mdx @@ -1,3 +1,18 @@ +--- +title: "DuckDuckGo Search Tool" +description: "Guide for using the DuckDuckGo Search tool with PraisonAI agents." +icon: "duck" +--- + +## Overview + +The DuckDuckGo Search tool is a tool that allows you to search the web using the DuckDuckGo search engine. + +```bash +pip install praisonaiagents +export OPENAI_API_KEY=your_api_key_here +``` + ```python from praisonaiagents import Agent, PraisonAIAgents from praisonaiagents.tools import duckduckgo diff --git a/docs/tools/external/exa-search.mdx b/docs/tools/external/exa-search.mdx index badc971..f9bf49e 100644 --- a/docs/tools/external/exa-search.mdx +++ b/docs/tools/external/exa-search.mdx @@ -1,3 +1,19 @@ +--- +title: "Exa Search Tool" +description: "Guide for using the Exa Search tool with PraisonAI agents." +icon: "magnifying-glass-chart" +--- + +## Overview + +The Exa Search tool is a tool that allows you to search the web and retrieve content using the Exa API. + +```bash +pip install praisonaiagents exa-py +export EXA_API_KEY=your_api_key_here +export OPENAI_API_KEY=your_api_key_here +``` + ```python from praisonaiagents import Agent, PraisonAIAgents from exa_py import Exa diff --git a/docs/tools/external/google-serper-search.mdx b/docs/tools/external/google-serper-search.mdx index f10cdfb..f3cdc18 100644 --- a/docs/tools/external/google-serper-search.mdx +++ b/docs/tools/external/google-serper-search.mdx @@ -1,3 +1,19 @@ +--- +title: "Google Serper Search Tool" +description: "Guide for using the Google Serper Search tool with PraisonAI agents." +icon: "google" +--- + +## Overview + +The Google Serper Search tool is a tool that allows you to search the web using the Google Serper API. + +```bash +pip install langchain-community python-dotenv +export SERPER_API_KEY=your_api_key_here +export OPENAI_API_KEY=your_api_key_here +``` + ```python from praisonaiagents import Agent, PraisonAIAgents from langchain_community.utilities import GoogleSerperAPIWrapper diff --git a/docs/tools/external/serp-search.mdx b/docs/tools/external/serp-search.mdx index 83fc2fc..2b349a5 100644 --- a/docs/tools/external/serp-search.mdx +++ b/docs/tools/external/serp-search.mdx @@ -1,3 +1,19 @@ +--- +title: "SerpSearch Tool" +description: "Guide for using the SerpSearch tool with PraisonAI agents." +icon: "searchengin" +--- + +## Overview + +The SerpSearch tool is a tool that allows you to search the web using the SerpAPI. + +```bash +pip install langchain-community google-search-results +export SERPAPI_API_KEY=your_api_key_here +export OPENAI_API_KEY=your_api_key_here +``` + ```python from praisonaiagents import Agent, PraisonAIAgents from langchain_community.utilities import SerpAPIWrapper diff --git a/docs/tools/external/wikipedia-search.mdx b/docs/tools/external/wikipedia-search.mdx index 3759ede..c2b8810 100644 --- a/docs/tools/external/wikipedia-search.mdx +++ b/docs/tools/external/wikipedia-search.mdx @@ -1,3 +1,18 @@ +--- +title: "Wikipedia Search Tool" +description: "Guide for using the Wikipedia Search tool with PraisonAI agents." +icon: "wikipedia-w" +--- + +## Overview + +The Wikipedia Search tool is a tool that allows you to search and retrieve information from Wikipedia. + +```bash +pip install langchain-community +export OPENAI_API_KEY=your_api_key_here +``` + ```python from praisonaiagents import Agent, PraisonAIAgents from langchain_community.utilities import WikipediaAPIWrapper