From the course: OpenAI API for Python Developers

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Define functions and parameters

Define functions and parameters

- [Instructor] Now, we have a deep dive at the function calling feature that gives language models the ability to fetch current data and also call APIs. In order to get an extended generated response, that includes training data and also current and real-time information. And this is the starter project, which is a typical helpful assistance and AI powered assistance, which is capable of answering user queries in a human-like fashion. Now, we would like to power up the abilities of this assistance and receive daily weather report from this assistance. And you see that we use here the typical and usual gpt-3.5-turbo model. So we're going to find a list of supported models for this example, so this could be different at the time that you watch this recording. And let's go back up a little bit to find a few common use cases of function calling integration. So with function calling, we could create assistance that can answer questions, user queries by calling external APIs in order to get…

Contents