Thursday, June 13, 2024

OpenAI announces updates to API, including improved function calling capabilities

[ad_1]

OpenAI logo on the website displayed on a phone screen and ChatGPT on AppStore displayed on a phone screen are seen in this illustration photo taken in Krakow, Poland on June 8, 2023. (Photo by Jakub Porzycki/NurPhoto via Getty Images)

Jakub Porzycki/NurPhoto by way of Getty Photos

As OpenAI has gained extra reputation than ever because of the launch of ChatGPT final fall, its utility programming interface (API) has additionally turn into a sought-after software for builders. Completely different corporations have discovered inspiration in OpenAI’s success and need to replicate it, resulting in builders utilizing its APIs to construct increasingly more instruments. 

To assist take care of this surge in demand, OpenAI has introduced some adjustments to its API, equivalent to improved operate calling functionality, extra steerable variations of GPT-4 and GPT-3.5 Turbo, a brand new 16k context model of GPT-3.5 Turbo, and a 75% value discount within the Embeddings mannequin, the latter leading to diminished prices for builders that pay for the API. 

Additionally: 92% of programmers are utilizing AI instruments, says GitHub developer survey

Among the new updates embrace a brand new operate calling functionality within the Chat Completions API that can permit builders to attach the facility of the GPT fashions with exterior instruments extra reliably. With the replace, builders will be capable of present directions for GPT-4 and GPT-3.5 Turbo by describing the features, and the mannequin will output a JSON object with the required arguments to name these features.

This replace makes it simpler for builders to construct chatbots or purposes that work together with exterior instruments and APIs to carry out particular duties, equivalent to sending emails, retrieving climate or flight data, or extracting information from textual content sources equivalent to web sites.

Additionally: GPT-3.5 vs GPT-4: Is ChatGPT Plus price its subscription price?

The updates additionally make for extra steerable GPT-4 and GPT-3.5 fashions, so builders can exert better management over the fashions’ output. OpenAI is permitting builders to craft the context, specify desired formatting, and supply directions to the mannequin concerning the desired output. Primarily, builders have extra say over the tone, fashion, and content material of the responses generated by the fashions used of their purposes. 

OpenAI additionally introduced the launch of the brand new 16k context model of GPT-3.5 Turbo, which differs from the GPT-3.5 mannequin behind ChatGPT, because it was particularly tailor-made for builders to create chat-based purposes. The newest 16k mannequin is an upgraded variant from the usual, beforehand used 4k mannequin. 

Additionally: AMD unveils MI300x AI chip as ‘generative AI accelerator’

The context in “16k context” is used to explain the textual content inside a dialog that helps present context and helps the mannequin perceive the enter and supply responses which can be related to the dialog. The 4k, or 4,000, tokens in the usual GPT-3.5 Turbo mannequin restricted the mannequin’s capability to keep up the context in a dialog to some paragraphs. 16k, or 16,000, tokens, equals about 20 pages of textual content, giving the mannequin a bigger quantity of textual content as context.

Lastly, OpenAI introduced it has been capable of turn into extra environment friendly and scale back prices, so it is decreasing the Embeddings mannequin by 75% to $0.0001 per 1k tokens, and the GPT-3.5 Turbo by 25% to $0.0014 per 1k enter tokens and $0.002 per 1k output tokens. The brand new GPT-3.5 Turbo-16k mannequin is priced at $0.003 per 1k enter tokens and $0.004 per 1k output tokens.



[ad_2]
Source link

- Advertisement -spot_img
- Advertisement -spot_img
Latest News

5 BHK Luxury Apartment in Delhi at The Amaryllis

If you're searching for a five bedroom 5 BHK Luxury Apartment in Delhi, The Amaryllis could be just what...
- Advertisement -spot_img

More Articles Like This

- Advertisement -spot_img