News for hackers. Stuff that matters.
Re:Show HN: MonkeyPatch – Cheap, fast and predictable LLM fu... by JackHopkins on Wednesday November 15, 2023 @12:06PM (#38279139)
The type constraints are indeed enforced but not by the tests but by the type-hints you give to the patched functions. The constraints and enforced structure are followed, there is also a repair feedback loop in place if the original LLM output is invalid for the types you've declared. Tests are more to align the model how to act for different inputs. Hope this makes it more clear!

There are no comments on this comment yet.