Skip to content

Commit 2470084

Browse files
committed
Add import statement for SearchApiSearch in job_search examples
1 parent f33eba2 commit 2470084

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/use-cases/jobsearch-agent.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ It utilize various tools for internet search and document comparison to fulfill
66

77
First, we need to import the necessary modules. Each module serves a specific purpose in our script. We utilize various tools for internet search and document comparison to fulfill the agent's task. Here’s what each import does:
88

9-
* `GoogleSerpAPISearch` and `DuckDuckGoSearch` are tools for performing web searches.
9+
* `SearchApiSearch`, `GoogleSerpAPISearch` and `DuckDuckGoSearch` are tools for performing web searches.
1010
* `Admin` manages the overall execution of tasks.
1111
* `AzureChatOpenAIModel` is used to configure the large language model from Azure.
1212
* `Memory` is for maintaining context during the agent's operations.
@@ -15,6 +15,7 @@ First, we need to import the necessary modules. Each module serves a specific pu
1515
* `Console` and `Markdown` from the `rich` library are used for printing formatted outputs.
1616

1717
```python
18+
from openagi.actions.tools.searchapi_search import SearchApiSearch
1819
from openagi.actions.tools.serp_search import GoogleSerpAPISearch
1920
from openagi.actions.tools.ddg_search import DuckDuckGoSearch
2021
from openagi.agent import Admin

example/job_search.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from openagi.actions.tools.serp_search import GoogleSerpAPISearch
2+
from openagi.actions.tools.searchapi_search import SearchApiSearch
23
from openagi.actions.tools.ddg_search import DuckDuckGoSearch
34
from openagi.agent import Admin
45
from openagi.llms.azure import AzureChatOpenAIModel

0 commit comments

Comments
 (0)