PraisonAI 2.2.16__cp313-cp313-manylinux_2_39_x86_64.whl → 2.2.18__cp313-cp313-manylinux_2_39_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/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # PraisonAI Package
2
+
3
+ This is the PraisonAI package, which serves as a wrapper for PraisonAIAgents.
4
+
5
+ It provides a simple and intuitive interface for working with AI agents and their capabilities.
@@ -438,11 +438,13 @@ class AgentsGenerator:
438
438
  if llm_model:
439
439
  llm = PraisonAIModel(
440
440
  model=llm_model.get("model") or os.environ.get("MODEL_NAME") or "openai/gpt-4o",
441
- base_url=self.config_list[0].get('base_url') if self.config_list else None
441
+ base_url=self.config_list[0].get('base_url') if self.config_list else None,
442
+ api_key=self.config_list[0].get('api_key') if self.config_list else None
442
443
  ).get_model()
443
444
  else:
444
445
  llm = PraisonAIModel(
445
- base_url=self.config_list[0].get('base_url') if self.config_list else None
446
+ base_url=self.config_list[0].get('base_url') if self.config_list else None,
447
+ api_key=self.config_list[0].get('api_key') if self.config_list else None
446
448
  ).get_model()
447
449
 
448
450
  # Configure function calling LLM
@@ -450,11 +452,13 @@ class AgentsGenerator:
450
452
  if function_calling_llm_model:
451
453
  function_calling_llm = PraisonAIModel(
452
454
  model=function_calling_llm_model.get("model") or os.environ.get("MODEL_NAME") or "openai/gpt-4o",
453
- base_url=self.config_list[0].get('base_url') if self.config_list else None
455
+ base_url=self.config_list[0].get('base_url') if self.config_list else None,
456
+ api_key=self.config_list[0].get('api_key') if self.config_list else None
454
457
  ).get_model()
455
458
  else:
456
459
  function_calling_llm = PraisonAIModel(
457
- base_url=self.config_list[0].get('base_url') if self.config_list else None
460
+ base_url=self.config_list[0].get('base_url') if self.config_list else None,
461
+ api_key=self.config_list[0].get('api_key') if self.config_list else None
458
462
  ).get_model()
459
463
 
460
464
  # Create CrewAI agent
praisonai/auto.py CHANGED
@@ -91,10 +91,22 @@ Tools are not available for {framework}. To use tools, install:
91
91
  pip install "praisonai[{framework}]"
92
92
  """)
93
93
 
94
+ # Support multiple environment variable patterns for better compatibility
95
+ # Priority order: MODEL_NAME > OPENAI_MODEL_NAME for model selection
96
+ model_name = os.environ.get("MODEL_NAME") or os.environ.get("OPENAI_MODEL_NAME", "gpt-4o")
97
+
98
+ # Priority order for base_url: OPENAI_BASE_URL > OPENAI_API_BASE > OLLAMA_API_BASE
99
+ # OPENAI_BASE_URL is the standard OpenAI SDK environment variable
100
+ base_url = (
101
+ os.environ.get("OPENAI_BASE_URL") or
102
+ os.environ.get("OPENAI_API_BASE") or
103
+ os.environ.get("OLLAMA_API_BASE", "https://api.openai.com/v1")
104
+ )
105
+
94
106
  self.config_list = config_list or [
95
107
  {
96
- 'model': os.environ.get("OPENAI_MODEL_NAME", "gpt-4o"),
97
- 'base_url': os.environ.get("OPENAI_API_BASE", "https://api.openai.com/v1"),
108
+ 'model': model_name,
109
+ 'base_url': base_url,
98
110
  'api_key': os.environ.get("OPENAI_API_KEY")
99
111
  }
100
112
  ]
praisonai/chainlit_ui.py CHANGED
@@ -24,8 +24,8 @@ config_list = [
24
24
  agent_file = "test.yaml"
25
25
 
26
26
  actions=[
27
- cl.Action(name="run", value="run", label="✅ Run"),
28
- cl.Action(name="modify", value="modify", label="🔧 Modify"),
27
+ cl.Action(name="run", payload="run", label="✅ Run"),
28
+ cl.Action(name="modify", payload="modify", label="🔧 Modify"),
29
29
  ]
30
30
 
31
31
  @cl.action_callback("run")
praisonai/cli.py CHANGED
@@ -114,11 +114,23 @@ class PraisonAI:
114
114
  """
