From the course: Gemini API: Tool and Function Calling

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Automatic function calling

Automatic function calling

- [Instructor] So far, we have been declaring functions with adjacent object and passing it to our model requests. We have also been handling the return function core objects done locally and passing the result back to the model for a final response. But what if we could just pass our actual local functions to the model and have the model handle all the function calling and all the complexity of handling the turn by turn logic? How convenient would that be? Well, no need to dream anymore. This is exactly what automatic function calling does for you. Automatic function calling is a feature that simplifies the function calling workflow. It does this by having the SDK rather than the developer handle the two ton or multi ton logic in the function calling conversation. One thin to note though, before we continue describing automatic function calling, is that this feature is only currently available in the Python SDK as at the…

Contents