Skip to content

Commit

Permalink
Merge pull request #211 from MervinPraison/develop
Browse files Browse the repository at this point in the history
Adding Depends 6
  • Loading branch information
MervinPraison authored Dec 24, 2024
2 parents 6243ee0 + 135c53f commit 6ebae21
Show file tree
Hide file tree
Showing 7 changed files with 107 additions and 201 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
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.5 gunicorn markdown
RUN pip install flask praisonai==2.0.6 gunicorn markdown
EXPOSE 8080
CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"]
2 changes: 1 addition & 1 deletion docs/api/praisonai/deploy.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h2 id="raises">Raises</h2>
file.write(&#34;FROM python:3.11-slim\n&#34;)
file.write(&#34;WORKDIR /app\n&#34;)
file.write(&#34;COPY . .\n&#34;)
file.write(&#34;RUN pip install flask praisonai==2.0.5 gunicorn markdown\n&#34;)
file.write(&#34;RUN pip install flask praisonai==2.0.6 gunicorn markdown\n&#34;)
file.write(&#34;EXPOSE 8080\n&#34;)
file.write(&#39;CMD [&#34;gunicorn&#34;, &#34;-b&#34;, &#34;0.0.0.0:8080&#34;, &#34;api:app&#34;]\n&#39;)

Expand Down
146 changes: 86 additions & 60 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion praisonai.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Praisonai < Formula

desc "AI tools for various AI applications"
homepage "https://github.com/MervinPraison/PraisonAI"
url "https://github.com/MervinPraison/PraisonAI/archive/refs/tags/2.0.5.tar.gz"
url "https://github.com/MervinPraison/PraisonAI/archive/refs/tags/2.0.6.tar.gz"
sha256 "1828fb9227d10f991522c3f24f061943a254b667196b40b1a3e4a54a8d30ce32" # Replace with actual SHA256 checksum
license "MIT"

Expand Down
2 changes: 1 addition & 1 deletion praisonai/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def create_dockerfile(self):
file.write("FROM python:3.11-slim\n")
file.write("WORKDIR /app\n")
file.write("COPY . .\n")
file.write("RUN pip install flask praisonai==2.0.5 gunicorn markdown\n")
file.write("RUN pip install flask praisonai==2.0.6 gunicorn markdown\n")
file.write("EXPOSE 8080\n")
file.write('CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"]\n')

Expand Down
94 changes: 2 additions & 92 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,101 +1,17 @@
[project]
name = "PraisonAI"
version = "2.0.5"
version = "2.0.6"
description = "PraisonAI application combines AutoGen and CrewAI or similar frameworks into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customization, and efficient human-agent collaboration."
readme = "README.md"
license = ""
requires-python = ">=3.10,<3.13"
authors = [
{ name = "Mervin Praison" }
]
dependencies = [
"rich>=13.7",
"markdown>=3.5",
"pyparsing>=3.0.0",
"python-dotenv>=1.0.1",
"instructor>=0.4.8",
"PyYAML>=6.0",
"praisonaiagents>=0.0.4"
]

[project.scripts]
praisonai = "praisonai.__main__:main"
setup-conda-env = "setup.setup_conda_env:main"
praisonai-call = "praisonai.api.call:main"

[project.optional-dependencies]
autogen = [
"pyautogen>=0.2.19",
"praisonai-tools>=0.0.7",
"instructor>=0.4.8",
"crewai>=0.32.0"
]
crewai = [
"crewai>=0.32.0",
"praisonai-tools>=0.0.7",
"instructor>=0.4.8"
]
ui = ["chainlit==2.0rc1"]
gradio = ["gradio>=4.26.0"]
api = ["flask>=3.0.0"]
agentops = ["agentops>=0.3.12"]
google = ["langchain-google-genai>=1.0.4"]
openai = ["langchain-openai>=0.1.7"]
anthropic = ["langchain-anthropic>=0.1.13"]
cohere = ["langchain-cohere>=0.1.4"]
chat = [
"chainlit==2.0rc1",
"litellm>=1.41.8",
"aiosqlite>=0.20.0",
"greenlet>=3.0.3",
"tavily-python==0.5.0",
"crawl4ai==0.3.4",
"sqlalchemy>=2.0.36",
"playwright>=1.47.0",
"rich>=13.7",
"instructor>=0.4.8",
"pydantic<=2.10.1"
]
code = [
"chainlit==2.0rc1",
"litellm>=1.41.8",
"aiosqlite>=0.20.0",
"greenlet>=3.0.3",
"tavily-python==0.5.0",
"crawl4ai==0.3.4",
"sqlalchemy>=2.0.36",
"playwright>=1.47.0",
"pydantic<=2.10.1"
]
realtime = [
"chainlit==2.0rc1",
"litellm>=1.41.8",
"aiosqlite>=0.20.0",
"greenlet>=3.0.3",
"tavily-python==0.5.0",
"crawl4ai==0.3.4",
"websockets>=12.0",
"plotly>=5.24.0",
"yfinance>=0.2.44",
"duckduckgo_search>=6.3.0",
"sqlalchemy>=2.0.36"
]
call = [
"twilio>=7.0.0",
"fastapi>=0.95.0",
"uvicorn>=0.20.0",
"websockets>=12.0",
"python-dotenv>=1.0.1",
"flaml[automl]>=2.3.1",
"pyngrok>=1.4.0",
"rich>=13.7",
"openai>=1.54.0",
"instructor>=0.4.8"
]

[tool.poetry]
name = "PraisonAI"
version = "2.0.5"
version = "2.0.6"
description = "PraisonAI application combines AutoGen and CrewAI or similar frameworks into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customization, and efficient human-agent collaboration."
authors = ["Mervin Praison"]
license = ""
Expand Down Expand Up @@ -196,16 +112,10 @@ litellm = ">=1.41.8"
aiosqlite = ">=0.20.0"
greenlet = ">=3.0.3"



[build-system]
requires = [
"poetry-core",
"setuptools>=42",
"wheel>=0.37.0",
"instructor>=0.4.8",
"python-dotenv>=1.0.1",
"PyYAML>=6.0"
]
build-backend = "poetry.core.masonry.api"

Expand Down
60 changes: 15 additions & 45 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6ebae21

Please sign in to comment.