llguidance 1.1.1__cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl → 1.1.2__cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.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.
- llguidance/_lib.abi3.so +0 -0
- llguidance/_lib.pyi +9 -0
- {llguidance-1.1.1.dist-info → llguidance-1.1.2.dist-info}/METADATA +2 -2
- {llguidance-1.1.1.dist-info → llguidance-1.1.2.dist-info}/RECORD +6 -6
- {llguidance-1.1.1.dist-info → llguidance-1.1.2.dist-info}/WHEEL +1 -1
- {llguidance-1.1.1.dist-info → llguidance-1.1.2.dist-info}/licenses/LICENSE +0 -0
llguidance/_lib.abi3.so
CHANGED
|
Binary file
|
llguidance/_lib.pyi
CHANGED
|
@@ -565,6 +565,7 @@ class LLParserLimits:
|
|
|
565
565
|
max_lexer_states: Optional[int] = None,
|
|
566
566
|
max_grammar_size: Optional[int] = None,
|
|
567
567
|
precompute_large_lexemes: Optional[bool] = None,
|
|
568
|
+
verbose_errors: Optional[bool] = None,
|
|
568
569
|
) -> None:
|
|
569
570
|
"""
|
|
570
571
|
ParserLimits configuration for controlling parser and lexer resource usage.
|
|
@@ -597,6 +598,10 @@ class LLParserLimits:
|
|
|
597
598
|
precompute_large_lexemes (Optional[bool]):
|
|
598
599
|
Whether to run large regexes eagerly on the entire token trie during lexer build.
|
|
599
600
|
Increases lexer construction time, but speeds up mask computation. Default: True.
|
|
601
|
+
|
|
602
|
+
verbose_errors (Optional[bool]):
|
|
603
|
+
If true, include parser state and grammar details in error messages.
|
|
604
|
+
Useful for debugging; may leak schema/state in logs. Default: True.
|
|
600
605
|
"""
|
|
601
606
|
|
|
602
607
|
@property
|
|
@@ -627,6 +632,10 @@ class LLParserLimits:
|
|
|
627
632
|
def precompute_large_lexemes(self) -> bool:
|
|
628
633
|
"""Precompute large regexes during lexer construction. Default: True"""
|
|
629
634
|
|
|
635
|
+
@property
|
|
636
|
+
def verbose_errors(self) -> bool:
|
|
637
|
+
"""Include parser state and grammar in errors. Default: True"""
|
|
638
|
+
|
|
630
639
|
|
|
631
640
|
def regex_to_lark(regex: str, use_ascii: str = "d") -> str:
|
|
632
641
|
r"""
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: llguidance
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.2
|
|
4
4
|
License-File: LICENSE
|
|
5
5
|
Summary: Bindings for the Low-level Guidance (llguidance) Rust library for use within Guidance
|
|
6
6
|
Author: Michal Moskal
|
|
7
|
-
License: MIT
|
|
7
|
+
License-Expression: MIT
|
|
8
8
|
Requires-Python: >=3.9
|
|
9
9
|
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
10
10
|
Project-URL: repository, https://github.com/microsoft/llguidance
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
llguidance-1.1.
|
|
2
|
-
llguidance-1.1.
|
|
3
|
-
llguidance-1.1.
|
|
1
|
+
llguidance-1.1.2.dist-info/METADATA,sha256=CcBfni8m-8SJTKFhZXxNKOrUbamYuOqXFIyvmpceptE,10300
|
|
2
|
+
llguidance-1.1.2.dist-info/WHEEL,sha256=4usvG9Lni6a-padSEZVI1rLgmCY4MCnNOGnGNO2PNes,129
|
|
3
|
+
llguidance-1.1.2.dist-info/licenses/LICENSE,sha256=ws_MuBL-SCEBqPBFl9_FqZkaaydIJmxHrJG2parhU4M,1141
|
|
4
4
|
llguidance/__init__.py,sha256=F9svXvm6oafbuUf_eq34PHJV4c7-yN133vmbWN6nIkc,590
|
|
5
5
|
llguidance/_grammar_from.py,sha256=-vHqkPqJe6t0JKKuQhlUu08kYpPIVknMh8tZlh8FYeQ,2384
|
|
6
|
-
llguidance/_lib.abi3.so,sha256=
|
|
7
|
-
llguidance/_lib.pyi,sha256=
|
|
6
|
+
llguidance/_lib.abi3.so,sha256=FPyvIsCXGR8J2niLKCM5144Wtvh3fxA8_G7vch7ymME,7146648
|
|
7
|
+
llguidance/_lib.pyi,sha256=WIiIRVO5GKfGpowqy7wBmpgXMQ9Z7dXs4WVcOTT78cs,22617
|
|
8
8
|
llguidance/_struct_tag.py,sha256=83okmGWShxZud7S2vHjPRiInhFw0QVTHkeN8wtR8hR8,4430
|
|
9
9
|
llguidance/_tokenizer.py,sha256=yC-RcgyMZN-olV-PnN4XkjlH-fOU8E9jrwO8VkXLv4M,1084
|
|
10
10
|
llguidance/_util.py,sha256=6JV5SxjoH7hZPaSHhPRD_G6JzIhbKFFTqWTpp88VIiU,260
|
|
@@ -17,4 +17,4 @@ llguidance/numpy.py,sha256=Z4888IfdT5oAfq4m2gn6ARfkaJ9d7nxMS79g_t8aXkg,2653
|
|
|
17
17
|
llguidance/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
18
|
llguidance/tiktoken.py,sha256=-mYDPxq4LM2FI9K8kLL0Us0qN-fZpNK0qIwboDPjfSk,1101
|
|
19
19
|
llguidance/torch.py,sha256=7LmVtRX8-fdUULcpPh4KYuDwVrHFJEvyVxzhyQflpgM,2795
|
|
20
|
-
llguidance-1.1.
|
|
20
|
+
llguidance-1.1.2.dist-info/RECORD,,
|
|
File without changes
|