llumo 0.2.14b1__py3-none-any.whl → 0.2.14b2__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/client.py CHANGED
@@ -328,11 +328,11 @@ class LlumoClient:
328
328
  try:
329
329
 
330
330
  self.postBatch(batch=batch, workspaceID=workspaceID)
331
- # print("Betch Posted with item len: ", len(batch))
331
+ print("Betch Posted with item len: ", len(batch))
332
332
  except Exception as e:
333
333
  continue
334
334
 
335
- time.sleep(3)
335
+ # time.sleep(3)
336
336
 
337
337
  timeout = max(50, min(600, totalItems * 10))
338
338
 
@@ -414,7 +414,7 @@ class LlumoClient:
414
414
 
415
415
  # Run each evaluation metric one by one
416
416
  for evalName in eval:
417
- time.sleep(2) # small delay to avoid overload or rate limits
417
+ # time.sleep(2) # small delay to avoid overload or rate limits
418
418
 
419
419
  # Call evaluate (assumes evaluate takes dict, not dataframe)
420
420
  resultdf = self.evaluate(
llumo/helpingFuntions.py CHANGED
@@ -373,22 +373,24 @@ def createColumn(workspaceID, dataframe, playgroundID, promptText=None,queryColN
373
373
  for col in dataframe.columns:
374
374
  columnID = columnIDMapping[col]
375
375
 
376
- if col in allEvals:
377
- row_dict[columnID] = {
376
+ # if col in allEvals:
377
+ # row_dict[columnID] = {
378
378
 
379
- "value": row[col],
380
- "type": "EVAL",
381
- "isValid": True,
382
- "reasoning": row[col+" Reason"],
383
- "edgeCase": "minorHallucinationDetailNotInContext",
384
- "kpi": col
379
+ # "value": row[col],
380
+ # "type": "EVAL",
381
+ # "isValid": True,
382
+ # "reasoning": row[col+" Reason"],
383
+ # "edgeCase": "minorHallucinationDetailNotInContext",
384
+ # "kpi": col
385
385
 
386
- }
387
- else:# Get the columnID from the mapping
388
- row_dict[columnID] = {
389
- "value": row[col],
390
- "type":"VARIABLE"# Map the columnID to the value in the row
391
- }
386
+ # }
387
+ # else:# Get the columnID from the mapping
388
+ # row_dict[columnID] = {
389
+ # "value": row[col],
390
+ # "type":"VARIABLE"# Map the columnID to the value in the row
391
+ # }
392
+
393
+ row_dict[columnID] = row[col] # Directly map the column ID to the row value
392
394
  # Add the row index (if necessary)
393
395
  row_dict["pIndex"] = indx
394
396
  rowTemplate["dataToUploadList"].append(row_dict)
llumo/sockets.py CHANGED
@@ -128,7 +128,7 @@ class LlumoSocketClient:
128
128
  self._listening_done.set()
129
129
  break
130
130
 
131
- time.sleep(3)
131
+
132
132
 
133
133
  timeout_thread = threading.Thread(target=timeout_watcher, daemon=True)
134
134
  timeout_thread.start()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: llumo
3
- Version: 0.2.14b1
3
+ Version: 0.2.14b2
4
4
  Summary: Python SDK for interacting with the Llumo ai API.
5
5
  Home-page: https://www.llumo.ai/
6
6
  Author: Llumo
@@ -0,0 +1,13 @@
1
+ llumo/__init__.py,sha256=O04b4yW1BnOvcHzxWFddAKhtdBEhBNhLdb6xgnpHH_Q,205
2
+ llumo/client.py,sha256=Iy16dr-bPDWQ9iRRaNDnlJvZ_j52qEzLJWK2-CcDpwM,38135
3
+ llumo/exceptions.py,sha256=i3Qv4_g7XjRuho7-b7ybjw2bwSh_NhvICR6ZAgiLQX8,1944
4
+ llumo/execution.py,sha256=x88wQV8eL99wNN5YtjFaAMCIfN1PdfQVlAZQb4vzgQ0,1413
5
+ llumo/functionCalling.py,sha256=D5jYapu1rIvdIJNUYPYMTyhQ1H-6nkwoOLMi6eekfUE,7241
6
+ llumo/helpingFuntions.py,sha256=mFoRtxpG4T7enXINTigN7Xztdbj1IKeGNvhrFvwrgSg,20360
7
+ llumo/models.py,sha256=YH-qAMnShmUpmKE2LQAzQdpRsaXkFSlOqMxHwU4zBUI,1560
8
+ llumo/sockets.py,sha256=4X1KSdCJX8_sRY5E_m9bv2kd8B8Jymg_QM59de-FqLw,5570
9
+ llumo-0.2.14b2.dist-info/licenses/LICENSE,sha256=tF9yAcfPV9xGT3ViWmC8hPvOo8BEk4ZICbUfcEo8Dlk,182
10
+ llumo-0.2.14b2.dist-info/METADATA,sha256=SMGdn7-5oxYWRpz1IN-sJxU8NtaQz_CqQFOe9J8mDws,1493
11
+ llumo-0.2.14b2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
+ llumo-0.2.14b2.dist-info/top_level.txt,sha256=d5zUTMI99llPtLRB8rtSrqELm_bOqX-bNC5IcwlDk88,6
13
+ llumo-0.2.14b2.dist-info/RECORD,,
@@ -1,13 +0,0 @@
1
- llumo/__init__.py,sha256=O04b4yW1BnOvcHzxWFddAKhtdBEhBNhLdb6xgnpHH_Q,205
2
- llumo/client.py,sha256=KbvBokbeINsEv2bJ9S3Zys6GYmpA7BIsjchmYZJx5C0,38133
3
- llumo/exceptions.py,sha256=i3Qv4_g7XjRuho7-b7ybjw2bwSh_NhvICR6ZAgiLQX8,1944
4
- llumo/execution.py,sha256=x88wQV8eL99wNN5YtjFaAMCIfN1PdfQVlAZQb4vzgQ0,1413
5
- llumo/functionCalling.py,sha256=D5jYapu1rIvdIJNUYPYMTyhQ1H-6nkwoOLMi6eekfUE,7241
6
- llumo/helpingFuntions.py,sha256=FOHDxnofS316u6fnuPDVzM-fIrTzAGkMTAjoiadlKVw,20230
7
- llumo/models.py,sha256=YH-qAMnShmUpmKE2LQAzQdpRsaXkFSlOqMxHwU4zBUI,1560
8
- llumo/sockets.py,sha256=0BCcdCaiXDR7LO_9NIYA6urtpgdmyWW2M1US67G9Eus,5583
9
- llumo-0.2.14b1.dist-info/licenses/LICENSE,sha256=tF9yAcfPV9xGT3ViWmC8hPvOo8BEk4ZICbUfcEo8Dlk,182
10
- llumo-0.2.14b1.dist-info/METADATA,sha256=TxKTceUWuxS1UkZT1vd_3yVbR98_ntHSEU1yq2HW_bg,1493
11
- llumo-0.2.14b1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
- llumo-0.2.14b1.dist-info/top_level.txt,sha256=d5zUTMI99llPtLRB8rtSrqELm_bOqX-bNC5IcwlDk88,6
13
- llumo-0.2.14b1.dist-info/RECORD,,