Skip to content

deployment

Function Calling

A capability where language models can identify when to use external tools and generate structured function calls with appropriate arguments. Function calling enables models to interact with databases, APIs, and other systems to accomplish real-world tasks.

In practice

A model might call a weather API with function_call: getWeather(city='London') to answer 'What's the weather in London?'