promptlayer 1.0.16__tar.gz → 1.0.17__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.
- {promptlayer-1.0.16 → promptlayer-1.0.17}/PKG-INFO +1 -1
- {promptlayer-1.0.16 → promptlayer-1.0.17}/promptlayer/__init__.py +1 -1
- {promptlayer-1.0.16 → promptlayer-1.0.17}/promptlayer/promptlayer.py +6 -6
- {promptlayer-1.0.16 → promptlayer-1.0.17}/pyproject.toml +1 -1
- {promptlayer-1.0.16 → promptlayer-1.0.17}/LICENSE +0 -0
- {promptlayer-1.0.16 → promptlayer-1.0.17}/README.md +0 -0
- {promptlayer-1.0.16 → promptlayer-1.0.17}/promptlayer/groups/__init__.py +0 -0
- {promptlayer-1.0.16 → promptlayer-1.0.17}/promptlayer/groups/groups.py +0 -0
- {promptlayer-1.0.16 → promptlayer-1.0.17}/promptlayer/promptlayer_base.py +0 -0
- {promptlayer-1.0.16 → promptlayer-1.0.17}/promptlayer/span_exporter.py +0 -0
- {promptlayer-1.0.16 → promptlayer-1.0.17}/promptlayer/templates.py +0 -0
- {promptlayer-1.0.16 → promptlayer-1.0.17}/promptlayer/track/__init__.py +0 -0
- {promptlayer-1.0.16 → promptlayer-1.0.17}/promptlayer/track/track.py +0 -0
- {promptlayer-1.0.16 → promptlayer-1.0.17}/promptlayer/types/__init__.py +0 -0
- {promptlayer-1.0.16 → promptlayer-1.0.17}/promptlayer/types/prompt_template.py +0 -0
- {promptlayer-1.0.16 → promptlayer-1.0.17}/promptlayer/utils.py +0 -0
|
@@ -112,7 +112,7 @@ class PromptLayer:
|
|
|
112
112
|
tags,
|
|
113
113
|
input_variables,
|
|
114
114
|
group_id,
|
|
115
|
-
pl_run_span_id: str
|
|
115
|
+
pl_run_span_id: Union[str, None] = None,
|
|
116
116
|
):
|
|
117
117
|
def _track_request(**body):
|
|
118
118
|
track_request_kwargs = self._prepare_track_request_kwargs(
|
|
@@ -184,8 +184,8 @@ class PromptLayer:
|
|
|
184
184
|
tags,
|
|
185
185
|
input_variables,
|
|
186
186
|
group_id,
|
|
187
|
-
pl_run_span_id: str
|
|
188
|
-
metadata: Dict[str, str]
|
|
187
|
+
pl_run_span_id: Union[str, None] = None,
|
|
188
|
+
metadata: Union[Dict[str, str], None] = None,
|
|
189
189
|
**body,
|
|
190
190
|
):
|
|
191
191
|
return {
|
|
@@ -222,7 +222,7 @@ class PromptLayer:
|
|
|
222
222
|
metadata: Union[Dict[str, str], None] = None,
|
|
223
223
|
group_id: Union[int, None] = None,
|
|
224
224
|
stream: bool = False,
|
|
225
|
-
pl_run_span_id: str
|
|
225
|
+
pl_run_span_id: Union[str, None] = None,
|
|
226
226
|
) -> Dict[str, Any]:
|
|
227
227
|
get_prompt_template_params = self._prepare_get_prompt_template_params(
|
|
228
228
|
prompt_version=prompt_version,
|
|
@@ -280,8 +280,8 @@ class PromptLayer:
|
|
|
280
280
|
tags,
|
|
281
281
|
input_variables,
|
|
282
282
|
group_id,
|
|
283
|
-
pl_run_span_id: str
|
|
284
|
-
metadata: Dict[str, str]
|
|
283
|
+
pl_run_span_id: Union[str, None] = None,
|
|
284
|
+
metadata: Union[Dict[str, str], None] = None,
|
|
285
285
|
**body,
|
|
286
286
|
):
|
|
287
287
|
track_request_kwargs = self._prepare_track_request_kwargs(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|