-
-
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.
Bump version to 2.0.79 and update praisonaiagents dependency
- Updated version to 2.0.79 across multiple files including praisonai.rb, pyproject.toml, uv.lock, Dockerfile, and docs - Upgraded praisonaiagents dependency from 0.0.63 to 0.0.64 - Updated example agent scripts for Anthropic and Gemini LLMs - Added parameter modification support in LLM initialization - Synchronized version updates across project configuration files
- Loading branch information
1 parent
eb7b3a2
commit 343a488
Showing
11 changed files
with
785 additions
and
27 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,6 +1,6 @@ | ||
FROM python:3.11-slim | ||
WORKDIR /app | ||
COPY . . | ||
RUN pip install flask praisonai==2.0.78 gunicorn markdown | ||
RUN pip install flask praisonai==2.0.79 gunicorn markdown | ||
EXPOSE 8080 | ||
CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"] |
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
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
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,37 @@ | ||
from praisonaiagents import Agent | ||
|
||
agent = Agent( | ||
instructions="You are a Wikipedia Agent", | ||
llm="anthropic/claude-3-7-sonnet-20250219" | ||
) | ||
result = agent.start("Why Sky is Blue?") | ||
print(result) | ||
|
||
from praisonaiagents import Agent | ||
from praisonaiagents.tools import internet_search | ||
|
||
agent = Agent( | ||
instructions="You are a Wikipedia Agent", | ||
tools=[internet_search], | ||
llm="anthropic/claude-3-7-sonnet-20250219", | ||
verbose=10 | ||
llm="anthropic/claude-3-7-sonnet-20250219" | ||
) | ||
agent.start("history of AI in 1 line") | ||
agent.start("What is Praison AI?") | ||
|
||
from praisonaiagents import Agent, PraisonAIAgents | ||
from praisonaiagents.tools import internet_search | ||
|
||
|
||
research_agent = Agent( | ||
instructions="Search Information about Claude Sonnet 3.7", | ||
tools=[internet_search], | ||
llm="anthropic/claude-3-7-sonnet-20250219" | ||
) | ||
|
||
editor_agent = Agent( | ||
instructions="Write a Blog Post with the provided information about Claude Sonnet 3.7", | ||
llm="anthropic/claude-3-7-sonnet-20250219" | ||
) | ||
|
||
agents = PraisonAIAgents(agents=[research_agent, editor_agent]) | ||
result = agents.start() | ||
print(result) |
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,10 @@ | ||
from praisonaiagents import Agent | ||
from praisonaiagents.tools import internet_search | ||
|
||
agent = Agent( | ||
instructions="You are a helpful assistant", | ||
llm="gemini/gemini-1.5-flash-8b", | ||
self_reflect=True, | ||
verbose=True | ||
tools=[internet_search], | ||
llm="gemini/gemini-1.5-flash-8b" | ||
) | ||
|
||
agent.start("Why sky is Blue?") | ||
agent.start("What is Praison AI?") |
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
Oops, something went wrong.