promptlayer 1.0.8__tar.gz → 1.0.9__tar.gz

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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: promptlayer
3
- Version: 1.0.8
3
+ Version: 1.0.9
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
@@ -167,5 +167,5 @@ class PromptLayer:
167
167
  return data
168
168
 
169
169
 
170
- __version__ = "1.0.3"
170
+ __version__ = "1.0.9"
171
171
  __all__ = ["PromptLayer", "__version__"]
@@ -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, UserMessage, AssistantMessage, FunctionMessage, ToolMessage
116
+ SystemMessage,
117
+ UserMessage,
118
+ AssistantMessage,
119
+ FunctionMessage,
120
+ ToolMessage,
121
+ PlaceholderMessage,
112
122
  ]
113
123
 
114
124
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "promptlayer"
3
- version = "1.0.8"
3
+ version = "1.0.9"
4
4
  description = "PromptLayer is a platform for prompt engineering and tracks your LLM requests."
5
5
  authors = ["Magniv <hello@magniv.io>"]
6
6
  license = "Apache-2.0"
File without changes
File without changes