OpenAI Function Calling does JSON to Typescript conversion under the hood for functions so I'm not surprised it works well.
OpenAI Function Calling does JSON to Typescript conversion under the hood for functions so I'm not surprised it works well.
No need to be formal or use a standard format, just need a pattern the LLM can fill or follow
My thought was it may have been trained on so much JSON and JSON schema data, that simply providing a JSON schema and telling it the data it outputs must validate against the schema will produce good results.
gpt-3.5-turbo and gpt-4 have worked superb at this so far and I'm excited to test with the new gpt-3.5-turbo-instruct model!
One of the benefits of using a reduced syntax is reduced tokens, so the LLM can focus on the interesting parts while ignoring uninteresting " and ,
Let the model think more (and about the important parts)