▲ | ada1981 2 days ago | |||||||
This is great. Want to come demo it in the weekly EarthPilot.ai AI Playground tomorrow at 11est? Http://earthpilot.com/play and then join at AnthonyDavidAdams.com/zoom at 11 for show and tell. I’m making a non-fiction book writing agent and I’d love to better understand how you used function calling to navigate the website! | ||||||||
▲ | tomblomfield 2 days ago | parent | next [-] | |||||||
Basically you declare to the AI which functions (tools) are available for it to call: https://platform.openai.com/docs/guides/function-calling?api... Then you handle those function calls in your javascript. ``` if (function_name === 'search_recipes') { const searchParams = new URLSearchParams();
``` | ||||||||
| ||||||||
▲ | tomblomfield 2 days ago | parent | prev [-] | |||||||
Afraid I have a day job, so I will politely decline your kind invitation | ||||||||
|