PraisonAI 0.0.13__tar.gz → 0.0.15__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.
- {praisonai-0.0.13 → praisonai-0.0.15}/PKG-INFO +20 -1
- {praisonai-0.0.13 → praisonai-0.0.15}/README.md +18 -0
- {praisonai-0.0.13 → praisonai-0.0.15}/praisonai/cli.py +9 -4
- {praisonai-0.0.13 → praisonai-0.0.15}/pyproject.toml +2 -1
- {praisonai-0.0.13 → praisonai-0.0.15}/praisonai/__init__.py +0 -0
- {praisonai-0.0.13 → praisonai-0.0.15}/praisonai/__main__.py +0 -0
- {praisonai-0.0.13 → praisonai-0.0.15}/praisonai/auto-old.py +0 -0
- {praisonai-0.0.13 → praisonai-0.0.15}/praisonai/auto.py +0 -0
- {praisonai-0.0.13 → praisonai-0.0.15}/praisonai/cli-old.py +0 -0
- {praisonai-0.0.13 → praisonai-0.0.15}/praisonai/deploy.py +0 -0
- {praisonai-0.0.13 → praisonai-0.0.15}/praisonai/test.py +0 -0
- {praisonai-0.0.13 → praisonai-0.0.15}/praisonai/version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: praisonAI
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.15
|
|
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,6 +12,7 @@ Provides-Extra: tools
|
|
|
12
12
|
Requires-Dist: Flask (>=3.0.0)
|
|
13
13
|
Requires-Dist: crewai (>=0.22.5)
|
|
14
14
|
Requires-Dist: gradio (>=4.20.0)
|
|
15
|
+
Requires-Dist: markdown (>=3.5)
|
|
15
16
|
Requires-Dist: pyautogen (>=0.2.19)
|
|
16
17
|
Requires-Dist: rich (>=13.7)
|
|
17
18
|
Project-URL: Homepage, https://github.com/mervinpraison/praisonAI
|
|
@@ -68,6 +69,24 @@ python -m unittest tests.test
|
|
|
68
69
|
|
|
69
70
|
## Agents Playbook
|
|
70
71
|
|
|
72
|
+
### Simple Playbook
|
|
73
|
+
|
|
74
|
+
```yaml
|
|
75
|
+
framework: crewai
|
|
76
|
+
topic: Artificial Intelligence
|
|
77
|
+
roles:
|
|
78
|
+
screenwriter:
|
|
79
|
+
backstory: 'Skilled in crafting scripts with engaging dialogue about {topic}.'
|
|
80
|
+
goal: Create scripts from concepts.
|
|
81
|
+
role: Screenwriter
|
|
82
|
+
tasks:
|
|
83
|
+
scriptwriting_task:
|
|
84
|
+
description: 'Develop scripts with compelling characters and dialogue about {topic}.'
|
|
85
|
+
expected_output: 'Complete script ready for production.'
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Detailed Playbook
|
|
89
|
+
|
|
71
90
|
```yaml
|
|
72
91
|
framework: crewai
|
|
73
92
|
topic: Artificial Intelligence
|
|
@@ -48,6 +48,24 @@ python -m unittest tests.test
|
|
|
48
48
|
|
|
49
49
|
## Agents Playbook
|
|
50
50
|
|
|
51
|
+
### Simple Playbook
|
|
52
|
+
|
|
53
|
+
```yaml
|
|
54
|
+
framework: crewai
|
|
55
|
+
topic: Artificial Intelligence
|
|
56
|
+
roles:
|
|
57
|
+
screenwriter:
|
|
58
|
+
backstory: 'Skilled in crafting scripts with engaging dialogue about {topic}.'
|
|
59
|
+
goal: Create scripts from concepts.
|
|
60
|
+
role: Screenwriter
|
|
61
|
+
tasks:
|
|
62
|
+
scriptwriting_task:
|
|
63
|
+
description: 'Develop scripts with compelling characters and dialogue about {topic}.'
|
|
64
|
+
expected_output: 'Complete script ready for production.'
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Detailed Playbook
|
|
68
|
+
|
|
51
69
|
```yaml
|
|
52
70
|
framework: crewai
|
|
53
71
|
topic: Artificial Intelligence
|
|
@@ -169,22 +169,27 @@ class PraisonAI:
|
|
|
169
169
|
parser.add_argument("agent_file", nargs="?", help="Specify the agent file")
|
|
170
170
|
parser.add_argument("--deploy", action="store_true", help="Deploy the application") # New argument
|
|
171
171
|
|
|
172
|
-
args = parser.
|
|
172
|
+
args, unknown_args = parser.parse_known_args()
|
|
173
173
|
|
|
174
|
-
|
|
174
|
+
if unknown_args and unknown_args[0] == '-b' and unknown_args[1] == 'api:app':
|
|
175
|
+
args.agent_file = 'agents.yaml'
|
|
175
176
|
if args.agent_file == 'api:app' or args.agent_file == '/app/api:app':
|
|
176
177
|
args.agent_file = 'agents.yaml'
|
|
177
178
|
|
|
178
179
|
return args
|
|
179
180
|
|
|
180
181
|
def create_gradio_interface(self):
|
|
181
|
-
def generate_crew_and_kickoff_interface(
|
|
182
|
+
def generate_crew_and_kickoff_interface(auto_args, framework):
|
|
183
|
+
self.framework = framework
|
|
184
|
+
self.agent_file = "test.yaml"
|
|
185
|
+
generator = AutoGenerator(topic=auto_args , framework=self.framework)
|
|
186
|
+
self.agent_file = generator.generate()
|
|
182
187
|
result = self.generate_crew_and_kickoff()
|
|
183
188
|
return result
|
|
184
189
|
|
|
185
190
|
gr.Interface(
|
|
186
191
|
fn=generate_crew_and_kickoff_interface,
|
|
187
|
-
inputs=["
|
|
192
|
+
inputs=[gr.Textbox(lines=2, label="Auto Args"), gr.Dropdown(choices=["crewai", "autogen"], label="Framework")],
|
|
188
193
|
outputs="textbox",
|
|
189
194
|
title="Praison AI Studio",
|
|
190
195
|
description="Create Agents and perform tasks",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "praisonAI"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.15"
|
|
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 = ""
|
|
@@ -20,6 +20,7 @@ pyautogen = ">=0.2.19"
|
|
|
20
20
|
crewai = ">=0.22.5"
|
|
21
21
|
gradio = ">=4.20.0"
|
|
22
22
|
Flask = ">=3.0.0"
|
|
23
|
+
markdown = ">=3.5"
|
|
23
24
|
|
|
24
25
|
[tool.poetry.dev-dependencies]
|
|
25
26
|
pytest = "^5.2"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|