PraisonAI 0.0.14__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.14 → praisonai-0.0.15}/PKG-INFO +20 -1
- {praisonai-0.0.14 → praisonai-0.0.15}/README.md +18 -0
- {praisonai-0.0.14 → praisonai-0.0.15}/praisonai/cli.py +6 -2
- {praisonai-0.0.14 → praisonai-0.0.15}/pyproject.toml +2 -1
- {praisonai-0.0.14 → praisonai-0.0.15}/praisonai/__init__.py +0 -0
- {praisonai-0.0.14 → praisonai-0.0.15}/praisonai/__main__.py +0 -0
- {praisonai-0.0.14 → praisonai-0.0.15}/praisonai/auto-old.py +0 -0
- {praisonai-0.0.14 → praisonai-0.0.15}/praisonai/auto.py +0 -0
- {praisonai-0.0.14 → praisonai-0.0.15}/praisonai/cli-old.py +0 -0
- {praisonai-0.0.14 → praisonai-0.0.15}/praisonai/deploy.py +0 -0
- {praisonai-0.0.14 → praisonai-0.0.15}/praisonai/test.py +0 -0
- {praisonai-0.0.14 → 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
|
|
@@ -179,13 +179,17 @@ class PraisonAI:
|
|
|
179
179
|
return args
|
|
180
180
|
|
|
181
181
|
def create_gradio_interface(self):
|
|
182
|
-
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()
|
|
183
187
|
result = self.generate_crew_and_kickoff()
|
|
184
188
|
return result
|
|
185
189
|
|
|
186
190
|
gr.Interface(
|
|
187
191
|
fn=generate_crew_and_kickoff_interface,
|
|
188
|
-
inputs=["
|
|
192
|
+
inputs=[gr.Textbox(lines=2, label="Auto Args"), gr.Dropdown(choices=["crewai", "autogen"], label="Framework")],
|
|
189
193
|
outputs="textbox",
|
|
190
194
|
title="Praison AI Studio",
|
|
191
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
|