"Is this number even?"
"yes of no"
"Invalid Response, please answer with yes of no"
"yes of no"
"Invalid Response,...
gpt3.5 is faster though. You can tell they really thought about performance while writing this code because they used 3.5 instead. /s
Don't use OpenAI's outdated tools. Also, don't rely on prompt engineering to force the output to conform. Instead, use a local LLM and something like jsonformer or parserllm which can provably output well-formed/parseable text.
Yeah, I think, that's only really JSON which is so pedantic about it...
yes of no
Not even valid json but compiler doesn't complain
Quick! Make this a library, then encourage its widespread use. Nothing could go wrong. Who's that behind me? No, one. No. It's absolutely not node.js.