llumo 0.2.34__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
@@ -204,10 +204,10 @@ class LlumoClient:
204
204
  "Content-Type": "application/json",
205
205
  }
206
206
  try:
207
- print(postUrl)
207
+ # print(postUrl)
208
208
  response = requests.post(postUrl, json=payload, headers=headers)
209
- print(f"Post API Status Code: {response.status_code}")
210
- print(response.text)
209
+ # print(f"Post API Status Code: {response.status_code}")
210
+ # print(response.text)
211
211
  # print(response.status_code)
212
212
 
213
213
  except Exception as e:
@@ -795,7 +795,8 @@ class LlumoClient:
795
795
  email = None
796
796
  try:
797
797
  socketID = self.socket.connect(timeout=250)
798
- print("Socket connected with ID:", socketID)
798
+ print("Socket connected")
799
+ # print("Socket connected with ID:", socketID)
799
800
  except Exception as e:
800
801
  socketID = "DummySocketID"
801
802
  print(f"Socket connection failed, using dummy ID. Error: {str(e)}")
@@ -939,7 +940,7 @@ class LlumoClient:
939
940
  print("rowIdMapping:", rowIdMapping)
940
941
 
941
942
  # Create evaluation payload
942
- print("socketID in before templateData: ", socketID)
943
+ # print("socketID in before templateData: ", socketID)
943
944
  templateData = {
944
945
  "processID": getProcessID(),
945
946
  "socketID": socketID,
@@ -997,13 +998,13 @@ class LlumoClient:
997
998
 
998
999
  rawResults = self.socket.getReceivedData()
999
1000
 
1000
- print(f"Total results received: {len(rawResults)}")
1001
+ # print(f"Total results received: {len(rawResults)}")
1001
1002
  # print("Raw results:", rawResults)
1002
1003
 
1003
1004
  # print("data from db #####################",dataFromDb)
1004
1005
  # Fix here: keep full keys, do not split keys
1005
1006
  receivedRowIDs = {key for item in rawResults for key in item.keys()}
1006
- print("Received Row IDs:", receivedRowIDs)
1007
+ # print("Received Row IDs:", receivedRowIDs)
1007
1008
  expectedRowIDs = set(rowIdMapping.keys())
1008
1009
  missingRowIDs = expectedRowIDs - receivedRowIDs
1009
1010
  # print("All expected keys:", expectedRowIDs)
@@ -1011,8 +1012,8 @@ class LlumoClient:
1011
1012
  # print("Missing keys:", len(missingRowIDs))
1012
1013
  missingRowIDs = list(missingRowIDs)
1013
1014
 
1014
- print("Missing Row IDs:", missingRowIDs)
1015
- 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)}")
1016
1017
  if len(missingRowIDs) > 0:
1017
1018
  print('''It's taking longer than expected to get results for some rows. You can close this now.
1018
1019
  Please wait for 15 mins while we create the flow graph for you. You can check the graph at app.llumo.ai/debugger''')
@@ -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.34
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=ZFey1s56-bdYEUQwDfH9crx4ylNt7XHZFUI0WGofjmY,73029
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
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.34.dist-info/licenses/LICENSE,sha256=tF9yAcfPV9xGT3ViWmC8hPvOo8BEk4ZICbUfcEo8Dlk,182
17
- llumo-0.2.34.dist-info/METADATA,sha256=3eiB92kNLh_IvOlesPckMDo92v3kPTa5qhNJndbGrHQ,1558
18
- llumo-0.2.34.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
19
- llumo-0.2.34.dist-info/top_level.txt,sha256=d5zUTMI99llPtLRB8rtSrqELm_bOqX-bNC5IcwlDk88,6
20
- llumo-0.2.34.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