promptlayer 1.0.47__py3-none-any.whl → 1.0.48__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 AsyncPromptLayer, PromptLayer
2
2
 
3
- __version__ = "1.0.47"
3
+ __version__ = "1.0.48"
4
4
  __all__ = ["PromptLayer", "AsyncPromptLayer", "__version__"]
@@ -156,7 +156,6 @@ class PromptLayer(PromptLayerMixin):
156
156
  ),
157
157
  llm_request_params["stream_function"],
158
158
  )
159
-
160
159
  request_log = self._track_request_log(
161
160
  llm_request_params,
162
161
  tags,
@@ -164,7 +163,7 @@ class PromptLayer(PromptLayerMixin):
164
163
  group_id,
165
164
  pl_run_span_id,
166
165
  metadata=metadata,
167
- request_response=response.model_dump(),
166
+ request_response=response.model_dump(mode="json"),
168
167
  )
169
168
 
170
169
  return {
@@ -578,7 +577,7 @@ class AsyncPromptLayer(PromptLayerMixin):
578
577
  group_id,
579
578
  pl_run_span_id,
580
579
  metadata=metadata,
581
- request_response=response.model_dump(),
580
+ request_response=response.model_dump(mode="json"),
582
581
  )
583
582
 
584
583
  return {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: promptlayer
3
- Version: 1.0.47
3
+ Version: 1.0.48
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=hzHTt786KmdtfDauPf3Q1SF9wxA7wLTZsQ-wgZ9B3JI,140
1
+ promptlayer/__init__.py,sha256=vTMduDlZ35VtXLj0LtTM5O81Yq_QqQL9BU1l4gvz2kM,140
2
2
  promptlayer/groups/__init__.py,sha256=xhOAolLUBkr76ZHvJr29OwjCIk1V9qKQXjZCuyTJUIY,429
3
3
  promptlayer/groups/groups.py,sha256=YPROicy-TzpkrpA8vOpZS2lwvJ6VRtlbQ1S2oT1N0vM,338
4
- promptlayer/promptlayer.py,sha256=RRsZ2vFrLcR1Tb72HDdTpZd2CcXIpzQnZuZrY9eYbyo,20651
4
+ promptlayer/promptlayer.py,sha256=c35lxxp0JzSTU3c7riu-1skXVVkJ-LKYeDuTtmrpdpo,20672
5
5
  promptlayer/promptlayer_base.py,sha256=jOgXzNZlV1LKOOsXSSAOgn8o4hXn_EV0oY9Nf3Bsu_s,6872
6
6
  promptlayer/promptlayer_mixins.py,sha256=Plx_zRWOzHxk49Rr5jv6Yq0-mrRfgwzxeU6wS4iahLE,10897
7
7
  promptlayer/span_exporter.py,sha256=wxJoYHsaS0zrMpYShCeHGChWI06DeNHQfeFf5ZRU498,2508
@@ -12,7 +12,7 @@ promptlayer/types/__init__.py,sha256=xJcvQuOk91ZBBePb40-1FDNDKYrZoH5lPE2q6_UhprM
12
12
  promptlayer/types/prompt_template.py,sha256=GoYSorgBmUgvtyXaGAOv0KgVC61Llzn8bND6PF1fW50,4929
13
13
  promptlayer/types/request_log.py,sha256=xU6bcxQar6GaBOJlgZTavXUV3FjE8sF_nSjPu4Ya_00,174
14
14
  promptlayer/utils.py,sha256=BECM_zD1uZB2vopru8ykJdFbeDMozWHWzJeVz5Svht0,64129
15
- promptlayer-1.0.47.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
16
- promptlayer-1.0.47.dist-info/METADATA,sha256=mtGVfTXcsqTKODoe7XlJyQPBa14BlrjwUn9DX_R9gcc,4819
17
- promptlayer-1.0.47.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
18
- promptlayer-1.0.47.dist-info/RECORD,,
15
+ promptlayer-1.0.48.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
16
+ promptlayer-1.0.48.dist-info/METADATA,sha256=ZciNM9jm2MZ13GQQmivH-PYzn5_WkueYu4qYQnR_2Hc,4819
17
+ promptlayer-1.0.48.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
18
+ promptlayer-1.0.48.dist-info/RECORD,,