Mainly an overview of using CUE from Go, with a little flair of validating the returned JSON of an LLM with CUE.
A while back, I used a CUE-like schema instead of OpenAPI. Most of the time, you can get the model to output JSON/CUE from example objects rather than full schemas, which I have a hunch will be distracting and not reasoned about.
A while back, I used a CUE-like schema instead of OpenAPI. Most of the time, you can get the model to output JSON/CUE from example objects rather than full schemas, which I have a hunch will be distracting and not reasoned about.
https://github.com/hofstadter-io/hof/blob/_dev/lib/chat/cmd/...