llumo 0.2.33__py3-none-any.whl → 0.2.35__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.
llumo/callback.py CHANGED
@@ -233,7 +233,7 @@ class LlumoCallbackHandler(BaseCallbackHandler):
233
233
 
234
234
  except Exception as e:
235
235
  error_message = f"Response processing error: {str(e)}"
236
- status = "ERROR"
236
+ # status = "ERROR"
237
237
 
238
238
  # Ensure we have string values
239
239
  output = str(output) if output is not None else ""
llumo/client.py CHANGED
@@ -22,20 +22,18 @@ from tqdm import tqdm
22
22
 
23
23
  pd.set_option("future.no_silent_downcasting", True)
24
24
 
25
- # postUrl = (
26
- # "https://redskull.llumo.ai/api/process-playground"
27
- # )
28
- postUrl = "http://localhost:4747/api/process-playground"
29
- # fetchUrl = (
30
- # "https://redskull.llumo.ai/api/get-cells-data"
31
- # )
32
- fetchUrl = "http://localhost:4747/api/get-cells-data"
33
- fetchMissingEvalUrl = "http://localhost:4747/api/get-missing-keys"
34
- socketDataUrl = "http://localhost:4747/api/eval/get-awaited"
25
+ postUrl = "https://redskull.llumo.ai/api/process-playground"
26
+
27
+ # postUrl = "http://localhost:4747/api/process-playground"
28
+ fetchUrl = "https://redskull.llumo.ai/api/get-cells-data"
29
+
30
+ # fetchUrl = "http://localhost:4747/api/get-cells-data"
31
+ fetchMissingEvalUrl = "https://redskull.llumo.ai/api/get-missing-keys"
32
+ socketDataUrl = "https://redskull.llumo.ai/api/eval/get-awaited"
35
33
 
36
34
  validateUrl = "https://app.llumo.ai/api/workspace-details"
37
- # socketUrl = "https://redskull.llumo.ai/"
38
- socketUrl = "http://localhost:4747/"
35
+ socketUrl = "https://redskull.llumo.ai/"
36
+ # socketUrl = "http://localhost:4747/"
39
37
  createEvalUrl = "https://backend-api.llumo.ai/api/v1/create-debug-log-for-sdk"
40
38
  # createEvalUrl = "http://localhost:4545/api/v1/create-debug-log-for-sdk"
41
39
 
@@ -206,10 +204,10 @@ class LlumoClient:
206
204
  "Content-Type": "application/json",
207
205
  }
208
206
  try:
209
- print(postUrl)
207
+ # print(postUrl)
210
208
  response = requests.post(postUrl, json=payload, headers=headers)
211
- print(f"Post API Status Code: {response.status_code}")
212
- print(response.text)
209
+ # print(f"Post API Status Code: {response.status_code}")
210
+ # print(response.text)
213
211
  # print(response.status_code)
214
212
 
215
213
  except Exception as e:
@@ -797,7 +795,8 @@ class LlumoClient:
797
795
  email = None
798
796
  try:
799
797
  socketID = self.socket.connect(timeout=250)
800
- print("Socket connected with ID:", socketID)
798
+ print("Socket connected")
799
+ # print("Socket connected with ID:", socketID)
801
800
  except Exception as e:
802
801
  socketID = "DummySocketID"
803
802
  print(f"Socket connection failed, using dummy ID. Error: {str(e)}")
@@ -941,7 +940,7 @@ class LlumoClient:
941
940
  print("rowIdMapping:", rowIdMapping)
942
941
 
943
942
  # Create evaluation payload
