llumo 0.2.17__py3-none-any.whl → 0.2.18__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
@@ -618,11 +618,11 @@ class LlumoClient:
618
618
  data,
619
619
  evals: list, # list of eval metric names
620
620
  prompt_template="Give answer to the given query: {{query}} using the given context: {{context}}.",
621
- outputColName="output",
622
621
  createExperiment: bool = False,
623
622
  getDataFrame:bool =False,
624
623
  _tocheck=True,
625
624
  ):
625
+ outputColName="output"
626
626
  if isinstance(data, dict):
627
627
  data = [data]
628
628
  elif not isinstance(data, list):
@@ -1559,7 +1559,6 @@ class LlumoClient:
1559
1559
  data = [data]
1560
1560
  elif not isinstance(data, list):
1561
1561
  raise ValueError("Data should be a dict or a list of dicts.")
1562
- print("reciving data")
1563
1562
  dataframe = pd.DataFrame(data).astype(str)
1564
1563
  workspaceID = None
1565
1564
  email = None
@@ -1567,7 +1566,6 @@ class LlumoClient:
1567
1566
  self.evals=evals
1568
1567
  self.allBatches = []
1569
1568
  rowIdMapping = {} # (rowID-columnID-columnID -> (index, evalName))
1570
- print("single eval validate")
1571
1569
  self.validateApiKey(evalName=evals[0])
1572
1570
  if createExperiment:
1573
1571
  activePlayground = str(createEvalPlayground(email=self.email, workspaceID=self.workspaceID))
@@ -1577,13 +1575,8 @@ class LlumoClient:
1577
1575
  "-", ""
1578
1576
  )
1579
1577
  for evalName in evals:
1580
- print("validate in loop")
1581
1578
  self.validateApiKey(evalName=evalName)
1582
-
1583
-
1584
- print("convertinf to dict")
1585
1579
  self.evalData =dataframe.to_dict(orient="records")
1586
-
1587
1580
  if createExperiment:
1588
1581
  print("heading to upload")
1589
1582
  pd.set_option("future.no_silent_downcasting", True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: llumo
3
- Version: 0.2.17
3
+ Version: 0.2.18
4
4
  Summary: Python SDK for interacting with the Llumo ai API.
5
5
  Home-page: https://www.llumo.ai/
6
6
  Author: Llumo
@@ -23,6 +23,7 @@ Requires-Dist: python-dotenv
23
23
  Requires-Dist: openai==1.75.0
24
24
  Requires-Dist: tqdm==4.67.1
25
25
  Requires-Dist: google-generativeai==0.8.5
26
+ Requires-Dist: websocket-client==1.8.0
26
27
  Dynamic: author
27
28
  Dynamic: author-email
28
29
  Dynamic: classifier
@@ -1,6 +1,6 @@
1
1
  llumo/__init__.py,sha256=YVBkF1fiXFBd_zzySi9BDWgX8MJuLBJ-oF8538MrnDU,256
2
2
  llumo/chains.py,sha256=6lCgLseh04RUgc6SahhmvQj82quay2Mi1j8gPUlx8Es,2923
3
- llumo/client.py,sha256=LhvBPxKCbt1TXcrmDbd7u_hOXldiC34NHTlRwlAG5VI,63133
3
+ llumo/client.py,sha256=n1JAjI-I6ZkQlHV5WGTVACTNxncJ6e8vEpHO_dHA34k,62982
4
4
  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
@@ -9,8 +9,8 @@ llumo/helpingFuntions.py,sha256=ORBM5xPPMHc3ENnJOg4i3Enxtor4En5oDj1d0Zu1mLk,2528
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=I2JO_eNEctRo_ikgvFVp5zDd-m0VDu04IEUhhsa1Tic,5950
12
- llumo-0.2.17.dist-info/licenses/LICENSE,sha256=tF9yAcfPV9xGT3ViWmC8hPvOo8BEk4ZICbUfcEo8Dlk,182
13
- llumo-0.2.17.dist-info/METADATA,sha256=3rw1KKwWOUFZMT3JaBAqGAugsPxB011FhGGccVBCNTY,1519
14
- llumo-0.2.17.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
- llumo-0.2.17.dist-info/top_level.txt,sha256=d5zUTMI99llPtLRB8rtSrqELm_bOqX-bNC5IcwlDk88,6
16
- llumo-0.2.17.dist-info/RECORD,,
12
+ llumo-0.2.18.dist-info/licenses/LICENSE,sha256=tF9yAcfPV9xGT3ViWmC8hPvOo8BEk4ZICbUfcEo8Dlk,182
13
+ llumo-0.2.18.dist-info/METADATA,sha256=lMYqwGyoxDxu6Zbs5ZS9Gskd3wcHa1IF51rUM6GKbaA,1558
14
+ llumo-0.2.18.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
+ llumo-0.2.18.dist-info/top_level.txt,sha256=d5zUTMI99llPtLRB8rtSrqELm_bOqX-bNC5IcwlDk88,6
16
+ llumo-0.2.18.dist-info/RECORD,,
File without changes