Glossary term
Glossary term
Architecture
A structured way for a model to request execution of predefined functions with arguments.
Stripe uses GPT-4 function calling in its developer docs assistant to let engineers query live account data: the model calls get_payment_intent(id='pi_xyz') and renders the result inline in the chat.
Slack's Bolt AI framework uses function calling to trigger create_channel, invite_users, and post_message functions - turning a plain-language request into a coordinated Slack workspace action.
A healthcare triage bot uses function calling to invoke lookup_patient(mrn=...), get_recent_labs(patient_id=...), and schedule_appointment(slot=...) in sequence when a patient describes new symptoms.