promptlayer 1.0.59__py3-none-any.whl → 1.0.60__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 +1 -1
- promptlayer/promptlayer.py +4 -0
- {promptlayer-1.0.59.dist-info → promptlayer-1.0.60.dist-info}/METADATA +1 -1
- {promptlayer-1.0.59.dist-info → promptlayer-1.0.60.dist-info}/RECORD +6 -6
- {promptlayer-1.0.59.dist-info → promptlayer-1.0.60.dist-info}/LICENSE +0 -0
- {promptlayer-1.0.59.dist-info → promptlayer-1.0.60.dist-info}/WHEEL +0 -0
promptlayer/__init__.py
CHANGED
promptlayer/promptlayer.py
CHANGED
|
@@ -320,6 +320,7 @@ class PromptLayer(PromptLayerMixin):
|
|
|
320
320
|
price: float = 0.0,
|
|
321
321
|
function_name: str = "",
|
|
322
322
|
score: int = 0,
|
|
323
|
+
prompt_id: Union[int, None] = None,
|
|
323
324
|
):
|
|
324
325
|
return util_log_request(
|
|
325
326
|
self.api_key,
|
|
@@ -340,6 +341,7 @@ class PromptLayer(PromptLayerMixin):
|
|
|
340
341
|
price=price,
|
|
341
342
|
function_name=function_name,
|
|
342
343
|
score=score,
|
|
344
|
+
prompt_id=prompt_id,
|
|
343
345
|
)
|
|
344
346
|
|
|
345
347
|
|
|
@@ -478,6 +480,7 @@ class AsyncPromptLayer(PromptLayerMixin):
|
|
|
478
480
|
price: float = 0.0,
|
|
479
481
|
function_name: str = "",
|
|
480
482
|
score: int = 0,
|
|
483
|
+
prompt_id: Union[int, None] = None,
|
|
481
484
|
):
|
|
482
485
|
return await autil_log_request(
|
|
483
486
|
self.api_key,
|
|
@@ -498,6 +501,7 @@ class AsyncPromptLayer(PromptLayerMixin):
|
|
|
498
501
|
price=price,
|
|
499
502
|
function_name=function_name,
|
|
500
503
|
score=score,
|
|
504
|
+
prompt_id=prompt_id,
|
|
501
505
|
)
|
|
502
506
|
|
|
503
507
|
async def _create_track_request_callable(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
promptlayer/__init__.py,sha256=
|
|
1
|
+
promptlayer/__init__.py,sha256=7i62BmXAXcIvBDJ1JoA82MY44zPz-tzFZyvflNG979k,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=
|
|
4
|
+
promptlayer/promptlayer.py,sha256=llLxfEBX5-j8NSaOTQqSPSsmnqy-E-msi4LM4xV9OAU,22366
|
|
5
5
|
promptlayer/promptlayer_base.py,sha256=jOgXzNZlV1LKOOsXSSAOgn8o4hXn_EV0oY9Nf3Bsu_s,6872
|
|
6
6
|
promptlayer/promptlayer_mixins.py,sha256=1DfNk9woiB-EWtbydFRPp55f3Y88gt6be0m1OdVcDxs,12134
|
|
7
7
|
promptlayer/span_exporter.py,sha256=Pc1-zWAcjVCSykh-4rYPqiEZvzkG9xaYLVoHFY_TWaQ,2410
|
|
@@ -12,7 +12,7 @@ promptlayer/types/__init__.py,sha256=xJcvQuOk91ZBBePb40-1FDNDKYrZoH5lPE2q6_UhprM
|
|
|
12
12
|
promptlayer/types/prompt_template.py,sha256=blkVBhh4u5pMhgX_Dsn78sN7Rv2Vy_zhd1-NERLXTpM,5075
|
|
13
13
|
promptlayer/types/request_log.py,sha256=xU6bcxQar6GaBOJlgZTavXUV3FjE8sF_nSjPu4Ya_00,174
|
|
14
14
|
promptlayer/utils.py,sha256=lJoEMhXteIdkztX67rRoel8EcIMEcxH7JwQXXmg_yLo,75790
|
|
15
|
-
promptlayer-1.0.
|
|
16
|
-
promptlayer-1.0.
|
|
17
|
-
promptlayer-1.0.
|
|
18
|
-
promptlayer-1.0.
|
|
15
|
+
promptlayer-1.0.60.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
16
|
+
promptlayer-1.0.60.dist-info/METADATA,sha256=_Xo7wCnK6PjRLC4nUEXjhVA-O_Es7sdU6xriDD4uSHk,4819
|
|
17
|
+
promptlayer-1.0.60.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
18
|
+
promptlayer-1.0.60.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|