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 +3 -3
- llumo/helpingFuntions.py +16 -14
- llumo/sockets.py +1 -1
- {llumo-0.2.14b1.dist-info → llumo-0.2.14b2.dist-info}/METADATA +1 -1
- llumo-0.2.14b2.dist-info/RECORD +13 -0
- llumo-0.2.14b1.dist-info/RECORD +0 -13
- {llumo-0.2.14b1.dist-info → llumo-0.2.14b2.dist-info}/WHEEL +0 -0
- {llumo-0.2.14b1.dist-info → llumo-0.2.14b2.dist-info}/licenses/LICENSE +0 -0
- {llumo-0.2.14b1.dist-info → llumo-0.2.14b2.dist-info}/top_level.txt +0 -0
llumo/client.py
CHANGED
@@ -328,11 +328,11 @@ class LlumoClient:
|
|
328
328
|
try:
|
329
329
|
|
330
330
|
self.postBatch(batch=batch, workspaceID=workspaceID)
|
331
|
-
|
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
|
-
|
376
|
+
# if col in allEvals:
|
377
|
+
# row_dict[columnID] = {
|
378
378
|
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
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
|
-
|
389
|
-
|
390
|
-
|
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
@@ -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,,
|
llumo-0.2.14b1.dist-info/RECORD
DELETED
@@ -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,,
|
File without changes
|
File without changes
|
File without changes
|