PraisonAI 0.0.61__tar.gz → 0.0.65__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.

Files changed (47) hide show
  1. {praisonai-0.0.61 → praisonai-0.0.65}/PKG-INFO +13 -5
  2. {praisonai-0.0.61 → praisonai-0.0.65}/README.md +11 -3
  3. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/cli.py +9 -5
  4. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/deploy.py +1 -1
  5. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/ui/chat.py +5 -5
  6. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/ui/code.py +5 -5
  7. {praisonai-0.0.61 → praisonai-0.0.65}/pyproject.toml +3 -3
  8. {praisonai-0.0.61 → praisonai-0.0.65}/LICENSE +0 -0
  9. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/__init__.py +0 -0
  10. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/__main__.py +0 -0
  11. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/agents_generator.py +0 -0
  12. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/auto.py +0 -0
  13. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/chainlit_ui.py +0 -0
  14. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/inbuilt_tools/__init__.py +0 -0
  15. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/inbuilt_tools/autogen_tools.py +0 -0
  16. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/inc/__init__.py +0 -0
  17. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/inc/config.py +0 -0
  18. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/inc/models.py +0 -0
  19. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/public/android-chrome-192x192.png +0 -0
  20. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/public/android-chrome-512x512.png +0 -0
  21. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/public/apple-touch-icon.png +0 -0
  22. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/public/fantasy.svg +0 -0
  23. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/public/favicon-16x16.png +0 -0
  24. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/public/favicon-32x32.png +0 -0
  25. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/public/favicon.ico +0 -0
  26. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/public/game.svg +0 -0
  27. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/public/logo_dark.png +0 -0
  28. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/public/logo_light.png +0 -0
  29. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/public/movie.svg +0 -0
  30. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/public/thriller.svg +0 -0
  31. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/setup/__init__.py +0 -0
  32. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/setup/build.py +0 -0
  33. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/setup/config.yaml +0 -0
  34. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/setup/post_install.py +0 -0
  35. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/setup/setup_conda_env.py +0 -0
  36. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/setup/setup_conda_env.sh +0 -0
  37. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/test.py +0 -0
  38. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/train.py +0 -0
  39. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/ui/context.py +0 -0
  40. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/ui/public/fantasy.svg +0 -0
  41. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/ui/public/game.svg +0 -0
  42. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/ui/public/logo_dark.png +0 -0
  43. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/ui/public/logo_light.png +0 -0
  44. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/ui/public/movie.svg +0 -0
  45. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/ui/public/thriller.svg +0 -0
  46. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/ui/sql_alchemy.py +0 -0
  47. {praisonai-0.0.61 → praisonai-0.0.65}/praisonai/version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PraisonAI
3
- Version: 0.0.61
3
+ Version: 0.0.65
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
@@ -21,7 +21,7 @@ Provides-Extra: train
21
21
  Provides-Extra: ui
22
22
  Requires-Dist: agentops (>=0.2.6) ; extra == "agentops"
23
23
  Requires-Dist: aiosqlite (>=0.20.0) ; extra == "chat" or extra == "code"
24
- Requires-Dist: chainlit (>=1.1.301,<2.0.0) ; extra == "ui" or extra == "chat" or extra == "code"
24
+ Requires-Dist: chainlit (>=1.1.404,<2.0.0) ; extra == "ui" or extra == "chat" or extra == "code"
25
25
  Requires-Dist: crewai (>=0.32.0)
26
26
  Requires-Dist: flask (>=3.0.0) ; extra == "api"
27
27
  Requires-Dist: gradio (>=4.26.0) ; extra == "gradio"
