PraisonAI 0.0.32__tar.gz → 0.0.34__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of PraisonAI might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PraisonAI
3
- Version: 0.0.32
3
+ Version: 0.0.34
4
4
  Summary: 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.
5
5
  Author: Mervin Praison
6
6
  Requires-Python: >=3.10,<3.13
@@ -12,13 +12,13 @@ Provides-Extra: api
12
12
  Provides-Extra: gradio
13
13
  Provides-Extra: ui
14
14
  Requires-Dist: chainlit (>=1.1.301,<2.0.0) ; extra == "ui"
15
- Requires-Dist: crewai (>=0.30.4)
16
- Requires-Dist: crewai-tools (>=0.2.6,<0.3.0)
15
+ Requires-Dist: crewai (>=0.32.0)
17
16
  Requires-Dist: flask (>=3.0.0) ; extra == "api"
18
17
  Requires-Dist: gradio (>=4.26.0) ; extra == "gradio"
19
18
  Requires-Dist: markdown (>=3.5)
20
- Requires-Dist: praisonai-tools (>=0.0.4)
19
+ Requires-Dist: praisonai-tools (>=0.0.7)
21
20
  Requires-Dist: pyautogen (>=0.2.19)
21
+ Requires-Dist: pyparsing (>=3.0.0)
22
22
  Requires-Dist: rich (>=13.7)
23
23
  Project-URL: Homepage, https://docs.praison.ai
24
24
  Project-URL: Repository, https://github.com/mervinpraison/PraisonAI
@@ -87,6 +87,22 @@ praisonai --framework autogen
87
87
  praisonai --auto create a movie script about Dog in Moon
88
88
  ```
89
89
 
90
+ ## User Interface
91
+
92
+ ```bash
93
+ pip install -U "praisonai[ui]"
94
+ export OPENAI_API_KEY="Enter your API key"
95
+ chainlit create-secret
96
+ export CHAINLIT_AUTH_SECRET=xxxxxxxx
97
+ praisonai ui
98
+ ```
99
+
100
+ or
101
+
102
+ ```
103
+ python -m praisonai ui
104
+ ```
105
+
90
106
  ## Create Custom Tools
91
107
 
92
108
  ### TL;DR to Create a Custom Tool
@@ -61,6 +61,22 @@ praisonai --framework autogen
61
61
  praisonai --auto create a movie script about Dog in Moon
62
62
  ```
63
63
 
64
+ ## User Interface
65
+
66
+ ```bash
67
+ pip install -U "praisonai[ui]"
68
+ export OPENAI_API_KEY="Enter your API key"
69
+ chainlit create-secret
70
+ export CHAINLIT_AUTH_SECRET=xxxxxxxx
71
+ praisonai ui
72
+ ```
73
+
74
+ or
75
+
76
+ ```
77
+ python -m praisonai ui
78
+ ```
79
+
64
80
  ## Create Custom Tools
65
81
 
66
82
  ### TL;DR to Create a Custom Tool
@@ -0,0 +1,6 @@
1
+ # Disable OpenTelemetry SDK
2
+ import os
3
+ os.environ["OTEL_SDK_DISABLED"] = "true"
4
+ os.environ["EC_TELEMETRY"] = "false"
5
+ from .cli import PraisonAI
6
+ from .version import __version__
@@ -14,7 +14,7 @@ config_list = [
14
14
  {
15
15
  'model': os.environ.get("OPENAI_MODEL_NAME", "gpt-4o"),
16
16
  'base_url': os.environ.get("OPENAI_API_BASE", "https://api.openai.com/v1"),
17
- 'api_key': os.environ.get("OPENAI_API_KEY")
17
+ 'api_key': os.environ.get("OPENAI_API_KEY", "")
18
18
  }
19
19
  ]
20
20
  agent_file = "test.yaml"
@@ -56,7 +56,7 @@ class CloudDeployer:
56
56
  file.write("FROM python:3.11-slim\n")
57
57
  file.write("WORKDIR /app\n")
58
58
  file.write("COPY . .\n")
59
- file.write("RUN pip install flask praisonai==0.0.32 gunicorn markdown\n")
59
+ file.write("RUN pip install flask praisonai==0.0.34 gunicorn markdown\n")
60
60
  file.write("EXPOSE 8080\n")
61
61
  file.write('CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"]\n')
62
62
 
@@ -1,6 +1,6 @@
1
1
  # praisonai/inbuilt_tools/autogen_tools.py
2
2
 
3
- from crewai_tools import (
3
+ from praisonai_tools import (
4
4
  CodeDocsSearchTool, CSVSearchTool, DirectorySearchTool, DOCXSearchTool, DirectoryReadTool,
5
5
  FileReadTool, TXTSearchTool, JSONSearchTool, MDXSearchTool, PDFSearchTool, RagTool,
6
6
  ScrapeElementFromWebsiteTool, ScrapeWebsiteTool, WebsiteSearchTool, XMLSearchTool, YoutubeChannelSearchTool,
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "PraisonAI"
3
- version = "0.0.32"
3
+ version = "0.0.34"
4
4
  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."
5
5
  authors = ["Mervin Praison"]
6
6
  license = ""
@@ -17,10 +17,10 @@ packages = ["PraisonAI"]
17
17
  python = ">=3.10,<3.13"
18
18
  rich = ">=13.7"
19
19
  pyautogen = ">=0.2.19"
20
- crewai = ">=0.30.4"
20
+ crewai = ">=0.32.0"
21
21
  markdown = ">=3.5"
22
- crewai-tools = "^0.2.6"
23
- praisonai-tools = ">=0.0.4"
22
+ praisonai-tools = ">=0.0.7"
23
+ pyparsing = ">=3.0.0"
24
24
  chainlit = {version = "^1.1.301", optional = true}
25
25
  gradio = {version = ">=4.26.0", optional = true}
26
26
  flask = {version = ">=3.0.0", optional = true}
@@ -1,2 +0,0 @@
1
- from .cli import PraisonAI
2
- from .version import __version__
File without changes
File without changes
File without changes
File without changes