promptlayer 1.0.23__py3-none-any.whl → 1.0.24__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.

Potentially problematic release.


This version of promptlayer might be problematic. Click here for more details.

promptlayer/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  from .promptlayer import PromptLayer
2
2
 
3
- __version__ = "1.0.23"
3
+ __version__ = "1.0.24"
4
4
  __all__ = ["PromptLayer", "__version__"]
@@ -377,7 +377,9 @@ class PromptLayer:
377
377
  input_variables: Optional[Dict[str, Any]] = None,
378
378
  metadata: Optional[Dict[str, str]] = None,
379
379
  workflow_label_name: Optional[str] = None,
380
- workflow_version_number: Optional[int] = None,
380
+ workflow_version: Optional[
381
+ int
382
+ ] = None, # This is the version number, not the version ID
381
383
  ) -> Dict[str, Any]:
382
384
  try:
383
385
  result = run_workflow_request(
@@ -385,7 +387,7 @@ class PromptLayer:
385
387
  input_variables=input_variables or {},
386
388
  metadata=metadata,
387
389
  workflow_label_name=workflow_label_name,
388
- workflow_version_number=workflow_version_number,
390
+ workflow_version_number=workflow_version,
389
391
  api_key=self.api_key,
390
392
  )
391
393
  return result
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: promptlayer
3
- Version: 1.0.23
3
+ Version: 1.0.24
4
4
  Summary: PromptLayer is a platform for prompt engineering and tracks your LLM requests.
5
5
  License: Apache-2.0
6
6
  Author: Magniv
@@ -1,7 +1,7 @@
1
- promptlayer/__init__.py,sha256=BWl9eijaRd_PlRE-PL2iuMBzSA75lwBZ4PhYqGuJBic,102
1
+ promptlayer/__init__.py,sha256=JTVK-6FTroG1GYTAY06uIChUCDWGll51745efZYKqlw,102
2
2
  promptlayer/groups/__init__.py,sha256=-xs-2cn0nc0D_5YxZr3nC86iTdRVZmBhEpOKDJXE-sQ,224
3
3
  promptlayer/groups/groups.py,sha256=yeO6T0TM3qB0ondZRiHhcH8G06YygrpFoM8b9RmoIao,165
4
- promptlayer/promptlayer.py,sha256=7RpFqc6OtoSTi9nNnomxKcUSkjI4UsndDy7h3vEJWsQ,16661
4
+ promptlayer/promptlayer.py,sha256=Qyju-mDJcf0NiGjV6SQHsyf1syXHekvKhzRzExOn31k,16719
5
5
  promptlayer/promptlayer_base.py,sha256=sev-EZehRXJSZSmJtMkqmAUK1345pqbDY_lNjPP5MYA,7158
6
6
  promptlayer/span_exporter.py,sha256=zIJNsb3Fe6yb5wKLDmkoPF2wqFjk1p39E0jWHD2plzI,2658
7
7
  promptlayer/templates.py,sha256=aY_-BCrL0AgIdYEUE28pi0AP_avTVAgwv5hgzrh75vo,717
@@ -11,7 +11,7 @@ promptlayer/types/__init__.py,sha256=xJcvQuOk91ZBBePb40-1FDNDKYrZoH5lPE2q6_UhprM
11
11
  promptlayer/types/prompt_template.py,sha256=TUXLXvuvew0EBLfTMBa2LhFeQoF7R-tcFKg7_UUtHMQ,4433
12
12
  promptlayer/types/request_log.py,sha256=xU6bcxQar6GaBOJlgZTavXUV3FjE8sF_nSjPu4Ya_00,174
13
13
  promptlayer/utils.py,sha256=Oyk_n0hIbYaCFK98QaUzHQeEdGxfQL3HRfXY-AlbPm0,33662
14
- promptlayer-1.0.23.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
15
- promptlayer-1.0.23.dist-info/METADATA,sha256=GKOsJjPykwKOYUL910TPvMa7GSSQFwKpXZWUrBe6RWQ,4660
16
- promptlayer-1.0.23.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
17
- promptlayer-1.0.23.dist-info/RECORD,,
14
+ promptlayer-1.0.24.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
15
+ promptlayer-1.0.24.dist-info/METADATA,sha256=iGmVrzJEanaYQsBLYY7t2hF4ly4jCAHQnJJD01QHXdc,4660
16
+ promptlayer-1.0.24.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
17
+ promptlayer-1.0.24.dist-info/RECORD,,