Re:Show HN: GPT-JSON, get structured response from OpenAI's ...
by PUSH_AX on Tuesday August 08, 2023 @03:43AM
(#37045782)
Is this just an abstraction over open AI function calling and ‘JSON.parse’ the arguments field from the response?
[ Parent
| on HN ]
Re:Show HN: GPT-JSON, get structured response from OpenAI's ...
by lkiss on Tuesday August 08, 2023 @04:06AM
(#37045941)
Yes and no. It is indeed a thin layer but does much more than a simple JSON.parse. For example, it allows you to stream structured data too. If you want to receive an array, it will call your callback with every new item of that array.