-
-
Notifications
You must be signed in to change notification settings - Fork 505
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
Add documentation for additional search tools #413
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
Comment on lines
+12
to
+14
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's great that you're including the installation instructions for the
|
||
``` | ||
|
||
```python | ||
from praisonaiagents import Agent, PraisonAIAgents | ||
from exa_py import Exa | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
Comment on lines
+12
to
+14
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's great that you're including the installation instructions for the
|
||
``` | ||
|
||
```python | ||
from praisonaiagents import Agent, PraisonAIAgents | ||
from langchain_community.utilities import GoogleSerperAPIWrapper | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
Comment on lines
+12
to
+14
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's great that you're including the installation instructions for the
|
||
``` | ||
|
||
```python | ||
from praisonaiagents import Agent, PraisonAIAgents | ||
from langchain_community.utilities import SerpAPIWrapper | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
``` | ||
Comment on lines
+12
to
+14
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
```python | ||
from praisonaiagents import Agent, PraisonAIAgents | ||
from langchain_community.utilities import WikipediaAPIWrapper | ||
|
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.
Consider adding a comment about the purpose of exporting the
OPENAI_API_KEY
environment variable, as well as mentioning that this is a prerequisite for using the tool.