OpenAI's function calling acts as an intermediary that retrieves data from third-party sources. It uses generative AI models to respond to user queries in natural language.