Hi guys. I know this is pretty early but does anybody have good code examples with function calling in node js?
At the moment in github there are only 4 matchs.
Would love to see examples with people who who are smarter than me.
Thanks!
To be honest, I haven’t been using the openai package in quite a while now. I’m having much better results just using axios directly.
maybe this first step could clear up some hangups?
With function calling? Could you show me?
I don’t claim to be smarter than you nor can say if my code example is any good lol but here’s mine, using Next.js.
2 Likes
Thanks for sharing.
Curious though. Do you really need to put eg in every parameter description?
I am not sure. I just followed the sample code OpenAI gave and thought maybe it will be used as some sort of like few shot prompt internally.
1 Like
Try this. Complete demonstration to return time and weather using API calls.
5 Likes