Re:GPT-JSON: Structured and typehinted GPT responses in Python
by TeMPOraL on Friday May 05, 2023 @05:23AM
(#35826981)
Maybe not the best thread to ask, but - is there an ELI5 explanation of what exactly CUE is and what is it for? I've landed on that website several times in the last two years, and I could never make heads or tails of it. That the name is just a mix of random, unrelated verbs doesn't help.
[ Parent
| on HN ]
Re:GPT-JSON: Structured and typehinted GPT responses in Python
by verdverm on Friday May 05, 2023 @10:50AM
(#35829963)
Does this explanation help: https://cuetorials.com/introduction/
Also, this: https://bitfieldconsulting.com/golang/cuelang-exciting
Re:GPT-JSON: Structured and typehinted GPT responses in Python
by mhsred5 on Friday May 05, 2023 @03:42PM
(#35834214)
Its a really well thought out way to combine schemas, templates, and data into one language. Its a superset of JSON and it provides a functional interface to validate inputs, outputs, and configurations.
It integrates very nicely with go and can convert between go structs into cue structs and vice versa.