@@ -78,6 +78,11 @@ Praison AI, leveraging both AutoGen and CrewAI or any other agent framework, rep
78
78
  | **Chat** | Chat with 100+ LLMs, single AI Agent | [https://docs.praison.ai/ui/chat](https://docs.praison.ai/ui/chat) |
79
79
  | **Code** | Chat with entire Codebase, single AI Agent | [https://docs.praison.ai/ui/code](https://docs.praison.ai/ui/code) |
80
80
 
81
+ | Other Features | Description | Docs |
82
+ |---|---|---|
83
+ | **Train** | Fine-tune LLMs using your custom data | [https://docs.praison.ai/train](https://docs.praison.ai/train) |
84
+
85
+
81
86
  ## Google Colab Multi Agents
82
87
 
83
88
  | | Cookbook | Open in Colab |
@@ -87,9 +92,12 @@ Praison AI, leveraging both AutoGen and CrewAI or any other agent framework, rep
87
92
 
88
93
  ## Install
89
94
 
90
- | PraisonAI | PraisonAI Code | PraisonAI Chat |
91
- | --- | --- | --- |
92
- | `pip install praisonai` | `pip install "praisonai[code]"` | `pip install "praisonai[chat]"` |
95
+ | | Installation |
96
+ |---|---|
97
+ | **PraisonAI** | `pip install praisonai` |
98
+ | **PraisonAI Code** | `pip install "praisonai[code]"` |
99
+ | **PraisonAI Chat** | `pip install "praisonai[chat]"` |
100
+ | **PraisonAI Train** | `pip install "praisonai[train]"` |
93
101
 
94
102
  ## Key Features
95
103
 
@@ -36,6 +36,11 @@ Praison AI, leveraging both AutoGen and CrewAI or any other agent framework, rep
36
36
  | **Chat** | Chat with 100+ LLMs, single AI Agent | [https://docs.praison.ai/ui/chat](https://docs.praison.ai/ui/chat) |
37
37
  | **Code** | Chat with entire Codebase, single AI Agent | [https://docs.praison.ai/ui/code](https://docs.praison.ai/ui/code) |
38
38
 
39
+ | Other Features | Description | Docs |
40
+ |---|---|---|
41
+ | **Train** | Fine-tune LLMs using your custom data | [https://docs.praison.ai/train](https://docs.praison.ai/train) |
42
+
43
+
39
44
  ## Google Colab Multi Agents
40
45
 
41
46
  | | Cookbook | Open in Colab |
@@ -45,9 +50,12 @@ Praison AI, leveraging both AutoGen and CrewAI or any other agent framework, rep
45
50
 
46
51
  ## Install
47
52
 
48
- | PraisonAI | PraisonAI Code | PraisonAI Chat |
49
- | --- | --- | --- |
50
- | `pip install praisonai` | `pip install "praisonai[code]"` | `pip install "praisonai[chat]"` |
53
+ | | Installation |
54
+ |---|---|
55
+ | **PraisonAI** | `pip install praisonai` |
56
+ | **PraisonAI Code** | `pip install "praisonai[code]"` |
57
+ | **PraisonAI Chat** | `pip install "praisonai[chat]"` |
58
+ | **PraisonAI Train** | `pip install "praisonai[train]"` |
51
59
 
52
60
  ## Key Features
53
61
 
@@ -286,10 +286,12 @@ class PraisonAI:
286
286
  if CHAINLIT_AVAILABLE:
287
287
  import praisonai
288
288
  os.environ["CHAINLIT_PORT"] = "8084"
289
+ root_path = os.path.join(os.path.expanduser("~"), ".praison")
290
+ os.environ["CHAINLIT_APP_ROOT"] = root_path
289
291
  public_folder = os.path.join(os.path.dirname(praisonai.__file__), 'public')
290
- if not os.path.exists("public"): # Check if the folder exists in the current directory
292
+ if not os.path.exists(os.path.join(root_path, "public")): # Check if the folder exists in the current directory
291
293
  if os.path.exists(public_folder):
292
- shutil.copytree(public_folder, 'public', dirs_exist_ok=True)
294
+ shutil.copytree(public_folder, os.path.join(root_path, "public"), dirs_exist_ok=True)
293
295
  logging.info("Public folder copied successfully!")
294
296
  else:
295
297
  logging.info("Public folder not found in the package.")
@@ -314,10 +316,12 @@ class PraisonAI:
314
316
  if CHAINLIT_AVAILABLE:
315
317
  import praisonai
316
318
  os.environ["CHAINLIT_PORT"] = "8086"
317
- public_folder = os.path.join(os.path.dirname(praisonai.__file__), 'public')
318
- if not os.path.exists("public"): # Check if the folder exists in the current directory
319
+ root_path = os.path.join(os.path.expanduser("~"), ".praison")
320
+ os.environ["CHAINLIT_APP_ROOT"] = root_path
321
+ public_folder = os.path.join(os.path.dirname(__file__), 'public')
322
+ if not os.path.exists(os.path.join(root_path, "public")): # Check if the folder exists in the current directory
319
323
  if os.path.exists(public_folder):
320
- shutil.copytree(public_folder, 'public', dirs_exist_ok=True)
324
+ shutil.copytree(public_folder, os.path.join(root_path, "public"), dirs_exist_ok=True)
321
325
  logging.info("Public folder copied successfully!")
322
326
  else:
323
327
  logging.info("Public folder not found in the package.")
@@ -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.61 gunicorn markdown\n")
59
+ file.write("RUN pip install flask praisonai==0.0.65 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
 
@@ -73,11 +73,11 @@ def initialize_db():
73
73
  type TEXT NOT NULL,
74
74
  threadId UUID NOT NULL,
75
75
  parentId UUID,
76
- disableFeedback BOOLEAN NOT NULL,
77
- streaming BOOLEAN NOT NULL,
78
- waitForAnswer BOOLEAN,
79
- isError BOOLEAN,
80
- metadata JSONB,
76
+ disableFeedback BOOLEAN NOT NULL DEFAULT 0,
77
+ streaming BOOLEAN NOT NULL DEFAULT 0,
78
+ waitForAnswer BOOLEAN DEFAULT 0,
79
+ isError BOOLEAN NOT NULL DEFAULT 0,
80
+ metadata JSONB DEFAULT '{}',
81
81
  tags TEXT[],
82
82
  input TEXT,
83
83
  output TEXT,
@@ -74,11 +74,11 @@ def initialize_db():
74
74
  type TEXT NOT NULL,
75
75
  threadId UUID NOT NULL,
76
76
  parentId UUID,
77
- disableFeedback BOOLEAN NOT NULL,
78
- streaming BOOLEAN NOT NULL,
79
- waitForAnswer BOOLEAN,
80
- isError BOOLEAN,
81
- metadata JSONB,
77
+ disableFeedback BOOLEAN NOT NULL DEFAULT 0,
78
+ streaming BOOLEAN NOT NULL DEFAULT 0,
79
+ waitForAnswer BOOLEAN DEFAULT 0,
80
+ isError BOOLEAN NOT NULL DEFAULT 0,
81
+ metadata JSONB DEFAULT '{}',
82
82
  tags TEXT[],
83
83
  input TEXT,
84
84
  output TEXT,
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "PraisonAI"
3
- version = "0.0.61"
3
+ version = "0.0.65"
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 = ""
@@ -21,7 +21,7 @@ crewai = ">=0.32.0"
21
21
  markdown = ">=3.5"
22
22
  praisonai-tools = ">=0.0.7"
23
23
  pyparsing = ">=3.0.0"
24
- chainlit = {version = "^1.1.301", optional = true}
24
+ chainlit = {version = "^1.1.404", optional = true}
25
25
  gradio = {version = ">=4.26.0", optional = true}
26
26
  flask = {version = ">=3.0.0", optional = true}
27
27
  agentops = {version = ">=0.2.6", optional = true}
@@ -70,7 +70,7 @@ mkdocstrings-python = "*"
70
70
  pdoc3 = "*"
71
71
  xmlrunner = "*"
72
72
  unittest2 = "*"
73
- chainlit = "^1.1.301"
73
+ chainlit = "^1.1.404"
74
74
  gradio = ">=4.26.0"
75
75
  flask = ">=3.0.0"
76
76
  agentops = ">=0.2.6"
File without changes
File without changes
File without changes