Hacker News new | ask | show | jobs
by senko 1086 days ago
With the latest 3.5-turbo, you can try forcing it to call your function with a well-defined schema for arguments. If the structure is not overly complex, this should work.
1 comments

It's great at returning well-formatted JSON, but it can hallucinate arguments or values to arguments.
i’ve had it come up with new function names, or prepend some prefix to the names of functions. i had to put some cleverness in on my end to run whatever function was close enough.