promptlayer 1.0.39__py3-none-any.whl → 1.0.40__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.39"
3
+ __version__ = "1.0.40"
4
4
  __all__ = ["PromptLayer", "AsyncPromptLayer", "__version__"]
@@ -204,7 +204,9 @@ class PromptLayerMixin:
204
204
  @staticmethod
205
205
  def _validate_and_extract_model_from_prompt_blueprint(*, prompt_blueprint, prompt_name):
206
206
  if not prompt_blueprint["llm_kwargs"]:
207
- raise ValueError(f"Prompt '{prompt_name}' does not have any LLM kwargs associated with it.")
207
+ raise ValueError(
208
+ f"Prompt '{prompt_name}' does not have any LLM kwargs associated with it. Please set your model parameters in the registry in the PromptLayer dashbaord."
209
+ )
208
210
 
209
211
  prompt_blueprint_metadata = prompt_blueprint.get("metadata")
210
212
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: promptlayer
3
- Version: 1.0.39
3
+ Version: 1.0.40
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,9 +1,9 @@
1
- promptlayer/__init__.py,sha256=n7Ke-ah5H91MJq_mzfH4CwvBNqCw58YAVDRd6lroU9M,140
1
+ promptlayer/__init__.py,sha256=Fivmc0y6BJWM6TrAcSL7v54bPiuAu89UW0vl0-ZJcf0,140
2
2
  promptlayer/groups/__init__.py,sha256=xhOAolLUBkr76ZHvJr29OwjCIk1V9qKQXjZCuyTJUIY,429
3
3
  promptlayer/groups/groups.py,sha256=YPROicy-TzpkrpA8vOpZS2lwvJ6VRtlbQ1S2oT1N0vM,338
4
4
  promptlayer/promptlayer.py,sha256=uQdK283IqRoCIBsU0WbrpGIUeqK38GjqKdk628_O0-U,20704
5
5
  promptlayer/promptlayer_base.py,sha256=Dtc6X0vvZozkJPHKXuUS3rRonQ2z3dNUncpH_HUE_aw,6854
6
- promptlayer/promptlayer_mixins.py,sha256=JLT0fljn4s-GKfdOo1B6Z7YKjVf52sX_nz_HgSuik8A,9944
6
+ promptlayer/promptlayer_mixins.py,sha256=GyGgUjcEWMO_jYYlKFfKFEvFeefQtY_PNObuORvownU,10053
7
7
  promptlayer/span_exporter.py,sha256=wxJoYHsaS0zrMpYShCeHGChWI06DeNHQfeFf5ZRU498,2508
8
8
  promptlayer/templates.py,sha256=7ObDPMzHXjttDdJdCXA_pDL9XAnmcujIWucmgZJcOC8,1179
9
9
  promptlayer/track/__init__.py,sha256=tyweLTAY7UpYpBHWwY-T3pOPDIlGjcgccYXqU_r0694,1710
@@ -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=iz6Tih6c6F6RzjZAHQ_SyDbE6itju6CinexamI2-x1U,58695
15
- promptlayer-1.0.39.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
16
- promptlayer-1.0.39.dist-info/METADATA,sha256=Y_smhum5mX70GnLXcsKOYG6oWbPKZ8dmJT0FZeOdldI,4820
17
- promptlayer-1.0.39.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
18
- promptlayer-1.0.39.dist-info/RECORD,,
15
+ promptlayer-1.0.40.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
16
+ promptlayer-1.0.40.dist-info/METADATA,sha256=XNmy--7nrEeBF6vD5JJOuHli2prhJYbe5GQ1Uh7CJUs,4820
17
+ promptlayer-1.0.40.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
18
+ promptlayer-1.0.40.dist-info/RECORD,,