944
- print("socketID in before templateData: ", socketID)
943
+ # print("socketID in before templateData: ", socketID)
945
944
  templateData = {
946
945
  "processID": getProcessID(),
947
946
  "socketID": socketID,
@@ -999,13 +998,13 @@ class LlumoClient:
999
998
 
1000
999
  rawResults = self.socket.getReceivedData()
1001
1000
 
1002
- print(f"Total results received: {len(rawResults)}")
1001
+ # print(f"Total results received: {len(rawResults)}")
1003
1002
  # print("Raw results:", rawResults)
1004
1003
 
1005
1004
  # print("data from db #####################",dataFromDb)
1006
1005
  # Fix here: keep full keys, do not split keys
1007
1006
  receivedRowIDs = {key for item in rawResults for key in item.keys()}
1008
- print("Received Row IDs:", receivedRowIDs)
1007
+ # print("Received Row IDs:", receivedRowIDs)
1009
1008
  expectedRowIDs = set(rowIdMapping.keys())
1010
1009
  missingRowIDs = expectedRowIDs - receivedRowIDs
1011
1010
  # print("All expected keys:", expectedRowIDs)
@@ -1013,8 +1012,8 @@ class LlumoClient:
1013
1012
  # print("Missing keys:", len(missingRowIDs))
1014
1013
  missingRowIDs = list(missingRowIDs)
1015
1014
 
1016
- print("Missing Row IDs:", missingRowIDs)
1017
- print(f"Total results before fetching missing data: {len(rawResults)}")
1015
+ # print("Missing Row IDs:", missingRowIDs)
1016
+ # print(f"Total results before fetching missing data: {len(rawResults)}")
1018
1017
  if len(missingRowIDs) > 0:
1019
1018
  print('''It's taking longer than expected to get results for some rows. You can close this now.
1020
1019
  Please wait for 15 mins while we create the flow graph for you. You can check the graph at app.llumo.ai/debugger''')
llumo/helpingFuntions.py CHANGED
@@ -585,7 +585,7 @@ def checkDependency(selectedEval:list = [], columns:list = [],tocheck=True,_retu
585
585
 
586
586
  def fetchData(workspaceID, playgroundID, missingList: list):
587
587
  # Define the URL and prepare the payload
588
- socket_data_url = "http://localhost:4747/api/eval/get-awaited"
588
+ socket_data_url = "https://redskull.llumo.ai/api/eval/get-awaited"
589
589
  payload = {
590
590
  "workspaceID": workspaceID,
591
591
  "playgroundID": playgroundID,
@@ -114,7 +114,7 @@ class LlumoSessionContext(LlumoClient):
114
114
  }
115
115
 
116
116
  try:
117
- print(run)
117
+ # print(run)
118
118
  response = requests.post(url, headers=headers, json=run, timeout=20)
119
119
  response.raise_for_status()
120
120
  # print(response.json())
llumo/sockets.py CHANGED
@@ -150,7 +150,7 @@ class LlumoSocketClient:
150
150
 
151
151
  def getReceivedData(self):
152
152
  with self._lock:
153
- print("Total received:", len(self._received_data)) # DEBUG
153
+ # print("Total received:", len(self._received_data)) # DEBUG
154
154
  return self._received_data.copy()
155
155
 
156
156
  def disconnect(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: llumo
3
- Version: 0.2.33
3
+ Version: 0.2.35
4
4
  Summary: Python SDK for interacting with the Llumo ai API.
5
5
  Home-page: https://www.llumo.ai/
6
6
  Author: Llumo
@@ -1,20 +1,20 @@
1
1
  llumo/__init__.py,sha256=kkuppu7ZPiVZFdnYzJ9BM3syMbYHOSZLpwKwAvGHsnY,311
2
- llumo/callback.py,sha256=K8O_bXgeIOXr5gougWF2Y7wnXTf7c3gSEvJZFiVoCmA,23829
2
+ llumo/callback.py,sha256=PG1YaoOY4xnrJBbOt8C6basX0WSqDGIsH7sjbOCPd88,23831
3
3
  llumo/callbacks-0.py,sha256=TEIOCWRvk2UYsTmBMBsnlgpqWvr-2y3a6d0w_e96NRM,8958
4
4
  llumo/chains.py,sha256=6lCgLseh04RUgc6SahhmvQj82quay2Mi1j8gPUlx8Es,2923
5
- llumo/client.py,sha256=GHpGa-4Re3PjPCztGETR9zGJTZtC8hcPrkoJ4pBk3Yw,73043
5
+ llumo/client.py,sha256=HPCZNFlq7cr96gu-fiWNVT7TEqbpbOtPwNlUEfuB6wU,73085
6
6
  llumo/exceptions.py,sha256=1OyhN9YL9LcyUPUsqYHq6Rret0udATZAwMVJaio2_Ec,2123
7
7
  llumo/execution.py,sha256=nWbJ7AvWuUPcOb6i-JzKRna_PvF-ewZTiK8skS-5n3w,1380
8
8
  llumo/functionCalling.py,sha256=D5jYapu1rIvdIJNUYPYMTyhQ1H-6nkwoOLMi6eekfUE,7241
9
9
  llumo/google.py,sha256=6y9YnDFDRHv6-sQNT5LIsV9p31BCN0B9eow5KTRBWfM,2185
10
- llumo/helpingFuntions.py,sha256=qY0roIHI6aErhP3GO3ruEzjRUz1eZfAZytKHeBdRA5A,27280
10
+ llumo/helpingFuntions.py,sha256=jhB14o5e0YuRp-lCnu1c4vXjoG_y8ZinFHxUrZsnZAk,27284
11
11
  llumo/llumoLogger.py,sha256=grdjhu6Ngxg7nhnrMOP5Pd5ALR7U2ROws48yhf_N7y0,1912
12
- llumo/llumoSessionContext.py,sha256=s1yu8dP_lrVPdiPQdg80n7Pm_IXoc6_XR2-6oBq5UtI,12585
12
+ llumo/llumoSessionContext.py,sha256=si7T66D4bsea9vrCaQiko3ZcBcx7zy9W0lf0bpitaLY,12587
13
13
  llumo/models.py,sha256=aVEZsOOoQx5LeNtwSyBxqvrINq0izH3QWu_YjsMPE6o,2910
14
14
  llumo/openai.py,sha256=VstBzaORe8Tq0feUIIEszzcN1oq6TJfkPviaCr5d3Bw,8950
15
- llumo/sockets.py,sha256=2zp9xzIV46naR3kuotroIvZfJp13TTxpgg2iSxtJofU,6114
16
- llumo-0.2.33.dist-info/licenses/LICENSE,sha256=tF9yAcfPV9xGT3ViWmC8hPvOo8BEk4ZICbUfcEo8Dlk,182
17
- llumo-0.2.33.dist-info/METADATA,sha256=8R_r9WxpkrWcxn0PdARzqRHMHUX8YrJl-EoQUxbBpcU,1558
18
- llumo-0.2.33.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
19
- llumo-0.2.33.dist-info/top_level.txt,sha256=d5zUTMI99llPtLRB8rtSrqELm_bOqX-bNC5IcwlDk88,6
20
- llumo-0.2.33.dist-info/RECORD,,
15
+ llumo/sockets.py,sha256=pBDo-U65hMIMwKMwZQl3iBkEjISEt-9BkXxZTWfSHF4,6116
16
+ llumo-0.2.35.dist-info/licenses/LICENSE,sha256=tF9yAcfPV9xGT3ViWmC8hPvOo8BEk4ZICbUfcEo8Dlk,182
17
+ llumo-0.2.35.dist-info/METADATA,sha256=xz1w9rzfhRpFX7i7u7pBMNdT5W2CTxqvozKfIKzRMMM,1558
18
+ llumo-0.2.35.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
19
+ llumo-0.2.35.dist-info/top_level.txt,sha256=d5zUTMI99llPtLRB8rtSrqELm_bOqX-bNC5IcwlDk88,6
20
+ llumo-0.2.35.dist-info/RECORD,,
File without changes