llumo 0.2.20__py3-none-any.whl → 0.2.21__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/helpingFuntions.py +10 -3
- {llumo-0.2.20.dist-info → llumo-0.2.21.dist-info}/METADATA +1 -1
- {llumo-0.2.20.dist-info → llumo-0.2.21.dist-info}/RECORD +6 -6
- {llumo-0.2.20.dist-info → llumo-0.2.21.dist-info}/WHEEL +0 -0
- {llumo-0.2.20.dist-info → llumo-0.2.21.dist-info}/licenses/LICENSE +0 -0
- {llumo-0.2.20.dist-info → llumo-0.2.21.dist-info}/top_level.txt +0 -0
llumo/helpingFuntions.py
CHANGED
@@ -497,9 +497,16 @@ def getPlaygroundInsights(defination:str,uniqueClassesString: str, reasonList: l
|
|
497
497
|
|
498
498
|
if responseGenerate.status_code == 200:
|
499
499
|
responseJson = responseGenerate.json()
|
500
|
-
|
501
|
-
|
502
|
-
|
500
|
+
# print(responseJson)
|
501
|
+
|
502
|
+
# ✅ NEW: unwrap "data" if it exists, otherwise fall back to the old shape
|
503
|
+
payloadData = responseJson.get("data", responseJson)
|
504
|
+
|
505
|
+
# keep only the fields you care about
|
506
|
+
filteredResponse = {
|
507
|
+
key: payloadData[key] for key in ("analysis", "nextStep") if key in payloadData
|
508
|
+
}
|
509
|
+
|
503
510
|
return filteredResponse
|
504
511
|
except Exception as e:
|
505
512
|
print(f"Exception occurred while generating insight: {e}")
|
@@ -5,12 +5,12 @@ llumo/exceptions.py,sha256=Vp_MnanHbnd1Yjuoi6WLrKiwwZbJL3znCox2URMmGU4,2032
|
|
5
5
|
llumo/execution.py,sha256=nWbJ7AvWuUPcOb6i-JzKRna_PvF-ewZTiK8skS-5n3w,1380
|
6
6
|
llumo/functionCalling.py,sha256=D5jYapu1rIvdIJNUYPYMTyhQ1H-6nkwoOLMi6eekfUE,7241
|
7
7
|
llumo/google.py,sha256=3S_aRtbtlctCXPGR0u4baLlkyFrsjd02vlUCkoRPA5U,2147
|
8
|
-
llumo/helpingFuntions.py,sha256=
|
8
|
+
llumo/helpingFuntions.py,sha256=pv9LrwClQlh8GHyBgRjpbPIFZaPjcqXQBkrvlAo0xyg,25523
|
9
9
|
llumo/models.py,sha256=aVEZsOOoQx5LeNtwSyBxqvrINq0izH3QWu_YjsMPE6o,2910
|
10
10
|
llumo/openai.py,sha256=DGhEwQIJIIycGpw3hYQnyxdj6RFVpZ-gay-fZGqtkhU,3013
|
11
11
|
llumo/sockets.py,sha256=pBDo-U65hMIMwKMwZQl3iBkEjISEt-9BkXxZTWfSHF4,6116
|
12
|
-
llumo-0.2.
|
13
|
-
llumo-0.2.
|
14
|
-
llumo-0.2.
|
15
|
-
llumo-0.2.
|
16
|
-
llumo-0.2.
|
12
|
+
llumo-0.2.21.dist-info/licenses/LICENSE,sha256=tF9yAcfPV9xGT3ViWmC8hPvOo8BEk4ZICbUfcEo8Dlk,182
|
13
|
+
llumo-0.2.21.dist-info/METADATA,sha256=CeHNLHxPgCwExHm3Rh_LI7cVL3ZGC0Hj64pb35VL6iM,1558
|
14
|
+
llumo-0.2.21.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
15
|
+
llumo-0.2.21.dist-info/top_level.txt,sha256=d5zUTMI99llPtLRB8rtSrqELm_bOqX-bNC5IcwlDk88,6
|
16
|
+
llumo-0.2.21.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|