How to use function calling to search for information on the Internet

Hi, I’ve built a chat robot using gpt3.5-turbo-1106 and gpt-4-1106-preview.I’m using Node.js for my Backend. How can I connect the GPT-API to the Internet to search for information with Function Calling?

1 Like