PraisonAI 0.0.61__cp312-cp312-manylinux_2_35_x86_64.whl → 0.0.65__cp312-cp312-manylinux_2_35_x86_64.whl

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.

praisonai/cli.py CHANGED
@@ -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.")
praisonai/deploy.py CHANGED
@@ -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
 
praisonai/ui/chat.py CHANGED
@@ -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,
praisonai/ui/code.py CHANGED
@@ -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
  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
 
@@ -3,8 +3,8 @@ praisonai/__main__.py,sha256=MVgsjMThjBexHt4nhd760JCqvP4x0IQcwo8kULOK4FQ,144
3
3
  praisonai/agents_generator.py,sha256=8d1WRbubvEkBrW1HZ7_xnGyqgJi0yxmXa3MgTIqef1c,19127
4
4
  praisonai/auto.py,sha256=9spTXqj47Hmmqv5QHRYE_RzSVHH_KoPbaZjskUj2UcE,7895
5
5
  praisonai/chainlit_ui.py,sha256=bNR7s509lp0I9JlJNvwCZRUZosC64qdvlFCt8NmFamQ,12216
6
- praisonai/cli.py,sha256=ZDQF9OXgaquu_89cLc-jsx5D9zWxYg4ChPhlVv66drk,18047
7
- praisonai/deploy.py,sha256=JQ8FsfDYeZ310dSmOAHGfgI0wFjqPK45BrcLrRUOgBw,6028
6
+ praisonai/cli.py,sha256=Bnh7tNtcJwvtyJLLGxCCtdWIuJgJdwUjZNxZYvZjW_w,18397
7
+ praisonai/deploy.py,sha256=vu1hl0sqbj8v6aoUh7bfNT_OOY1BhKqOUE7nRdC6vD4,6028
8
8
  praisonai/inbuilt_tools/__init__.py,sha256=mUKnbL6Gram9c9f2m8wJwEzURBLmPEOcHzwySBH89YA,74
9
9
  praisonai/inbuilt_tools/autogen_tools.py,sha256=svYkM2N7DVFvbiwgoAS7U_MqTOD8rHf8VD3BaFUV5_Y,14907
10
10
  praisonai/inc/__init__.py,sha256=sPDlYBBwdk0VlWzaaM_lG0_LD07lS2HRGvPdxXJFiYg,62
@@ -30,8 +30,8 @@ praisonai/setup/setup_conda_env.py,sha256=4QiWrqgEObivzOMwfJgWaCPpUEpB68cQ6lFwVw
30
30
  praisonai/setup/setup_conda_env.sh,sha256=te7s0KHsTi7XM-vkNvE0dKC1HeU2tXxqE-sPUScV6fY,2718
31
31
  praisonai/test.py,sha256=OL-wesjA5JTohr8rtr6kWoaS4ImkJg2l0GXJ-dUUfRU,4090
32
32
  praisonai/train.py,sha256=DvORlrwKOD-2v4r_z84eV3LsfzpNs-WnPKb5cQB3_t4,11071
33
- praisonai/ui/chat.py,sha256=B4F1R7qP-0c-elg8WcRsYlr6-FkmHWtdunGIzU7WrDM,9321
34
- praisonai/ui/code.py,sha256=GcOr8lNah4AgI2RcIKmgjehzSl-KNu7x6UHrghixeaM,10095
33
+ praisonai/ui/chat.py,sha256=V4kG2jog8FK0zHbcG_gTS58JzeriG_ZTorCjEnjJz38,9383
34
+ praisonai/ui/code.py,sha256=MaegqaKknkPup1AVoVIkVLa7YUp25kytqq_udm0xtIg,10157
35
35
  praisonai/ui/context.py,sha256=oWO2I_WBZb7kZnuXItf18EJX0ZQv-1nAd8rxhwhuuDU,11871
36
36
  praisonai/ui/public/fantasy.svg,sha256=4Gs3kIOux-pjGtw6ogI_rv5_viVJxnE5gRwGilsSg0o,1553
37
37
  praisonai/ui/public/game.svg,sha256=y2QMaA01m8XzuDjTOBWzupOC3-TpnUl9ah89mIhviUw,2406
@@ -41,8 +41,8 @@ praisonai/ui/public/movie.svg,sha256=aJ2EQ8vXZusVsF2SeuAVxP4RFJzQ14T26ejrGYdBgzk
41
41
  praisonai/ui/public/thriller.svg,sha256=2dYY72EcgbEyTxS4QzjAm37Y4srtPWEW4vCMFki98ZI,3163
42
42
  praisonai/ui/sql_alchemy.py,sha256=HsyeRq-G9qbQobHWpTJHHKQiT4FvYw_7iuv-2PNh0IU,27419
43
43
  praisonai/version.py,sha256=ugyuFliEqtAwQmH4sTlc16YXKYbFWDmfyk87fErB8-8,21
44
- praisonai-0.0.61.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
45
- praisonai-0.0.61.dist-info/METADATA,sha256=M-MbTL30aaXFUXZ5M42Gxhcu478_Gl9MfdiZLgnb5jI,11148
46
- praisonai-0.0.61.dist-info/WHEEL,sha256=HBsDV7Hj4OTiS1GX6ua7iQXUQTB9UHftbBxr7Q8Xm9c,110
47
- praisonai-0.0.61.dist-info/entry_points.txt,sha256=jB078LEGLY3Ky_indhclomRIVVpXrPSksHjJ-tcBZ-o,133
48
- praisonai-0.0.61.dist-info/RECORD,,
44
+ praisonai-0.0.65.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
45
+ praisonai-0.0.65.dist-info/METADATA,sha256=Qzr4CiXNuuxm9y_cKG9lJYTLvCb_FvnG4ffcEWsGESk,11406
46
+ praisonai-0.0.65.dist-info/WHEEL,sha256=HBsDV7Hj4OTiS1GX6ua7iQXUQTB9UHftbBxr7Q8Xm9c,110
47
+ praisonai-0.0.65.dist-info/entry_points.txt,sha256=jB078LEGLY3Ky_indhclomRIVVpXrPSksHjJ-tcBZ-o,133
48
+ praisonai-0.0.65.dist-info/RECORD,,