Wednesday, May 29, 2024
HomeNewsOpenAI Releases New Feature Called Function Calling for AI Models GPT-3.5-turbo and...

OpenAI Releases New Feature Called Function Calling for AI Models GPT-3.5-turbo and GPT-4

The feature is a novel approach to more securely link GPT's capabilities with external tools and APIs.

The text-generating AI models GPT-3.5-turbo and GPT-4 have been updated by OpenAI to include a feature called function calling. Developers can now specify functions for GPT-4-0613 and GPT-3.5-turbo-0613, and the model will intelligently decide which JSON object to output that has the arguments needed to invoke those functions. 

This is a novel approach to more securely link GPT’s capabilities with external tools and APIs, according to a blog post published by OpenAI on Tuesday. Developers can build chatbots that respond to queries by calling external tools (such as ChatGPT Plugins) using the function calling feature.

For instance, it can convert queries such as “What’s the weather like in Boston?” to get_current_weather(location: string, unit: ‘celsius’ – ‘fahrenheit’) or “Email Anya to see if she wants to get coffee next Friday” to a function call like send_email(to: string, body: string). OpenAI indicated that it will start the process of upgrading and deprecating the initial releases of GPT-4 and GPT-3.5-turbo, which it announced in March.

Read More: Microsoft Announces AI Personal Assistant Windows Copilot for Windows 11

On June 27, all software utilizing the stable model names (GPT-3.5-turbo, GPT-4, and GPT-4-32k) will be automatically updated to the new models. Additionally, the business announced a 25% price reduction for the GPT-3.5-turbo.  

Developers can use GPT-3.5-turbo for $0.0015 per 1,000 input tokens and $0.002 per 1,000 output tokens, yielding about 700 pages per dollar. A pricing reduction is also being applied to Text-embedding-ada-002, one of OpenAI’s most popular text embedding models.

Subscribe to our newsletter

Subscribe and never miss out on such trending AI-related articles.

We will never sell your data

Join our WhatsApp Channel and Discord Server to be a part of an engaging community.

Sahil Pawar
Sahil Pawar
I am a graduate with a bachelor's degree in statistics, mathematics, and physics. I have been working as a content writer for almost 3 years and have written for a plethora of domains. Besides, I have a vested interest in fashion and music.


Please enter your comment!
Please enter your name here

Most Popular