llumo 0.2.33__tar.gz → 0.2.35__tar.gz
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-0.2.33/llumo.egg-info → llumo-0.2.35}/PKG-INFO +1 -1
- {llumo-0.2.33 → llumo-0.2.35}/llumo/callback.py +1 -1
- {llumo-0.2.33 → llumo-0.2.35}/llumo/client.py +20 -21
- {llumo-0.2.33 → llumo-0.2.35}/llumo/helpingFuntions.py +1 -1
- {llumo-0.2.33 → llumo-0.2.35}/llumo/llumoSessionContext.py +1 -1
- {llumo-0.2.33 → llumo-0.2.35}/llumo/sockets.py +1 -1
- {llumo-0.2.33 → llumo-0.2.35/llumo.egg-info}/PKG-INFO +1 -1
- {llumo-0.2.33 → llumo-0.2.35}/LICENSE +0 -0
- {llumo-0.2.33 → llumo-0.2.35}/MANIFEST.in +0 -0
- {llumo-0.2.33 → llumo-0.2.35}/README.md +0 -0
- {llumo-0.2.33 → llumo-0.2.35}/llumo/__init__.py +0 -0
- {llumo-0.2.33 → llumo-0.2.35}/llumo/callbacks-0.py +0 -0
- {llumo-0.2.33 → llumo-0.2.35}/llumo/chains.py +0 -0
- {llumo-0.2.33 → llumo-0.2.35}/llumo/exceptions.py +0 -0
- {llumo-0.2.33 → llumo-0.2.35}/llumo/execution.py +0 -0
- {llumo-0.2.33 → llumo-0.2.35}/llumo/functionCalling.py +0 -0
- {llumo-0.2.33 → llumo-0.2.35}/llumo/google.py +0 -0
- {llumo-0.2.33 → llumo-0.2.35}/llumo/llumoLogger.py +0 -0
- {llumo-0.2.33 → llumo-0.2.35}/llumo/models.py +0 -0
- {llumo-0.2.33 → llumo-0.2.35}/llumo/openai.py +0 -0
- {llumo-0.2.33 → llumo-0.2.35}/llumo.egg-info/SOURCES.txt +0 -0
- {llumo-0.2.33 → llumo-0.2.35}/llumo.egg-info/dependency_links.txt +0 -0
- {llumo-0.2.33 → llumo-0.2.35}/llumo.egg-info/requires.txt +0 -0
- {llumo-0.2.33 → llumo-0.2.35}/llumo.egg-info/top_level.txt +0 -0
- {llumo-0.2.33 → llumo-0.2.35}/setup.cfg +0 -0
- {llumo-0.2.33 → llumo-0.2.35}/setup.py +0 -0
|
@@ -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 ""
|
|
@@ -22,20 +22,18 @@ from tqdm import tqdm
|
|
|
22
22
|
|
|
23
23
|
pd.set_option("future.no_silent_downcasting", True)
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
#
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
#
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
|
|
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
|
|
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''')
|
|
@@ -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 = "
|
|
588
|
+
socket_data_url = "https://redskull.llumo.ai/api/eval/get-awaited"
|
|
589
589
|
payload = {
|
|
590
590
|
"workspaceID": workspaceID,
|
|
591
591
|
"playgroundID": playgroundID,
|
|
@@ -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):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|