UHG
Search
Close this search box.

OpenAI Unveils Code Interpreter, a Thrilling Breakthrough

OpenAI releases Assistants API, making it easier for developers to build their own GPT-like experience into their own apps and services

Share

Listen to this story

After months of anticipation and requests from developers, OpenAI has finally released Code Interpreter API. “Code Interpreter is now available today in the API as well,” said Romain Huet, head of developer experience at OpenAI, in the backdrop of Assistants API launch. 

This new API is said to make it easier for developers to build their own GPT-like experience into their own apps and services. “These experiences are great but they have been hard to build, sometimes taking months, teams of dozens of engineers, there’s a lot to handle to make this custom assistant experience. So today we’re making it a lot easier with our new Assistants API,” said Altman. 

Currently in beta stage, you can try Assistant API here

The all new API provides new capabilities such as code interpreter and retrieval, alongside function calling to handle a lot of the heavy lifting, making it easy for developers to build high-quality AI applications. 

In addition to this, it has also introduced persistent and infinitely long threads, helping developers focus on context window constraints and leaving all the thread state management hassle to OpenAI. 

“With the Assistants API, you simply add each new message to an existing thread. (this is different from) other features.” said OpenAI, in its blog post. 

As far as the data safety is concerned, OpenAI claimed that its API are never used to train their models and developers can delete the data when they see it. 

Features of the Assistants API

The Assistants API leverages Code Interpreter, OpenAI’s tool that writes and executes Python code in a controlled environment. Originally launched for ChatGPT in March, the Code Interpreter facilitates the generation of graphs, charting, and file processing. This functionality allows assistants developed with the Assistants API to iteratively run code for problem-solving in coding and mathematics.

Moreover, the API incorporates a retrieval component, enabling dev-created assistants to access knowledge outside OpenAI’s models, such as product information or company documents. It also supports function calling, allowing assistants to trigger developer-defined programming functions and integrate their responses into messages.

Beta Release and Usage

The Assistants API is currently in beta and accessible to all developers. 

OpenAI will bill the tokens used at the chosen model’s per-token rates, where “tokens” refer to text fragments. In the future, OpenAI plans to enable customers to introduce their own assistant-driving tools to complement the existing Code Interpreter, retrieval component, and function calling features on its platform.

📣 Want to advertise in AIM? Book here

Picture of K L Krithika

K L Krithika

K L Krithika is a tech journalist at AIM. Apart from writing tech news, she enjoys reading sci-fi and pondering the impossible technologies, trying not to confuse it with reality.
Related Posts
Association of Data Scientists
Tailored Generative AI Training for Your Team
Upcoming Large format Conference
Sep 25-27, 2024 | 📍 Bangalore, India
Download the easiest way to
stay informed

Subscribe to The Belamy: Our Weekly Newsletter

Biggest AI stories, delivered to your inbox every week.

Flagship Events

Rising 2024 | DE&I in Tech Summit
April 4 and 5, 2024 | 📍 Hilton Convention Center, Manyata Tech Park, Bangalore
Data Engineering Summit 2024
May 30 and 31, 2024 | 📍 Bangalore, India
MachineCon USA 2024
26 July 2024 | 583 Park Avenue, New York
MachineCon GCC Summit 2024
June 28 2024 | 📍Bangalore, India
Cypher USA 2024
Nov 21-22 2024 | 📍Santa Clara Convention Center, California, USA
Cypher India 2024
September 25-27, 2024 | 📍Bangalore, India
discord icon
AI Forum for India
Our Discord Community for AI Ecosystem, In collaboration with NVIDIA.