Re:GPT-JSON: Structured and typehinted GPT responses in Python
by mhsred5 on Friday May 05, 2023 @03:37PM
(#35834156)
CUE's validation is very strong, as long as you're ok with some level of functional programming and immutability.
Despite what GPT said above, its Configure, Unify, Execute. The Execute aspect is powerful but you have to be ok with functional programming and immutability.
Pairs up really nicely with Go.
1. Is cue's validation a material improvement from something like pydantic or zod, which defines schema as code versus in .cue files? I see their docs argue that this can allow for client-side validation and lighter weight schema files which doesn't seem to totally address the library side of things.
2. Have you used the scripting layer before and do you find it useful in practice? I'm struggling a bit to see how I or GPT would use this in my day-to-day.