prompty 1.0.0b1__py3-none-any.whl → 1.0.0b2__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/_version.py CHANGED
@@ -1 +1 @@
1
- VERSION = "1.0.0b1"
1
+ VERSION = "1.0.0b2"
prompty/azure/executor.py CHANGED
@@ -226,10 +226,10 @@ class AzureOpenAIExecutor(Invoker):
226
226
  return tool
227
227
 
228
228
  def _execute_agent(self, client: AzureOpenAI, data: typing.Any) -> typing.Any:
229
- with Tracer.start("create") as trace:
230
- trace("type", "LLM")
229
+ with Tracer.start("AgentLoop") as trace:
230
+ trace("type", "agent")
231
231
  trace("description", "Azure OpenAI Client")
232
- trace("signature", "AzureOpenAI.chat.agent.create")
232
+ trace("signature", "prompty.azure.AzureOpenAIExecutor.AgentLoop")
233
233
 
234
234
  trace("inputs", data)
235
235
 
@@ -276,10 +276,10 @@ class AzureOpenAIExecutor(Invoker):
276
276
  return response
277
277
 
278
278
  async def _execute_agent_async(self, client: AsyncAzureOpenAI, data: typing.Any) -> typing.Any:
279
- with Tracer.start("create") as trace:
280
- trace("type", "LLM")
279
+ with Tracer.start("AgentLoopAsync") as trace:
280
+ trace("type", "agent")
281
281
  trace("description", "Azure OpenAI Client")
282
- trace("signature", "AzureOpenAIAsync.chat.agent.create")
282
+ trace("signature", "prompty.azure.AzureOpenAIExecutor.AgentLoopAsync")
283
283
 
284
284
  trace("inputs", data)
285
285
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: prompty
3
- Version: 1.0.0b1
3
+ Version: 1.0.0b2
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
  Requires-Python: >=3.9
@@ -1,5 +1,5 @@
1
1
  prompty/__init__.py,sha256=v7ggLd334vKzxPcxf55DZolz3FuOmcoaK5dStcTrJ1Y,16617
2
- prompty/_version.py,sha256=vRE2dJ-eA19HoFVDZObxdXQ_BAGCbbV43JgzEWsI9-M,20
2
+ prompty/_version.py,sha256=6DOdjA8Flc2av1WYSDfNW5sNH1CmHEzYM3zJdb1qVwE,20
3
3
  prompty/cli.py,sha256=v6JJsxsAREu660PleFIosY9LUYfzKR7lXgr9aMTYnPU,5110
4
4
  prompty/common.py,sha256=l9uYeJWwobinjcoubtUKZUGiVjBTiDuo0IjOJU5Zy4w,3061
5
5
  prompty/core.py,sha256=6hq_jGlvYssCLxOXP72Q5mGIPxuU7IGCzGBofR6EelM,28271
@@ -10,7 +10,7 @@ prompty/renderers.py,sha256=JQR_Z_IxrdLM7OfBwXL1mOFP81CQ6wYJXhLVO80Uj94,2457
10
10
  prompty/tracer.py,sha256=BBZTNElCjIJP_RipVav36ym-l9K2NNRrCoJHQMS6lmQ,11650
11
11
  prompty/utils.py,sha256=_SY0sdfrWJjsEq34HchlJ6cwUXIzkO4w00tq9txSh0M,3711
12
12
  prompty/azure/__init__.py,sha256=6WFrY3uaaK4bNki4WKhR-s3aK3IOfxZdQAKDWXiHZi0,297
13
- prompty/azure/executor.py,sha256=6tlqKlJTS_wZmqib2CHOnf19CA_QnmzBea38oIHIsO0,18753
13
+ prompty/azure/executor.py,sha256=NoHlPGkT9s0pqLISleslvZPb7aYxPtwnXqGdxhXGkRY,18796
14
14
  prompty/azure/processor.py,sha256=xgkxBBxZHxe8XHowsHgAvPYDuNRHisHvOQ9be_KYIoI,6477
15
15
  prompty/openai/__init__.py,sha256=ahW5UM56rFpRZ0EWYRE34cKUy9GKD8zWdMsMlataCdg,289
16
16
  prompty/openai/executor.py,sha256=-nPhUkAwJlNfzaQXn_61VpCiZJckUP_6O4XvsU4D-G4,4280
@@ -18,8 +18,8 @@ prompty/openai/processor.py,sha256=oG7E7lFbWw9p6A7YWt7U3NmyGmkoW0vghYX2ekBejSw,2
18
18
  prompty/serverless/__init__.py,sha256=szklP_c9ppNHITAngE-oFdd5BbAiyF2LZgg6J5sBjmc,298
19
19
  prompty/serverless/executor.py,sha256=eb1a_onIwf4gj_HflnKzWwzlj-50iJZiWYiMs24yMXs,9058
20
20
  prompty/serverless/processor.py,sha256=-XJScOBbKTnt_sJI_B4bMYaiKW3AI4Zgpo06e4MdM0s,3596
21
- prompty-1.0.0b1.dist-info/entry_points.txt,sha256=USBrLTMgXA_8CPMTAmqnD4uCCLTd0ZTOusmWipnLe7w,43
22
- prompty-1.0.0b1.dist-info/licenses/LICENSE,sha256=KWSC4z9cfML_t0xThoQYjzTdcZQj86Y_mhXdatzU-KM,1052
23
- prompty-1.0.0b1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
24
- prompty-1.0.0b1.dist-info/METADATA,sha256=CdkWAtdZ7vEUm0irK513ndpqkeKSwY8WsVcIN1Khmd0,9956
25
- prompty-1.0.0b1.dist-info/RECORD,,
21
+ prompty-1.0.0b2.dist-info/entry_points.txt,sha256=USBrLTMgXA_8CPMTAmqnD4uCCLTd0ZTOusmWipnLe7w,43
22
+ prompty-1.0.0b2.dist-info/licenses/LICENSE,sha256=KWSC4z9cfML_t0xThoQYjzTdcZQj86Y_mhXdatzU-KM,1052
23
+ prompty-1.0.0b2.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
24
+ prompty-1.0.0b2.dist-info/METADATA,sha256=_Hnxy484gn-WP6f-Km0xo_PL_84uk4FW_P1GP_kFlMI,9956
25
+ prompty-1.0.0b2.dist-info/RECORD,,