Skip to content

Commit

Permalink
Align .py files with existing .mdx files
Browse files Browse the repository at this point in the history
  • Loading branch information
asiffarhankhan committed Mar 10, 2025
1 parent b9c5211 commit 0a8fbc8
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 16 deletions.
14 changes: 0 additions & 14 deletions docs/tools/external/brave-search.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
```python
from praisonaiagents import Agent, PraisonAIAgents
from praisonaiagents.tools import duckduckgo

data_agent = Agent(instructions="Search and Read Research Papers on DNA Mutation", tools=[duckduckgo])
editor_agent = Agent(instructions="Write a scientifically researched outcome and findings about DNA Mutation")
agents = PraisonAIAgents(agents=[data_agent, editor_agent])
agents.start()
```
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```python
from praisonaiagents import Agent, PraisonAIAgents
from exa_py import Exa
import os
Expand All @@ -15,3 +16,4 @@ def search_and_contents(query: str):
editor_agent = Agent(instructions="Curate the available jobs at startups and their email for the candidate to apply based on his skills on Canva, Adobe Premiere Pro, and Adobe After Effects")
agents = PraisonAIAgents(agents=[data_agent, editor_agent], process='hierarchical')
agents.start()
```
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```python
from praisonaiagents import Agent, PraisonAIAgents
from langchain_community.utilities import GoogleSerperAPIWrapper
import os
Expand All @@ -12,4 +13,5 @@
data_agent = Agent(instructions="Suggest me top 5 most visited websites for Dosa Recipe", tools=[search])
editor_agent = Agent(instructions="List out the websites with their url and a short description")
agents = PraisonAIAgents(agents=[data_agent, editor_agent])
agents.start()
agents.start()
```
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
```python
from praisonaiagents import Agent, PraisonAIAgents
from langchain_community.utilities import SerpAPIWrapper

data_agent = Agent(instructions="Search about decline of recruitment across various industries with the rise of AI", tools=[SerpAPIWrapper])
editor_agent = Agent(instructions="Write a blog article pointing out the jobs most at rish due to the rise of AI")
agents = PraisonAIAgents(agents=[data_agent, editor_agent])
agents.start()
agents.start()
```
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
```python
from praisonaiagents import Agent, PraisonAIAgents
from langchain_community.utilities import WikipediaAPIWrapper

data_agent = Agent(instructions="Gather all of Messi's record in LaLiga", tools=[WikipediaAPIWrapper])
summarise_agent = Agent(instructions="Summarize the data into a well structured format")
agents = PraisonAIAgents(agents=[data_agent, summarise_agent])
agents.start()
```

0 comments on commit 0a8fbc8

Please sign in to comment.