Premium
This is an archive article published on June 14, 2023

OpenAI announces function calling and other API updates: What does it mean?

In its blog, the company said that all these models come with the same data privacy and security guarantees that were introduced in March.

OpenAI API upgrade function callsWith GPT-4 and GPT-3.5-turbo, developers can return JSON objects for function calls, leading to limitless possibilities when it comes to interacting with APIs and tools. (Image: OpenAI)
Listen to this article
OpenAI announces function calling and other API updates: What does it mean?
x
00:00
1x 1.5x 1.8x

OpenAI which has been making waves across the world with its powerful ChatGPT is back at it. The company has announced a slew of updates including steerable API models, function calling capabilities, longer context, and lower prices. The development was announced by the company on its official blog.

The Sam Altman-led company has said that it has released GPT-3.5 turbo and GPT-4 earlier this year and in a short span of time, it has witnessed some incredible applications created by developers on top of them.

The new upgrades to API include – a new function calling capability in the Chat Completions API, updated and more steerable versions of GPT-4 and GPT 3.5 turbo, new 16K context window of GPT-3.f turbo, 75 per cent cost reduction in state-of-the-art embeddings model, 25 per cent reduction on input tokens for GPT-3.5 turbo, deprecation timeline for the gpt-3.5-turbo-0301 and gpt-4-0314 models.

In its blog, the company said that all these models come with the same data privacy and security guarantees that were introduced in March according to which the consumer owns all outputs generated from their requests, and their API data will not be used for training.

What are function calls?

This is believed to be the next-level integration for developers. With GPT-4 and GPT-3.5-turbo, developers can return JSON objects for function calls, leading to limitless possibilities when it comes to interacting with APIs and tools.

“Developers can now describe functions to gpt-4-0613 and gpt-3.5-turbo-0613 and have the model intelligently choose to output a JSON object containing arguments to call those functions. This is a new way to more reliably connect GPT’s capabilities with external tools and APIs,” read the post on OpenAI’s official blog.

JSON here stands for JavaScript Object Notation, an encoding system developed to overcome the need for any ad-hoc code for applications to communicate with servers that communicate in a predefined way. According to OpenAI, Function calling allows developers to get structured data back from the model. In simple words, function calls will allow the model to use tools developers design for it.

 

Latest Comment
Post Comment
Read Comments
Advertisement
Loading Taboola...
Advertisement