0.2.0 Release! #1093
Pinned
Harsha-Nori
announced in
Announcements
0.2.0 Release!
#1093
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What's Changed
Happy new year! This release contains a significant overhaul of many elements of guidance, including:
Significantly Faster, Rust-based Grammar Engine: Guidance's core grammar processing has been fully migrated to the llguidance Rust library. Our grammar processing is now significantly faster -- state of the art across frameworks -- and fixes some key, subtle bugs in the earlier processing engine. All constrained decoding code will now run much faster.
Increased JSON schema coverage: We've spent a lot of time focusing on JSON schema support in guidance, and now have leading coverage of JSON schema constraint types via guidance's
json
function.And lots more general quality of life improvements! See below for full list of PRs and changelogs. Thank you to all the existing and new contributors that made this possible!
f._self_call_placeholder_
even when callingf
raises exception by @hudson-ai in [Bug] delf._self_call_placeholder_
even when callingf
raises exception #994oneOf
in JSON schemas (with limited support) by @hudson-ai in [Feature] AllowoneOf
in JSON schemas (with limited support) #982json_string
kwarg fromllguidance 0.1.7
to properly escape json string patterns by @hudson-ai in Usejson_string
kwarg fromllguidance 0.1.7
to properly escape json string patterns #1008Placeholder
andreplace_grammar_node
in favor of pointer-like container object by @hudson-ai in RemovePlaceholder
andreplace_grammar_node
in favor of pointer-like container object #1007required
properties in JSON schemas by @hudson-ai in [Feature] Supportrequired
properties in JSON schemas #1009grammar.match
raises appropriately on incomplete input by @hudson-ai in [Bug] Ensuregrammar.match
raises appropriately on incomplete input #1016@overload
theguidance
decorator in order to improve static type-checking by @hudson-ai in@overload
theguidance
decorator in order to improve static type-checking #1014_self_call_placeholder_
thread-safe by @hudson-ai in [Bug] Make_self_call_placeholder_
thread-safe #1034minimum
,maximum
,exclusiveMinimum
, andexclusiveMaximum
by @hudson-ai in [Feature] Support for JSONminimum
,maximum
,exclusiveMinimum
, andexclusiveMaximum
#1023@guidance
to decorate methods by @hudson-ai in [Feature] Allow@guidance
to decorate methods #1035additionalProperties
#1039 by exposingAnd
,Not
regex operators fromllguidance
by @hudson-ai in [Bug] [Feature] Fix issue #1039 by exposingAnd
,Not
regex operators fromllguidance
#1043separators
keyword toguidance.json
by @hudson-ai in [Feature] Enable user-passedseparators
keyword toguidance.json
#1044$ref
resolution by @hudson-ai in [Feature] Expand JSON$ref
resolution #1061allOf
JSON keyword by @hudson-ai in [Feature] [JSON] Broader support ofallOf
JSON keyword #1070model.reset
is called by @hudson-ai in [BUG] Reset role blocks whenmodel.reset
is called #1073llguidance
JSON grammar by @hudson-ai in Usellguidance
JSON grammar #10850.5.1rc0
by @hudson-ai in Upgrade llguidance to0.5.1rc0
#1090New Contributors
Full Changelog: 0.1.16...0.2.0
This discussion was created from the release 0.2.0.
Beta Was this translation helpful? Give feedback.
All reactions