PraisonAI 0.0.32__py3-none-any.whl → 0.0.34__py3-none-any.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/__init__.py CHANGED
@@ -1,2 +1,6 @@
1
+ # Disable OpenTelemetry SDK
2
+ import os
3
+ os.environ["OTEL_SDK_DISABLED"] = "true"
4
+ os.environ["EC_TELEMETRY"] = "false"
1
5
  from .cli import PraisonAI
2
6
  from .version import __version__
praisonai/chainlit_ui.py CHANGED
@@ -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"
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.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
  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
@@ -1,20 +1,20 @@
1
- praisonai/__init__.py,sha256=5SwxMGd4vNUmYedF_HLLQBo4u8zMEWuEfKhHqJrEE1I,59
1
+ praisonai/__init__.py,sha256=JrgyPlzZfLlozoW7SHZ1nVJ63rLPR3ki2k5ZPywYrnI,175
2
2
  praisonai/__main__.py,sha256=MVgsjMThjBexHt4nhd760JCqvP4x0IQcwo8kULOK4FQ,144
3
3
  praisonai/agents_generator.py,sha256=blzU5uru7rctRUTlnxEER9NLyu4aAd-oUjE-0xo81ww,12787
4
4
  praisonai/auto.py,sha256=CpE9zUbdCP1wR0aLZWKVLxiLU9JOQprRNBK9WKDZVQo,7758
5
- praisonai/chainlit_ui.py,sha256=nzm_C8MpiocAlSfyA3lgERCGxzpEfvoROREBTNrDe5A,10239
5
+ praisonai/chainlit_ui.py,sha256=qJ40aN7oxaI_8IpwPJhf4YPGM2-mBVcy_8bwtR0aCJU,10243
6
6
  praisonai/cli.py,sha256=W_PL7bWnEEuFYBT24mh8171f7TiE_LdxVfrM16fp7Pc,10868
7
- praisonai/deploy.py,sha256=djkS8dt2QiSTZQLNXkAQnCxhaO-yxUgpzUdy8_9b-a4,6031
7
+ praisonai/deploy.py,sha256=IPZk7CM0JBoe7rUFOazdFlV3qHgQIfMA3O8f2o_DxpQ,6031
8
8
  praisonai/inbuilt_tools/__init__.py,sha256=mUKnbL6Gram9c9f2m8wJwEzURBLmPEOcHzwySBH89YA,74
9
- praisonai/inbuilt_tools/autogen_tools.py,sha256=AY-6Vc4l2KsUlqm1Z--YqK1Ji-8q0YyaCAOxx1j5seE,14761
9
+ praisonai/inbuilt_tools/autogen_tools.py,sha256=XZoQHIZMjgXvVwoQ5-Hds3TFneeqd5mMSou2bEvgAuc,14764
10
10
  praisonai/public/fantasy.svg,sha256=4Gs3kIOux-pjGtw6ogI_rv5_viVJxnE5gRwGilsSg0o,1553
11
11
  praisonai/public/game.svg,sha256=y2QMaA01m8XzuDjTOBWzupOC3-TpnUl9ah89mIhviUw,2406
12
12
  praisonai/public/movie.svg,sha256=aJ2EQ8vXZusVsF2SeuAVxP4RFJzQ14T26ejrGYdBgzk,1289
13
13
  praisonai/public/thriller.svg,sha256=2dYY72EcgbEyTxS4QzjAm37Y4srtPWEW4vCMFki98ZI,3163
14
14
  praisonai/test.py,sha256=RZKq3UEFb6AnFFiHER3zBXfNmlteSLBlrTmOvnpnZLo,4092
15
15
  praisonai/version.py,sha256=ugyuFliEqtAwQmH4sTlc16YXKYbFWDmfyk87fErB8-8,21
16
- praisonai-0.0.32.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
17
- praisonai-0.0.32.dist-info/METADATA,sha256=iA6uULSeDCve1WR7P3mYyl76BEyZ4hLdw1x--nELQ8k,9556
18
- praisonai-0.0.32.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
19
- praisonai-0.0.32.dist-info/entry_points.txt,sha256=Qg41eW3A1-dvdV5tF7LqChfYof8Rihk2rN1fiEE3vnk,53
20
- praisonai-0.0.32.dist-info/RECORD,,
16
+ praisonai-0.0.34.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
17
+ praisonai-0.0.34.dist-info/METADATA,sha256=O9Dx54stc2OPouzOWm83OVk8SVMEext5Esk_rfYMfBI,9762
18
+ praisonai-0.0.34.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
19
+ praisonai-0.0.34.dist-info/entry_points.txt,sha256=Qg41eW3A1-dvdV5tF7LqChfYof8Rihk2rN1fiEE3vnk,53
20
+ praisonai-0.0.34.dist-info/RECORD,,