What to Know About ChatGPT’s New Code Interpreter Feature

The chatbot is delighting users anew by creating charts and maps and turning images into videos.

By Yiwen Lu

ChatGPT, the artificial intelligence-powered chatbot made by OpenAI, has wowed the world in recent months with the text it can generate. Now the chatbot is delighting users anew by creating charts and maps and turning images into videos.

That’s because of a new feature that OpenAI rolled out to ChatGPT Plus subscribers last week, called code interpreter. Here’s what to know about it.

What is code interpreter?

Code interpreter allows ChatGPT to analyze data, create charts, solve math problems and edit files, among other uses. It also supports uploading and downloading files, which was not possible in ChatGPT before.

Code interpreter became available Thursday to subscribers of ChatGPT Plus, a service that costs $20 a month. Similar add-on features, which give ChatGPT users access to third-party services such as Expedia and OpenTable, are available to subscribers only.

How does code interpreter work?

When people ask ChatGPT a question, the chatbot guesses an answer based on a technology called a large language model, which predicts the next word in a sequence.

But when code interpreter is enabled, ChatGPT writes and runs a piece of computer code to find the answer, OpenAI said. That lets the chatbot accomplish new tasks that it didn’t do before, such as performing complicated calculations and generating charts based on data that a user uploads, which are all completed by code.

Some argue code interpreter reduces the chances of inaccuracies, a common complaint about large language models.

“The code objectively does something right,” said Ethan Mollick, an associate professor at the University of Pennsylvania, who tested code interpreter for two months before it was released.

What have people used code interpreter to do?

The most common use of code interpreter is data analysis.

With a prompt like “tell me what is interesting about the data,” ChatGPT can look through a user’s data, such as financial, health or location information, and produce insights about them. Financial analysts have found ways to use the tool in their work, such as analyzing stock prices and preparing a budget.

Researchers have also started using the tool for creative data visualizations. Mollick said he had recently used code interpreter to create a 3D chart of the Billboard Hot 100 list and make an animated map of every lighthouse in the United States. Some people have also used code interpreter to convert the formats of files, such as turning images into videos or PDF documents into pictures.

Arvind Narayanan, a professor of computer science at Princeton University, cautioned that people should not become overly reliant on code interpreter for data analysis as AI still produces inaccurate results and misinformation.

“Appropriate data analysis requires just a lot of critical thinking about the data,” he said.

c.2023 The New York Times Company. This article originally appeared in The New York Times.

Latest news

Bluespring Wealth Partners Acquires Scottsdale, Ariz., firm

Led by husband and wife Kevin and Carrie Dick, KDI Wealth Management oversees $750M in client assets and is rated in the top 10 in state by Forbes.

Judge Halts Rule Capping Credit-Card Late Fees

A federal judge in Texas halted the Consumer Financial Protection Bureau's new rule capping credit card late fees at $8.

Inflation, Economic Uncertainty Upending Retirement Dreams for Many

Nationwide’s Advisor Authority survey finds many are taking non-traditional approaches to retirement, including moving in with their adult children.

Perigon Wealth Management Appoints Head of Advisor Success and Integration

Maria Daley has more than 30 years of experience leading business development and relationship management teams.

SEC Wants RIAs to Verify Customer Identities

The SEC and Treasury say the rule is needed because customers have used RIAs for illicit foreign financial activity in the United States.

Concerns About Insufficient Savings Keep Many Retirees Awake, Survey Finds

Among those in retirement, 32% fear they have too little savings, according to the Schroders 2024 US Retirement Survey.