News for hackers. Stuff that matters.

blamy

Re:Native JSON Output from GPT-4 on Wednesday June 14, 2023 @09:23PM (#36335248)
JSON can be minified.
Re:Native JSON Output from GPT-4 on Wednesday June 14, 2023 @09:08PM (#36335131)
Guardrails is an awesome project and will continue to be even after this.
Re:Native JSON Output from GPT-4 on Wednesday June 14, 2023 @09:04PM (#36335099)
I've been using the same prompts for months and have never seen this happen on 3.5-turbo let alone 4.

https://gist.github.com/BLamy/244eec016beb9ad8ed48cf61fd2054...

Re:Native JSON Output from GPT-4 on Wednesday June 14, 2023 @09:03PM (#36335096)
But it does count toward token usage. And they picked JSON schema which is like 6x more verbose than typescript for defining the shape of json.