Site icon Aragon Research

OpenAI Announces Function Calling for Its GPT-4 API

OpenAI Announces Function Calling for Its GPT-4 API

By Adam Pease

OpenAI Announces Function Calling for Its GPT-4 API

OpenAI has announced a new feature called ‘function calling’ for its large language model API services. This blog delves into the details of function calling and explores what it could mean for the future of AI development.

What Is Function Calling?

In the realm of artificial intelligence, the ability to interface effectively with external tools and systems has often been a significant hurdle. The new announcement from OpenAI, detailing updates to its API which include a new capability termed “function calling,” signifies a leap towards conquering this challenge. This fascinating new feature gives AI models like GPT-4 and GPT-3.5 the capacity to generate code that executes functions as described by developers. With this tool, chatbots can perform tasks that extend far beyond their previous abilities, such as querying databases using natural language or extracting structured data from plain text.

The process behind this function calling feature is as innovative as the capability itself. When a developer describes a function to the AI models, they can generate JSON objects that contain the required arguments to execute these functions. In a nutshell, it forms a bridge between AI capabilities and external APIs or tools, enhancing their potential integration. This introduces new dimensions of possibilities, expanding the realms where AI can lend its prowess.

The Developing GPT Ecosystem

The efficiency of function calling is augmented by the AI models’ ability to discern instances where these functions should be activated based on user input. The models have been fine-tuned to not only recognize such situations but also produce JSON responses in alignment with the function signature. This means that developers can receive structured data from the model in a more consistent and reliable manner, fueling the potential for more sophisticated and complex applications.

OpenAI has also launched an improved version of GPT-3.5-turbo, complete with an extended context window. The context window, essentially the volume of text that the model considers before generating further content, has been substantially enlarged. Consequently, the model has access to a more substantial pool of information, allowing for more informed, context-sensitive responses. This further enhances the capabilities of AI systems, helping them become more versatile, adaptable, and innovative.

Bottom Line

OpenAI’s new function calling feature allows GPT-4 and GPT-3.5 models to interact effectively with external APIs and tools. Enhanced with a larger context window, these models can now deliver more contextually relevant responses. This revolutionizes AI systems, promising more sophisticated applications.


This blog on is part of the Content AI blog series by Aragon Research’s Analyst, Adam Pease.

Missed the previous installments? Catch up here:

Blog 1: RunwayML Foreshadows the Future of Content Creation

Blog 2: NVIDIA Enters the Text-to-Image Fray

Blog 3: Will OpenAI’s New Chatbot Challenge Legacy Search Engines?

Blog 4: Adobe Stock Accepts Generative Content and Meets Backlash

Blog 5: OpenAI Makes a Move for 3D Generative Content with Point-E

Blog 6: ChatGPT and the Problem of Detecting AI-Generated Content

Blog 7: Content AI: Voice AI Takes a Step Forward

Blog 8: AI in the Courtroom: Are Robot Lawyers the Future of Law?

Blog 9: GitHub Copilot and the Legality of Generative Content

Blog 10: Google Steps into the Chat AI Ring with Bard, Anthropic Investment

Blog 11: Exploring Google Bard’s Botched Demo

Blog 12: Meta AI Is Working at the Intersection of Robotics and Generative AI

Blog 13: Meta’s New AI Model Leaks

Blog 14: Students in China Use ChatGPT from Behind the Firewall

Blog 15: OpenAI’s ChatGPT API Will Transform Application Experiences

Blog 16: Microsoft Announces Copilot X, GPT-4 Integration

Blog 17: BloombergGPT Brings Generative AI to Finance

Blog 18: Stability AI Releases Its First Large Language Model: StableLM

Blog 19: OpenAI to Patent ‘GPT’

Blog 20: Pinecone and the Power of Vector Databases for AI

Blog 21: Alphabet Plans New Generative AI Announcements for Google I/O

Blog 22: Europe Moves to Regulate Generative AI

Blog 23: OpenAI Introduces Code Interpreter Plugin for ChatGPT

Blog 24: Generative AI and the Labor Market: Is It Causing Job Loss?

Exit mobile version