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.
Parallel function calling - Gemini Tutorial
From the course: Gemini API: Tool and Function Calling
Parallel function calling
- [Instructor] In this video, we'll be looking at another Gemini function calling API feature, known as Parallel Function Calling. Parallel Function Calling allows the Gemini model to return multiple function calling objects in a single response. This is a significant advancement over sequential calls as it allows your application to execute several independent functions simultaneously. It is used when the model identifies that a user's request can be fulfilled by multiple independent tools at once. So instead of returning just one function call object and waiting for its result before suggesting the next function, the model bundles all the next function calls into one single response. Your application can then call all these functions at once. Let's assume a user types in the prompt, "What's the weather like in New York and Tokyo and what is the time in London?" All three parts of this query can be undo independently.…
Contents
-
-
-
-
-
Single-turn function call2m 21s
-
(Locked)
Implementing a single-turn function call flow8m 48s
-
(Locked)
Multi-turn function call2m 27s
-
(Locked)
Exploring a transaction processing agent4m 55s
-
(Locked)
Automatic function calling3m 17s
-
(Locked)
Single-turn calls with automatic function calling5m 46s
-
(Locked)
Parallel function calling2m 17s
-
(Locked)
Calling multiple functions in parallel5m 44s
-
(Locked)
Compositional function calling2m 21s
-
(Locked)
Creating sequential workflows5m 22s
-
-
-
-