3 ms·
nono, the same thing happens with OpenAI's JSON mode and function calling. It does output parsable JSON very reliably but it comes out mangled with a bunch of w
by msp26 3y ago
nono, the same thing happens with OpenAI's JSON mode and function calling. It does output parsable JSON very reliably but it comes out mangled with a bunch of whitespace sometimes.
GPT-4-turbo's output context window is limited to 4096 so fixing this is relevant. You can use logit_bias for it.