News for hackers. Stuff that matters.
Re:Show HN: MonkeyPatch – Cheap, fast and predictable LLM fu... by JackHopkins on Thursday November 16, 2023 @12:30AM (#38286078)
Heya, no worries - I’m glad to share it.

MonkeyPatch ensures reliability through what we call ‘test-driven alignment’, in which the tests that reference the patched functions are guaranteed to pass. The more align ‘tests’ you create, the more rigorous a contract that the functions have to fulfil.

The other way to increase consistency is using more constrained type annotations (i.e using pydantic field annotations), which is a similar concept to MarvinAI and Magentic.

There are no comments on this comment yet.