115
115
  self.agent_yaml = agent_yaml
116
116
  # Create config_list with AutoGen compatibility
117
+ # Support multiple environment variable patterns for better compatibility
118
+ # Priority order: MODEL_NAME > OPENAI_MODEL_NAME for model selection
119
+ model_name = os.environ.get("MODEL_NAME") or os.environ.get("OPENAI_MODEL_NAME", "gpt-4o")
120
+
121
+ # Priority order for base_url: OPENAI_BASE_URL > OPENAI_API_BASE > OLLAMA_API_BASE
122
+ # OPENAI_BASE_URL is the standard OpenAI SDK environment variable
123
+ base_url = (
124
+ os.environ.get("OPENAI_BASE_URL") or
125
+ os.environ.get("OPENAI_API_BASE") or
126
+ os.environ.get("OLLAMA_API_BASE", "https://api.openai.com/v1")
127
+ )
128
+
117
129
  api_key = os.environ.get("OPENAI_API_KEY")
118
130
  self.config_list = [
119
131
  {
120
- 'model': os.environ.get("OPENAI_MODEL_NAME", "gpt-4o"),
121
- 'base_url': os.environ.get("OPENAI_API_BASE", "https://api.openai.com/v1"),
132
+ 'model': model_name,
133
+ 'base_url': base_url,
122
134
  'api_key': api_key,
123
135
  'api_type': 'openai' # AutoGen expects this field
124
136
  }
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==2.2.16 gunicorn markdown\n")
59
+ file.write("RUN pip install flask praisonai==2.2.18 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/inc/models.py CHANGED
@@ -30,14 +30,15 @@ except ImportError:
30
30
  COHERE_AVAILABLE = False
31
31
 
32
32
  class PraisonAIModel:
33
- def __init__(self, model=None, api_key_var=None, base_url=None):
33
+ def __init__(self, model=None, api_key_var=None, base_url=None, api_key=None):
34
34
  """
35
35
  Initializes the PraisonAIModel with the provided parameters or environment variables.
36
36
 
37
37
  Args:
38
38
  model (str, optional): The name of the OpenAI model. Defaults to None.
39
- api_key_var (str, optional): The OpenAI API key. Defaults to None.
39
+ api_key_var (str, optional): The environment variable name for the API key. Defaults to None.
40
40
  base_url (str, optional): The base URL for the OpenAI API. Defaults to None.
41
+ api_key (str, optional): The explicit API key to use. Takes precedence over environment variables. Defaults to None.
41
42
  """
42
43
  self.model = model or os.getenv("OPENAI_MODEL_NAME", "gpt-4o")
43
44
  if self.model.startswith("openai/"):
@@ -73,7 +74,8 @@ class PraisonAIModel:
73
74
  self.base_url = base_url or os.environ.get("OPENAI_API_BASE", "https://api.openai.com/v1")
74
75
  self.model_name = self.model
75
76
  logger.debug(f"Initialized PraisonAIModel with model {self.model_name}, api_key_var {self.api_key_var}, and base_url {self.base_url}")
76
- self.api_key = os.environ.get(self.api_key_var, "nokey")
77
+ # Use explicit API key if provided, otherwise fall back to environment variable
78
+ self.api_key = api_key or os.environ.get(self.api_key_var, "nokey")
77
79
 
78
80
  def get_model(self):
79
81
  """
praisonai/ui/agents.py CHANGED
@@ -17,8 +17,8 @@ config_list = [
17
17
  ]
18
18
 
19
19
  actions = [
20
- cl.Action(name="run", value="run", label="✅ Run"),
21
- cl.Action(name="modify", value="modify", label="🔧 Modify"),
20
+ cl.Action(name="run", payload="run", label="✅ Run"),
21
+ cl.Action(name="modify", payload="modify", label="🔧 Modify"),
22
22
  ]
23
23
 
24
24
  @cl.action_callback("run")
@@ -0,0 +1,103 @@
1
+ Metadata-Version: 2.3
2
+ Name: PraisonAI
3
+ Version: 2.2.18
4
+ Summary: PraisonAI is an AI Agents Framework with Self Reflection. PraisonAI application combines PraisonAI Agents, AutoGen, and CrewAI into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customisation, and efficient human-agent collaboration.
5
+ Author: Mervin Praison
6
+ Requires-Python: >=3.10,<3.13
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: Programming Language :: Python :: 3.10
9
+ Classifier: Programming Language :: Python :: 3.11
10
+ Classifier: Programming Language :: Python :: 3.12
11
+ Provides-Extra: agentops
12
+ Provides-Extra: anthropic
13
+ Provides-Extra: api
14
+ Provides-Extra: autogen
15
+ Provides-Extra: call
16
+ Provides-Extra: chat
17
+ Provides-Extra: code
18
+ Provides-Extra: cohere
19
+ Provides-Extra: crewai
20
+ Provides-Extra: google
21
+ Provides-Extra: gradio
22
+ Provides-Extra: openai
23
+ Provides-Extra: realtime
24
+ Provides-Extra: ui
25
+ Requires-Dist: PyYAML (>=6.0)
26
+ Requires-Dist: agentops (>=0.3.12) ; extra == "agentops"
27
+ Requires-Dist: aiosqlite (>=0.20.0) ; extra == "chat"
28
+ Requires-Dist: aiosqlite (>=0.20.0) ; extra == "code"
29
+ Requires-Dist: aiosqlite (>=0.20.0) ; extra == "realtime"
30
+ Requires-Dist: aiosqlite (>=0.20.0) ; extra == "ui"
31
+ Requires-Dist: chainlit (==2.5.5) ; extra == "chat"
32
+ Requires-Dist: chainlit (==2.5.5) ; extra == "code"
33
+ Requires-Dist: chainlit (==2.5.5) ; extra == "realtime"
34
+ Requires-Dist: chainlit (==2.5.5) ; extra == "ui"
35
+ Requires-Dist: crawl4ai (>=0.6.0) ; extra == "chat"
36
+ Requires-Dist: crawl4ai (>=0.6.0) ; extra == "code"
37
+ Requires-Dist: crawl4ai (>=0.6.0) ; extra == "realtime"
38
+ Requires-Dist: crewai (>=0.32.0) ; extra == "crewai"
39
+ Requires-Dist: crewai ; extra == "autogen"
40
+ Requires-Dist: duckduckgo_search (>=6.3.0) ; extra == "realtime"
41
+ Requires-Dist: fastapi (>=0.115.0) ; extra == "api"
42
+ Requires-Dist: fastapi (>=0.95.0) ; extra == "call"
43
+ Requires-Dist: flaml[automl] (>=2.3.1) ; extra == "call"
44
+ Requires-Dist: flask (>=3.0.0) ; extra == "api"
45
+ Requires-Dist: gradio (>=4.26.0) ; extra == "gradio"
46
+ Requires-Dist: greenlet (>=3.0.3) ; extra == "chat"
47
+ Requires-Dist: greenlet (>=3.0.3) ; extra == "code"
48
+ Requires-Dist: greenlet (>=3.0.3) ; extra == "realtime"
49
+ Requires-Dist: greenlet (>=3.0.3) ; extra == "ui"
50
+ Requires-Dist: instructor (>=1.3.3)
51
+ Requires-Dist: langchain-anthropic (>=0.3.0) ; extra == "anthropic"
52
+ Requires-Dist: langchain-cohere (>=0.3.0,<0.4.0) ; extra == "cohere"
53
+ Requires-Dist: langchain-google-genai (>=2.1.0) ; extra == "google"
54
+ Requires-Dist: langchain-openai (>=0.2.1,<0.3.0) ; extra == "openai"
55
+ Requires-Dist: litellm (>=1.68.0) ; extra == "chat"
56
+ Requires-Dist: litellm (>=1.68.0) ; extra == "code"
57
+ Requires-Dist: litellm (>=1.68.0) ; extra == "realtime"
58
+ Requires-Dist: markdown (>=3.5)
59
+ Requires-Dist: mcp (>=1.6.0)
60
+ Requires-Dist: openai (>=1.54.0) ; extra == "call"
61
+ Requires-Dist: playwright (>=1.47.0) ; extra == "chat"
62
+ Requires-Dist: playwright (>=1.47.0) ; extra == "code"
63
+ Requires-Dist: plotly (>=5.24.0) ; extra == "realtime"
64
+ Requires-Dist: praisonai-tools (>=0.0.15) ; extra == "autogen"
65
+ Requires-Dist: praisonai-tools (>=0.0.15) ; extra == "crewai"
66
+ Requires-Dist: praisonaiagents (>=0.0.91)
67
+ Requires-Dist: pyautogen (>=0.2.19) ; extra == "autogen"
68
+ Requires-Dist: pydantic (<=2.10.1) ; extra == "chat"
69
+ Requires-Dist: pydantic (<=2.10.1) ; extra == "code"
70
+ Requires-Dist: pydantic (<=2.10.1) ; extra == "ui"
71
+ Requires-Dist: pyngrok (>=1.4.0) ; extra == "call"
72
+ Requires-Dist: pyparsing (>=3.0.0)
73
+ Requires-Dist: python-dotenv (>=0.19.0)
74
+ Requires-Dist: rich (>=13.7)
75
+ Requires-Dist: rich ; extra == "call"
76
+ Requires-Dist: rich ; extra == "chat"
77
+ Requires-Dist: sqlalchemy (>=2.0.36) ; extra == "chat"
78
+ Requires-Dist: sqlalchemy (>=2.0.36) ; extra == "code"
79
+ Requires-Dist: sqlalchemy (>=2.0.36) ; extra == "realtime"
80
+ Requires-Dist: sqlalchemy (>=2.0.36) ; extra == "ui"
81
+ Requires-Dist: tavily-python (==0.5.0) ; extra == "chat"
82
+ Requires-Dist: tavily-python (==0.5.0) ; extra == "code"
83
+ Requires-Dist: tavily-python (==0.5.0) ; extra == "realtime"
84
+ Requires-Dist: twilio (>=7.0.0) ; extra == "call"
85
+ Requires-Dist: uvicorn (>=0.20.0) ; extra == "call"
86
+ Requires-Dist: uvicorn (>=0.34.0) ; extra == "api"
87
+ Requires-Dist: websockets (>=12.0) ; extra == "call"
88
+ Requires-Dist: websockets (>=12.0) ; extra == "realtime"
89
+ Requires-Dist: yfinance (>=0.2.44) ; extra == "realtime"
90
+ Project-URL: Homepage, https://docs.praison.ai
91
+ Project-URL: Repository, https://github.com/mervinpraison/PraisonAI
92
+ Description-Content-Type: text/markdown
93
+
94
+ # PraisonAI Package
95
+
96
+ This is the PraisonAI package, which serves as a wrapper for PraisonAIAgents.
97
+
98
+ It provides a simple and intuitive interface for working with AI agents and their capabilities.
99
+
100
+ ## Directory Structure
101
+
102
+ The main package code is located in the `praisonai` subdirectory.
103
+
@@ -1,16 +1,17 @@
1
+ praisonai/README.md,sha256=dXaEAByiWlJPE8_k-13lsNIEuvHdzmzJzJ8IVa84thM,195
1
2
  praisonai/__init__.py,sha256=JrgyPlzZfLlozoW7SHZ1nVJ63rLPR3ki2k5ZPywYrnI,175
2
3
  praisonai/__main__.py,sha256=MVgsjMThjBexHt4nhd760JCqvP4x0IQcwo8kULOK4FQ,144
3
- praisonai/agents_generator.py,sha256=K8J0O_BKs1GkjzaA_GIg6610W5bYTiSc1ObSl4AJckM,28977
4
+ praisonai/agents_generator.py,sha256=IMD5VTYL0fUEiCUcoADGAfe2tBtPHJa-tRmN8g525bM,29353
4
5
  praisonai/api/call.py,sha256=krOfTCZM_bdbsNuWQ1PijzCHECkDvEi9jIvvZaDQUUU,11035
5
- praisonai/auto.py,sha256=g9k1X94mx4tYxprEAtgzu-FPRffBM7cq2MZ0C3Po364,8683
6
- praisonai/chainlit_ui.py,sha256=bNR7s509lp0I9JlJNvwCZRUZosC64qdvlFCt8NmFamQ,12216
7
- praisonai/cli.py,sha256=qsSQHx1jXNyUK8QEVXhd5eCSCoZ2iJLYYe1fiCA3WT8,27336
8
- praisonai/deploy.py,sha256=lhiVEIiUo8ho_fALzopkiPKUZ4PnYJdoL64d5gUNxc8,6028
6
+ praisonai/auto.py,sha256=n4rhiNckKv0Vtn2OnhDVVuOBxmm3CpimM9Y-ZVN9H9E,9240
7
+ praisonai/chainlit_ui.py,sha256=VKf_--cONLIBMymMY8j-oj6Pq_rw3pHtXOqF2wZ9gYI,12220
8
+ praisonai/cli.py,sha256=Tw2HT4Orgx4WW6RDB-f9ssvFPdlyJlHTc_3G7Uve060,27893
9
+ praisonai/deploy.py,sha256=9_n1GdjdP8cFoaUISRwN9wiwDtAhYHkZ3W6Dxt1O87g,6028
9
10
  praisonai/inbuilt_tools/__init__.py,sha256=mZOEximj3zCyJHq9Lz0bGXhQpBsa_QR-R-yA9UKC3zI,565
10
11
  praisonai/inbuilt_tools/autogen_tools.py,sha256=kJdEv61BTYvdHOaURNEpBcWq8Rs-oC03loNFTIjT-ak,4687
11
12
  praisonai/inc/__init__.py,sha256=sPDlYBBwdk0VlWzaaM_lG0_LD07lS2HRGvPdxXJFiYg,62
12
13
  praisonai/inc/config.py,sha256=up2-841ruK7MCUUT3xkWBA5S6WsY0sFODNfcT6Q4Wms,3333
13
- praisonai/inc/models.py,sha256=1kwP9o56AvN8L38x7eeAzudjAvstN0uWu-woQkgxAe4,5449
14
+ praisonai/inc/models.py,sha256=lWzKBiGXpvv2L6SD3jJo5kTaH1Senm1HvRMCKlYkmjk,5718
14
15
  praisonai/public/android-chrome-192x192.png,sha256=ENJEqhDE3XEQViRhKNDezQKRiOiuHOUj5nzRN43fz50,6535
15
16
  praisonai/public/android-chrome-512x512.png,sha256=4txEwB0cJkxFVarRdvFGJZR1DtWJ2h-L_2cUEjBXHAc,15244
16
17
  praisonai/public/apple-touch-icon.png,sha256=YLlEhlenm24QY_yv-5wb_mxDxJ8H22H_S8Khlvz-zVA,6001
@@ -36,25 +37,13 @@ praisonai/test.py,sha256=OL-wesjA5JTohr8rtr6kWoaS4ImkJg2l0GXJ-dUUfRU,4090
36
37
  praisonai/train.py,sha256=Cjb0TKU3esNrCk2OX24Qm1S1crRC00FdiGUYJLw3iPQ,24094
37
38
  praisonai/train_vision.py,sha256=OLDtr5u9rszWQ80LC5iFy37yPuYguES6AQybm_2RtM4,12514
38
39
  praisonai/ui/README.md,sha256=QG9yucvBieVjCjWFzu6hL9xNtYllkoqyJ_q1b0YYAco,1124
39
- praisonai/ui/agents.py,sha256=1qsWE2yCaQKhuc-1uLHdMfZJeOXzBtp4pe5q7bk2EuA,32813
40
+ praisonai/ui/agents.py,sha256=wWtVHCQAvLxAe3vtcnivM0JWGuxshbhhwbX8t5VYTD4,32817
40
41
  praisonai/ui/callbacks.py,sha256=V4_-GjxmjDFmugUZGfQHKtNSysx7rT6i1UblbM_8lIM,1968
41
42
  praisonai/ui/chat.py,sha256=rlYwhTd3giBuvtK4Yc9kf6N9jfVT0VrZ-mLIzhANGiQ,13565
42
43
  praisonai/ui/code.py,sha256=nrknYLOkWxdjwkXrLHgOEXFaO9MrKi5OZ3kb2XuIfOc,15991
43
44
  praisonai/ui/colab.py,sha256=A2NceDVazMy53mIpp-NIn5w3y8aQKwQu5LmHTepVwlo,19584
44
45
  praisonai/ui/colab_chainlit.py,sha256=wrB1O0ttRlmOH8aMxU8QdGpse-X54U87ZcEEA3R1aFg,2432
45
46
  praisonai/ui/components/aicoder.py,sha256=Xh95RSEJCel5mEGic4vdtzyNpHNULF3ymft9nbwglXY,11155
46
- praisonai/ui/config/.chainlit/config.toml,sha256=kxb2APgVauLtfxlcEMlv8GHse6p8AbNTsJhIfZF38bg,3824
47
- praisonai/ui/config/.chainlit/translations/bn.json,sha256=m2TAaGMS-18_siW5dw4sbosh0Wn8ENWWzdGYkHaBrXw,22679
48
- praisonai/ui/config/.chainlit/translations/en-US.json,sha256=QoQAg8P5Q5gbGASc-HAHcfhufk71-Uc1u_ewIBfHuLc,9821
49
- praisonai/ui/config/.chainlit/translations/gu.json,sha256=9wE-NsHf7j5VUFzfE-cCpESTyHtzVHRcZXAwC3ACMl0,21660
50
- praisonai/ui/config/.chainlit/translations/he-IL.json,sha256=uVS4q9wlxDWqCNXde_f34p4tXcyA89YBsVNRDiOkhaE,16974
51
- praisonai/ui/config/.chainlit/translations/hi.json,sha256=3zi4wbpTCv5Q1bOzakeVQqeRpaO5ZkPJJ6oV-dVtNF4,21079
52
- praisonai/ui/config/.chainlit/translations/kn.json,sha256=GRGmx2hPh8bSfpKJQHwwtV_UF45kaMc8S-rUJeh_ZA4,23514
53
- praisonai/ui/config/.chainlit/translations/ml.json,sha256=QK1mYIbx_0gmmR4Poy2mm3uttAgW2ZpMfo6jgDec6uc,24857
54
- praisonai/ui/config/.chainlit/translations/mr.json,sha256=JaU16y5uW-cH0x7w6RDztEmhqEtnerJ61h8azkNLqyg,21321
55
- praisonai/ui/config/.chainlit/translations/ta.json,sha256=8JPW6BwLN2dl9wuq5wSkMvazcY8lM5v1pqbBxwObGUw,24724
56
- praisonai/ui/config/.chainlit/translations/te.json,sha256=JzW2YXWg1qqvWgIvEgMelQz5s6EzTb_uD_3TEHAHiQw,23526
57
- praisonai/ui/config/.chainlit/translations/zh-CN.json,sha256=aLBSSSQ0yojlYGuMMlOYvkD_ruG9-d2AgnjJWhPODVw,11737
58
47
  praisonai/ui/config/chainlit.md,sha256=YCjGjkKOeW0w711tkAdEfC6sPgBRm6G3bxYPFeHx72U,28
59
48
  praisonai/ui/config/translations/bn.json,sha256=m2TAaGMS-18_siW5dw4sbosh0Wn8ENWWzdGYkHaBrXw,22679
60
49
  praisonai/ui/config/translations/en-US.json,sha256=QoQAg8P5Q5gbGASc-HAHcfhufk71-Uc1u_ewIBfHuLc,9821
@@ -84,8 +73,7 @@ praisonai/ui/sql_alchemy.py,sha256=fPLPBJlrgV1_sRugirbNDCunqxqFB-CjV9TvCThU4nU,2
84
73
  praisonai/ui/tools.md,sha256=Ad3YH_ZCLMWlz3mDXllQnQ_S5l55LWqLdcZSh-EXrHI,3956
85
74
  praisonai/upload_vision.py,sha256=lMpFn993UiYVJxRNZQTmcbPbEajQ5TFKCNGK1Icn_hg,5253
86
75
  praisonai/version.py,sha256=ugyuFliEqtAwQmH4sTlc16YXKYbFWDmfyk87fErB8-8,21
87
- praisonai-2.2.16.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
88
- praisonai-2.2.16.dist-info/METADATA,sha256=NqbuxzIMU9f3JRQsZTrMYEeLQUognLqGMvp1W0oA-MA,22119
89
- praisonai-2.2.16.dist-info/WHEEL,sha256=dCzwOzx-VmbmLA5u8QpkARaxx3rsePBxa1nmZphhNQk,110
90
- praisonai-2.2.16.dist-info/entry_points.txt,sha256=I_xc6a6MNTTfLxYmAxe0rgey0G-_hbY07oFW-ZDnkw4,135
91
- praisonai-2.2.16.dist-info/RECORD,,
76
+ praisonai-2.2.18.dist-info/METADATA,sha256=wblnChfolLTcsCb5ig3U6_RPiwGb3N9IsdJs_xBkntk,4745
77
+ praisonai-2.2.18.dist-info/WHEEL,sha256=dCzwOzx-VmbmLA5u8QpkARaxx3rsePBxa1nmZphhNQk,110
78
+ praisonai-2.2.18.dist-info/entry_points.txt,sha256=I_xc6a6MNTTfLxYmAxe0rgey0G-_hbY07oFW-ZDnkw4,135
79
+ praisonai-2.2.18.dist-info/RECORD,,
@@ -1,120 +0,0 @@
1
- [project]
2
- # Whether to enable telemetry (default: true). No personal data is collected.
3
- enable_telemetry = false
4
-
5
- # List of environment variables to be provided by each user to use the app.
6
- user_env = []
7
-
8
- # Duration (in seconds) during which the session is saved when the connection is lost
9
- session_timeout = 3600
10
-
11
- # Enable third parties caching (e.g LangChain cache)
12
- cache = false
13
-
14
- # Authorized origins
15
- allow_origins = ["*"]
16
-
17
- # Follow symlink for asset mount (see https://github.com/Chainlit/chainlit/issues/317)
18
- # follow_symlink = false
19
-
20
- [features]
21
- # Process and display HTML in messages. This can be a security risk (see https://stackoverflow.com/questions/19603097/why-is-it-dangerous-to-render-user-generated-html-or-javascript)
22
- unsafe_allow_html = false
23
-
24
- # Process and display mathematical expressions. This can clash with "$" characters in messages.
25
- latex = false
26
-
27
- # Automatically tag threads with the current chat profile (if a chat profile is used)
28
- auto_tag_thread = true
29
-
30
- # Allow users to edit their own messages
31
- edit_message = true
32
-
33
- # Authorize users to spontaneously upload files with messages
34
- [features.spontaneous_file_upload]
35
- enabled = true
36
- accept = ["*/*"]
37
- max_files = 20
38
- max_size_mb = 500
39
-
40
- [features.audio]
41
- # Threshold for audio recording
42
- min_decibels = -45
43
- # Delay for the user to start speaking in MS
44
- initial_silence_timeout = 3000
45
- # Delay for the user to continue speaking in MS. If the user stops speaking for this duration, the recording will stop.
46
- silence_timeout = 1500
47
- # Above this duration (MS), the recording will forcefully stop.
48
- max_duration = 15000
49
- # Duration of the audio chunks in MS
50
- chunk_duration = 1000
51
- # Sample rate of the audio
52
- sample_rate = 44100
53
-
54
- [UI]
55
- # Name of the assistant.
56
- name = "Assistant"
57
-
58
- # Description of the assistant. This is used for HTML tags.
59
- # description = ""
60
-
61
- # Large size content are by default collapsed for a cleaner ui
62
- default_collapse_content = true
63
-
64
- # Chain of Thought (CoT) display mode. Can be "hidden", "tool_call" or "full".
65
- cot = "full"
66
-
67
- # Link to your github repo. This will add a github button in the UI's header.
68
- # github = ""
69
-
70
- # Specify a CSS file that can be used to customize the user interface.
71
- # The CSS file can be served from the public directory or via an external link.
72
- custom_css = "https://cdn.jsdelivr.net/gh/MervinPraison/PraisonAI@2.0.0/praisonai/ui/public/praison.css"
73
-
74
- # Specify a Javascript file that can be used to customize the user interface.
75
- # The Javascript file can be served from the public directory.
76
- # custom_js = "/public/test.js"
77
-
78
- # Specify a custom font url.
79
- # custom_font = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap"
80
-
81
- # Specify a custom meta image url.
82
- # custom_meta_image_url = "https://chainlit-cloud.s3.eu-west-3.amazonaws.com/logo/chainlit_banner.png"
83
-
84
- # Specify a custom build directory for the frontend.
85
- # This can be used to customize the frontend code.
86
- # Be careful: If this is a relative path, it should not start with a slash.
87
- # custom_build = "./public/build"
88
-
89
- [UI.theme]
90
- default = "dark"
91
- #layout = "wide"
92
- #font_family = "Inter, sans-serif"
93
- # Override default MUI light theme. (Check theme.ts)
94
- [UI.theme.light]
95
- #background = "#FAFAFA"
96
- #paper = "#FFFFFF"
97
-
98
- [UI.theme.light.primary]
99
- #main = "#F80061"
100
- #dark = "#980039"
101
- #light = "#FFE7EB"
102
- [UI.theme.light.text]
103
- #primary = "#212121"
104
- #secondary = "#616161"
105
-
106
- # Override default MUI dark theme. (Check theme.ts)
107
- [UI.theme.dark]
108
- #background = "#FAFAFA"
109
- #paper = "#FFFFFF"
110
-
111
- [UI.theme.dark.primary]
112
- #main = "#F80061"
113
- #dark = "#980039"
114
- #light = "#FFE7EB"
115
- [UI.theme.dark.text]
116
- #primary = "#EEEEEE"
117
- #secondary = "#BDBDBD"
118
-
119
- [meta]
120
- generated_by = "1.3.2"