0.2.0 Release! #1093
Pinned
Harsha-Nori
announced in
Announcements
0.2.0 Release!
#1093
Replies: 2 comments
-
|
@Harsha-Nori - I would unpin this post now that 0.2.0 is no longer the latest release. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
0.2.0 is a great release! At RevolutionAI (https://revolutionai.io) we upgraded immediately. Highlights we love:
Migration tips: # Old way
from guidance import guidance
# New way (0.2.0+)
import guidance
from guidance import gen, selectWhat we are using it for:
Feature requests for next release:
Great work on this release! 🎉 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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
jsonfunction.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 callingfraises exception by @hudson-ai in [Bug] delf._self_call_placeholder_even when callingfraises exception #994oneOfin JSON schemas (with limited support) by @hudson-ai in [Feature] AllowoneOfin JSON schemas (with limited support) #982json_stringkwarg fromllguidance 0.1.7to properly escape json string patterns by @hudson-ai in Usejson_stringkwarg fromllguidance 0.1.7to properly escape json string patterns #1008Placeholderandreplace_grammar_nodein favor of pointer-like container object by @hudson-ai in RemovePlaceholderandreplace_grammar_nodein favor of pointer-like container object #1007requiredproperties in JSON schemas by @hudson-ai in [Feature] Supportrequiredproperties in JSON schemas #1009grammar.matchraises appropriately on incomplete input by @hudson-ai in [Bug] Ensuregrammar.matchraises appropriately on incomplete input #1016@overloadtheguidancedecorator in order to improve static type-checking by @hudson-ai in@overloadtheguidancedecorator 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, andexclusiveMaximumby @hudson-ai in [Feature] Support for JSONminimum,maximum,exclusiveMinimum, andexclusiveMaximum#1023@guidanceto decorate methods by @hudson-ai in [Feature] Allow@guidanceto decorate methods #1035additionalProperties#1039 by exposingAnd,Notregex operators fromllguidanceby @hudson-ai in [Bug] [Feature] Fix issue #1039 by exposingAnd,Notregex operators fromllguidance#1043separatorskeyword toguidance.jsonby @hudson-ai in [Feature] Enable user-passedseparatorskeyword toguidance.json#1044$refresolution by @hudson-ai in [Feature] Expand JSON$refresolution #1061allOfJSON keyword by @hudson-ai in [Feature] [JSON] Broader support ofallOfJSON keyword #1070model.resetis called by @hudson-ai in [BUG] Reset role blocks whenmodel.resetis called #1073llguidanceJSON grammar by @hudson-ai in UsellguidanceJSON grammar #10850.5.1rc0by @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