promptlayer 1.0.27__py3-none-any.whl → 1.0.28__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/utils.py +1 -1
- {promptlayer-1.0.27.dist-info → promptlayer-1.0.28.dist-info}/METADATA +1 -1
- {promptlayer-1.0.27.dist-info → promptlayer-1.0.28.dist-info}/RECORD +6 -6
- {promptlayer-1.0.27.dist-info → promptlayer-1.0.28.dist-info}/LICENSE +0 -0
- {promptlayer-1.0.27.dist-info → promptlayer-1.0.28.dist-info}/WHEEL +0 -0
promptlayer/__init__.py
CHANGED
promptlayer/utils.py
CHANGED
|
@@ -1264,7 +1264,7 @@ def openai_request(prompt_blueprint: GetPromptTemplateResponse, **kwargs):
|
|
|
1264
1264
|
def azure_openai_request(prompt_blueprint: GetPromptTemplateResponse, **kwargs):
|
|
1265
1265
|
from openai import AzureOpenAI
|
|
1266
1266
|
|
|
1267
|
-
client = AzureOpenAI(
|
|
1267
|
+
client = AzureOpenAI(azure_endpoint=kwargs.pop("base_url", None))
|
|
1268
1268
|
request_to_make = MAP_TYPE_TO_OPENAI_FUNCTION[
|
|
1269
1269
|
prompt_blueprint["prompt_template"]["type"]
|
|
1270
1270
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
promptlayer/__init__.py,sha256=
|
|
1
|
+
promptlayer/__init__.py,sha256=fXG-jdFSyHhyntR9qqvO8znlZ_3H82TWts6R6M2-dTM,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=fnIuOn9WGCmb9kHTxhZEuOLQkQk8qBOkdIwcnsHipFo,18843
|
|
@@ -10,8 +10,8 @@ promptlayer/track/track.py,sha256=UdkCxhWUvhvPdhsoHj4qmeiRq6xLcWmeIdYXrgZph04,32
|
|
|
10
10
|
promptlayer/types/__init__.py,sha256=xJcvQuOk91ZBBePb40-1FDNDKYrZoH5lPE2q6_UhprM,111
|
|
11
11
|
promptlayer/types/prompt_template.py,sha256=TUXLXvuvew0EBLfTMBa2LhFeQoF7R-tcFKg7_UUtHMQ,4433
|
|
12
12
|
promptlayer/types/request_log.py,sha256=xU6bcxQar6GaBOJlgZTavXUV3FjE8sF_nSjPu4Ya_00,174
|
|
13
|
-
promptlayer/utils.py,sha256
|
|
14
|
-
promptlayer-1.0.
|
|
15
|
-
promptlayer-1.0.
|
|
16
|
-
promptlayer-1.0.
|
|
17
|
-
promptlayer-1.0.
|
|
13
|
+
promptlayer/utils.py,sha256=GP5FOhiG9uxkyZ3gAEgxud08MAYUoRqldnn1mcokNeQ,44770
|
|
14
|
+
promptlayer-1.0.28.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
15
|
+
promptlayer-1.0.28.dist-info/METADATA,sha256=Ynrvv9eMaZx3jh-jftAlaBpY0VU1zg9X8xqlSfde0Do,4779
|
|
16
|
+
promptlayer-1.0.28.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
17
|
+
promptlayer-1.0.28.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|