promptlayer 1.0.8__py3-none-any.whl → 1.0.9__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/types/prompt_template.py +11 -1
- {promptlayer-1.0.8.dist-info → promptlayer-1.0.9.dist-info}/METADATA +1 -1
- {promptlayer-1.0.8.dist-info → promptlayer-1.0.9.dist-info}/RECORD +6 -6
- {promptlayer-1.0.8.dist-info → promptlayer-1.0.9.dist-info}/LICENSE +0 -0
- {promptlayer-1.0.8.dist-info → promptlayer-1.0.9.dist-info}/WHEEL +0 -0
promptlayer/__init__.py
CHANGED
|
@@ -96,6 +96,11 @@ class ToolMessage(TypedDict, total=False):
|
|
|
96
96
|
name: str
|
|
97
97
|
|
|
98
98
|
|
|
99
|
+
class PlaceholderMessage(TypedDict, total=False):
|
|
100
|
+
role: Literal["placeholder"]
|
|
101
|
+
name: str
|
|
102
|
+
|
|
103
|
+
|
|
99
104
|
class ChatFunctionCall(TypedDict, total=False):
|
|
100
105
|
name: str
|
|
101
106
|
|
|
@@ -108,7 +113,12 @@ class ChatToolChoice(TypedDict, total=False):
|
|
|
108
113
|
ToolChoice = Union[str, ChatToolChoice]
|
|
109
114
|
|
|
110
115
|
Message = Union[
|
|
111
|
-
SystemMessage,
|
|
116
|
+
SystemMessage,
|
|
117
|
+
UserMessage,
|
|
118
|
+
AssistantMessage,
|
|
119
|
+
FunctionMessage,
|
|
120
|
+
ToolMessage,
|
|
121
|
+
PlaceholderMessage,
|
|
112
122
|
]
|
|
113
123
|
|
|
114
124
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
promptlayer/__init__.py,sha256=
|
|
1
|
+
promptlayer/__init__.py,sha256=BAOt7w3kG7E4BYiq8q6mc2yw1uCx9JXLJne4zsgxOCA,6358
|
|
2
2
|
promptlayer/groups/__init__.py,sha256=-xs-2cn0nc0D_5YxZr3nC86iTdRVZmBhEpOKDJXE-sQ,224
|
|
3
3
|
promptlayer/groups/groups.py,sha256=yeO6T0TM3qB0ondZRiHhcH8G06YygrpFoM8b9RmoIao,165
|
|
4
4
|
promptlayer/promptlayer.py,sha256=1q1cZOBt27Luzu3aRWcYUjQiKbmwrF9R62Uw95Ryqqc,4035
|
|
@@ -6,9 +6,9 @@ promptlayer/templates.py,sha256=aY_-BCrL0AgIdYEUE28pi0AP_avTVAgwv5hgzrh75vo,717
|
|
|
6
6
|
promptlayer/track/__init__.py,sha256=VheO_Au0lffGlPKYYPQwkv8ci16wSXABCVSNRoFWu_w,945
|
|
7
7
|
promptlayer/track/track.py,sha256=XNEZT9yNiRBPp9vaDZo_f0dP_ldOu8q1qafpVfS5Ze8,1610
|
|
8
8
|
promptlayer/types/__init__.py,sha256=ulWSyCrk5hZ_PI-nKGpd6GPcRaK8lqP4wFl0LPNUYWk,61
|
|
9
|
-
promptlayer/types/prompt_template.py,sha256=
|
|
9
|
+
promptlayer/types/prompt_template.py,sha256=QbxYSeIubrwp8KmDKdt9syAwzONFPh_So9yr4H73ANQ,4429
|
|
10
10
|
promptlayer/utils.py,sha256=jkto4JeHdEK7eoPN50H0AjlWZHk5twzFpMmvMP-rNZU,27941
|
|
11
|
-
promptlayer-1.0.
|
|
12
|
-
promptlayer-1.0.
|
|
13
|
-
promptlayer-1.0.
|
|
14
|
-
promptlayer-1.0.
|
|
11
|
+
promptlayer-1.0.9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
12
|
+
promptlayer-1.0.9.dist-info/METADATA,sha256=qLgakZ8ID4c23WLcSaC84vk15AUjb6yli3Zu90-e8d4,4506
|
|
13
|
+
promptlayer-1.0.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
14
|
+
promptlayer-1.0.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|