From the course: The Art and Craft of AI for Business Resilience

Unlock the full course today

Join today to access over 23,000 courses taught by industry experts.

Voice-activate with function-calling

Voice-activate with function-calling

- As AI participates in not just the digital world, but our physical world, there's a variety of scenarios that become possible when sensors and actuators are wired into your AI service. Let's show you how just a few lines of code can achieve the unexpected. I know this isn't a coding course, but getting a sense of how that works will help you lead your organization better. So, I promised a few lines of code, and this is like if you look at the tiny thumbnail here, this is only 70-ish lines of code. What it is, is it's calling a few APIs to a car factory simulation that I just made in a couple hours with a help of GPT-4 actually. It would've taken me a week to write the code I'm going to show you in the next screen. But this is the backend code. The backend code is able to call an API to get the car factory modules. It's able to turn the modules on and off in the factory. It's also able to get the status of the modules. And most importantly, it can set the sequence of modules to run...

Contents