baml-py 0.208.5__cp38-abi3-macosx_10_12_x86_64.whl → 0.210.0__cp38-abi3-macosx_10_12_x86_64.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.
baml_py/baml_py.abi3.so CHANGED
Binary file
baml_py/baml_py.pyi CHANGED
@@ -175,6 +175,8 @@ class BamlRuntime:
175
175
  cr: Optional[ClientRegistry],
176
176
  collectors: List[Collector],
177
177
  env_vars: Dict[str, str],
178
+ tags: Optional[Dict[str, str]] = None,
179
+ abort_controller: Optional[AbortController] = None,
178
180
  ) -> FunctionResult: ...
179
181
  def call_function_sync(
180
182
  self,
@@ -185,6 +187,8 @@ class BamlRuntime:
185
187
  cr: Optional[ClientRegistry],
186
188
  collectors: List[Collector],
187
189
  env_vars: Dict[str, str],
190
+ tags: Optional[Dict[str, str]] = None,
191
+ abort_controller: Optional[AbortController] = None,
188
192
  ) -> FunctionResult: ...
189
193
  @staticmethod
190
194
  def from_files(
@@ -203,7 +207,8 @@ class BamlRuntime:
203
207
  cr: Optional[ClientRegistry],
204
208
  collectors: List[Collector],
205
209
  env_vars: Dict[str, str],
206
- on_tick: Optional[Callable[[], None]],
210
+ tags: Optional[Dict[str, str]] = None,
211
+ on_tick: Optional[Callable[[], None]] = None,
207
212
  ) -> FunctionResultStream: ...
208
213
  def stream_function_sync(
209
214
  self,
@@ -215,7 +220,8 @@ class BamlRuntime:
215
220
  cr: Optional[ClientRegistry],
216
221
  collectors: List[Collector],
217
222
  env_vars: Dict[str, str],
218
- on_tick: Optional[Callable[[], None]],
223
+ tags: Optional[Dict[str, str]] = None,
224
+ on_tick: Optional[Callable[[], None]] = None,
219
225
  ) -> SyncFunctionResultStream: ...
220
226
  def create_context_manager(self) -> RuntimeContextManager: ...
221
227
  def flush(self) -> None: ...
@@ -364,6 +370,8 @@ class FunctionLog:
364
370
  @property
365
371
  def metadata(self) -> Dict[str, Any]: ...
366
372
  @property
373
+ def tags(self) -> Dict[str, Any]: ...
374
+ @property
367
375
  def selected_call(self) -> Optional[Union[LLMCall, LLMStreamCall]]: ...
368
376
 
369
377
  class LLMCall:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: baml-py
3
- Version: 0.208.5
3
+ Version: 0.210.0
4
4
  License-File: LICENSE
5
5
  Summary: BAML python bindings (pyproject.toml)
6
6
  Author-email: Boundary <contact@boundaryml.com>
@@ -1,10 +1,10 @@
1
- baml_py-0.208.5.dist-info/METADATA,sha256=SEFczrExyBOGVLG0K2HsbeaHNFrSAKh1UrCGHlej9bA,304
2
- baml_py-0.208.5.dist-info/WHEEL,sha256=qq8T5RNN4nLzVDHWhr9aubnbXTyL36gsBivIyKvr8Qc,104
3
- baml_py-0.208.5.dist-info/entry_points.txt,sha256=C5Qb3JdnQK_6tOFKhrAJnEJsMSQzSoluojZp7aDNZGk,86
4
- baml_py-0.208.5.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
1
+ baml_py-0.210.0.dist-info/METADATA,sha256=oI0SB0qaQFOg86WXnHSPgsjbmWjKRU-ElUdDLCD9GXs,304
2
+ baml_py-0.210.0.dist-info/WHEEL,sha256=qq8T5RNN4nLzVDHWhr9aubnbXTyL36gsBivIyKvr8Qc,104
3
+ baml_py-0.210.0.dist-info/entry_points.txt,sha256=C5Qb3JdnQK_6tOFKhrAJnEJsMSQzSoluojZp7aDNZGk,86
4
+ baml_py-0.210.0.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
5
5
  baml_py/__init__.py,sha256=_tXffmw8Be3rMDR8Zfivr1Gp-wL7baJ-guSoIRaOsBY,943
6
- baml_py/baml_py.abi3.so,sha256=cHrT3rce6kMAFgWXjTVnLpluXBnGJ7GZyJBtDDVZLbw,50086656
7
- baml_py/baml_py.pyi,sha256=FdvYxwEooT96gj8PoWbCRwW2quzyiXqL4SJXZpG2SFg,16919
6
+ baml_py/baml_py.abi3.so,sha256=uBvBDieKOoj_bXPd28m1ExZ5lYqz-NsIUKfblDuHXE8,50875320
7
+ baml_py/baml_py.pyi,sha256=A_YRK7A40eTGjfINTeSI0rrdbPTv0J7ur3xEJHDZrIc,17297
8
8
  baml_py/ctx_manager.py,sha256=JwWLvxFT05BnYiguzB-k-g47r7mft74L3mYt8e3qtus,6081
9
9
  baml_py/errors.py,sha256=cpD5OlBuKIX8IbImwM_VgHzTz0gJqZJMhnEulXEajAE,431
10
10
  baml_py/internal_monkeypatch.py,sha256=nuYufMyJQ3Nh3pWd1E7js_in2EZisFYzAD3N4KbCuVg,3598
@@ -13,4 +13,4 @@ baml_py/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  baml_py/safe_import.py,sha256=ELnT9Jp1Z9ZqLZkbfmqYZ0vJpF-5dc2yshpryqn1UXE,2884
14
14
  baml_py/stream.py,sha256=jcVYi3d6OXqrm39ne7ZMmLlTVIkDAuaFoerPhGs_ceg,8243
15
15
  baml_py/type_builder.py,sha256=wDrMuEr2-9r2rjFbNOXIGf2g-zdd6y3n7jlb8cFNHZc,5615
16
- baml_py-0.208.5.dist-info/RECORD,,
16
+ baml_py-0.210.0.dist-info/RECORD,,