Re:Show HN: LLMs can generate valid JSON 100% of the time
by tornato7 on Monday August 14, 2023 @05:58PM
(#37127322)
Function Calling is fine-tuned to a certain output format, but it very often strays from that format. My function-calling-handling code has a mess of edge case handlers that catch when GPT-4 is calling functions incorrectly.
Re:Show HN: LLMs can generate valid JSON 100% of the time
by M4v3R on Monday August 14, 2023 @06:04PM
(#37127376)
It’s not though, they even say it in their docs that sending a schema does not guarantee that the model will actually adhere to the scheme or even produce valid JSON
https://platform.openai.com/docs/guides/gpt/function-calling