Y
Hacker News
new
|
ask
|
show
|
jobs
by
PUSH_AX
1052 days ago
Is this just an abstraction over open AI function calling and ‘JSON.parse’ the arguments field from the response?
1 comments
lkiss
1052 days ago
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.
link
PUSH_AX
1052 days ago
That's pretty neat, I didn't realise function calls also streamed.
link