prompty 0.1.46__py3-none-any.whl → 0.1.47__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.
- prompty/azure/executor.py +3 -1
- {prompty-0.1.46.dist-info → prompty-0.1.47.dist-info}/METADATA +1 -1
- {prompty-0.1.46.dist-info → prompty-0.1.47.dist-info}/RECORD +6 -6
- {prompty-0.1.46.dist-info → prompty-0.1.47.dist-info}/WHEEL +0 -0
- {prompty-0.1.46.dist-info → prompty-0.1.47.dist-info}/entry_points.txt +0 -0
- {prompty-0.1.46.dist-info → prompty-0.1.47.dist-info}/licenses/LICENSE +0 -0
prompty/azure/executor.py
CHANGED
@@ -198,7 +198,9 @@ class AzureOpenAIExecutor(Invoker):
|
|
198
198
|
raw: APIResponse = (
|
199
199
|
await client.chat.completions.with_raw_response.create(**args)
|
200
200
|
)
|
201
|
-
|
201
|
+
if raw is not None and raw.text is not None and isinstance(raw.text, str):
|
202
|
+
response = ChatCompletion.model_validate_json(raw.text)
|
203
|
+
|
202
204
|
for k, v in raw.headers.raw:
|
203
205
|
trace(k.decode("utf-8"), v.decode("utf-8"))
|
204
206
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: prompty
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.47
|
4
4
|
Summary: Prompty is a new asset class and format for LLM prompts that aims to provide observability, understandability, and portability for developers. It includes spec, tooling, and a runtime. This Prompty runtime supports Python
|
5
5
|
Author-Email: Seth Juarez <seth.juarez@microsoft.com>
|
6
6
|
License: MIT
|
@@ -1,10 +1,10 @@
|
|
1
|
-
prompty-0.1.
|
2
|
-
prompty-0.1.
|
3
|
-
prompty-0.1.
|
4
|
-
prompty-0.1.
|
1
|
+
prompty-0.1.47.dist-info/METADATA,sha256=y57CPZ76O6m2Z2mDU-eM9iY_5fI6nCXTqoKQ3gZFHAE,9343
|
2
|
+
prompty-0.1.47.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
|
3
|
+
prompty-0.1.47.dist-info/entry_points.txt,sha256=a3i7Kvf--3DOkkv9VQpstwaNKgsnXwDGaPL18lPpKeI,60
|
4
|
+
prompty-0.1.47.dist-info/licenses/LICENSE,sha256=KWSC4z9cfML_t0xThoQYjzTdcZQj86Y_mhXdatzU-KM,1052
|
5
5
|
prompty/__init__.py,sha256=geIhhprDhbqqkj5jQhy3Nv_b83T38VhleEUfB7Xkd4U,16861
|
6
6
|
prompty/azure/__init__.py,sha256=zBxzOMQCwtiz2CsI8gNWzr7T2ZJHF3TZNIUtvfuaEQI,309
|
7
|
-
prompty/azure/executor.py,sha256=
|
7
|
+
prompty/azure/executor.py,sha256=MWeBwprLY2NmPySoOq-K3qMui5lPlMYMh5ktb3S7mgo,9367
|
8
8
|
prompty/azure/processor.py,sha256=gNmUkPBoSLPE0t7IVJUxGdwZ2otiycDE4Fu6L1vurZI,5330
|
9
9
|
prompty/azure_beta/__init__.py,sha256=-LPrqoAv2UGI29SUjiZCkPlAGARvixlYe2IW1edswWo,375
|
10
10
|
prompty/azure_beta/executor.py,sha256=bARyO2k42ZQfd5NrNKyMUd7JZ2Rcm8urUP0sJ1P1Qxk,10157
|
@@ -22,4 +22,4 @@ prompty/serverless/executor.py,sha256=QZXeFTXv_aT22rbBBgBFLtdAJqGp4W8GS3H3Rtoy8b
|
|
22
22
|
prompty/serverless/processor.py,sha256=d42MalWRf8RUpHRiueqAPAj_nGmJSMUE2yL-Tgxrss4,3754
|
23
23
|
prompty/tracer.py,sha256=jM2nQ7Cb-tSb7wog9w9QzhmB1IGwYb0B0-TBClZOn_A,11980
|
24
24
|
prompty/utils.py,sha256=P9nW0QfY1F5PM4pLxsFVlnul1BaRBatmvC2tpqydPKQ,2836
|
25
|
-
prompty-0.1.
|
25
|
+
prompty-0.1.47.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|