-
-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb0fa20
commit d75c714
Showing
3 changed files
with
148 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
from praisonaiagents import Agent, Task, PraisonAIAgents | ||
from praisonaiagents import Agent | ||
from praisonaiagents.tools import wiki_search, wiki_summary, wiki_page, wiki_random, wiki_language | ||
|
||
agent = Agent( | ||
agent1 = Agent( | ||
instructions="You are a Wikipedia Agent", | ||
tools=[wiki_search, wiki_summary, wiki_page, wiki_random, wiki_language], | ||
llm="openai/gpt-4o-mini", | ||
verbose=10 | ||
) | ||
agent.start("history of AI") | ||
agent1.start("history of AI in 1 line") | ||
|
||
agent2 = Agent( | ||
instructions="You are a Wikipedia Agent", | ||
tools=[wiki_search, wiki_summary, wiki_page, wiki_random, wiki_language], | ||
llm="gpt-4o-mini", | ||
verbose=10 | ||
) | ||
agent2.start("history of AI in 1 line") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters