Parallel Function Calling

Domain: Tools & Function Calling

🎯 Motivation

The model can call multiple functions at once when they are independent, speeding up execution.

πŸ“‹ Concrete Example

User: β€˜Weather in HK and Tokyo?’ Model calls get_weather(HK) and get_weather(Tokyo) simultaneously. Both results come back, and the model compares them.

πŸ”— Analogy

Ordering multiple items at a restaurant - you say β€˜I want the soup, the chicken, and the rice’ all at once. The kitchen prepares them in parallel. Faster than ordering one at a time.