It's not super clear how this differs from another recently released library from Microsoft: Guidance (https://github.com/microsoft/guidance).
They both seem to aim to solve the problem of getting typed, valid responses back from LLMs
They both seem to aim to solve the problem of getting typed, valid responses back from LLMs
The thing to keep in mind with these different libraries is that they are not necessarily perfect substitutes for each other. They often serve different use-cases, or can be combined in various ways -- possibly using the techniques directly and independent of the libraries themselves.