promptlayer 1.0.31__py3-none-any.whl → 1.0.32__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.31"
3
+ __version__ = "1.0.32"
4
4
  __all__ = ["PromptLayer", "AsyncPromptLayer", "__version__"]
@@ -28,7 +28,23 @@ class ImageContent(TypedDict, total=False):
28
28
  image_url: ImageUrl
29
29
 
30
30
 
31
- Content = Union[TextContent, ImageContent]
31
+ class Media(TypedDict, total=False):
32
+ title: str
33
+ type: str
34
+ url: str
35
+
36
+
37
+ class MediaContnt(TypedDict, total=False):
38
+ type: Literal["media"]
39
+ media: Media
40
+
41
+
42
+ class MediaVariable(TypedDict, total=False):
43
+ type: Literal["media_variable"]
44
+ name: str
45
+
46
+
47
+ Content = Union[TextContent, ImageContent, MediaContnt, MediaVariable]
32
48
 
33
49
 
34
50
  class Function(TypedDict, total=False):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: promptlayer
3
- Version: 1.0.31
3
+ Version: 1.0.32
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,4 +1,4 @@
1
- promptlayer/__init__.py,sha256=R08U9XPE7no3b74m1e1etSNqml_wwXcQKWv2RwzX668,140
1
+ promptlayer/__init__.py,sha256=ZWwec3lasIs6PTQi77sYwX746yWKAQc2p8Lg8fLZrO4,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=ZzHLMwbF-qq9SXNb610tmAOnGzOEvugGjHp3MtGWMGA,20083
@@ -9,10 +9,10 @@ promptlayer/templates.py,sha256=bdX8ZxydWwF9QMF1UBD-qoYqYRPrUSTAt88r2D8ws7c,1193
9
9
  promptlayer/track/__init__.py,sha256=8J258daTXb_P8eHRbYR2Au1lJzTh_92UkOHf7q0NpKs,1757
10
10
  promptlayer/track/track.py,sha256=UdkCxhWUvhvPdhsoHj4qmeiRq6xLcWmeIdYXrgZph04,3252
11
11
  promptlayer/types/__init__.py,sha256=xJcvQuOk91ZBBePb40-1FDNDKYrZoH5lPE2q6_UhprM,111
12
- promptlayer/types/prompt_template.py,sha256=TUXLXvuvew0EBLfTMBa2LhFeQoF7R-tcFKg7_UUtHMQ,4433
12
+ promptlayer/types/prompt_template.py,sha256=sv5iMV8Iix2LCMUSMTkfb8PohfKp-vR9hRMck8OXSVc,4728
13
13
  promptlayer/types/request_log.py,sha256=xU6bcxQar6GaBOJlgZTavXUV3FjE8sF_nSjPu4Ya_00,174
14
14
  promptlayer/utils.py,sha256=yPEzt3JZT7rbVch39Gv8Uk0-CR8Ih5Ym9iIfS0VEEH8,53960
15
- promptlayer-1.0.31.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
16
- promptlayer-1.0.31.dist-info/METADATA,sha256=G6f6UFUFwgrmLIOwO46z3tIh99Rnjk045A34G8IrV8Y,4824
17
- promptlayer-1.0.31.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
18
- promptlayer-1.0.31.dist-info/RECORD,,
15
+ promptlayer-1.0.32.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
16
+ promptlayer-1.0.32.dist-info/METADATA,sha256=5TUZRxITDb2RVq9j9xdHlK8BHTFzp6_HNJjPhK3uKk8,4824
17
+ promptlayer-1.0.32.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
18
+ promptlayer-1.0.32.dist-info/RECORD,,