search
HomeTechnology peripheralsAIOpenAI announces open API so developers can integrate ChatGPT into their products

OpenAI 宣布开放 API,开发人员可将 ChatGPT 集成到自己的产品中

On March 2, OpenAI announced that it now allows third-party developers to integrate ChatGPT into their applications and services through API, so that will be much cheaper than using existing language models.

Additionally, the company said it is opening up the API for Whisper, an AI-powered speech-to-text model, and making some important changes to its developer terms of service.

OpenAI 宣布开放 API,开发人员可将 ChatGPT 集成到自己的产品中

OpenAI says its ChatGPT API can be used for more than just creating an AI-powered chat interface, although it acknowledges that several companies have been It's being used for similar purposes, including Snap's My AI feature announced earlier this week and Microsoft's previous chat feature for Bing.

OpenAI 宣布开放 API,开发人员可将 ChatGPT 集成到自己的产品中

It is worth noting that this model opened by OpenAI may not be the one used by Bing, because Microsoft calls it "the new next generation OpenAI Large Language Model" which is "faster, more accurate, and more powerful" than ChatGPT and GPT-3.5.

Of course, considering that Microsoft has invested heavily in OpenAI, it's not surprising that it has access to technology beyond the purview of ordinary developers, and it also uses its own technology in Bing.

Of course, OpenAI is also constantly improving the public ChatGPT model, and developers also have the flexibility to choose specific versions, such as gpt-3.5-turbo-0301 released today. It will be supported until at least June 1st, with gpt-3.5-turbo updated to a stable version in April.

OpenAI 宣布开放 API,开发人员可将 ChatGPT 集成到自己的产品中

According to reports, OpenAI will provide 1,000 tokens at a price of $0.002, “which is 90% cheaper than our existing GPT-3.5 model. ”, in part due to “a series of system-wide optimizations.”

OpenAI 宣布开放 API,开发人员可将 ChatGPT 集成到自己的产品中

##▲Request

OpenAI 宣布开放 API,开发人员可将 ChatGPT 集成到自己的产品中

##▲Response

OpenAI 宣布开放 API,开发人员可将 ChatGPT 集成到自己的产品中

▲ Binding Python

Although 1000 tokens may sound like a lot, it may take several tokens to normally send a text fragment. (The "Token" mentioned here refers to the text chunks that the system breaks down sentences and words into in order to predict what text should be output next.)

According to the official OpenAI documentation, the group "ChatGPT is great!" A word requires six tokens - its API breaks it down into "Chat", "G", "PT", "is", "great" and "!".

Of course, the company also provides developers with a tool to check how many tokens are needed to interpret a string of text. As a general rule of thumb, they say, "a token usually corresponds to about 4 characters" in English.

Developers can also get a dedicated ChatGPT instance if they run large amounts of data through the API, the company said. Doing so supposedly gives you greater control over parameters like how long it takes to respond to a request and how long a conversation with the bot can last.

The above is the detailed content of OpenAI announces open API so developers can integrate ChatGPT into their products. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:51CTO.COM. If there is any infringement, please contact admin@php.cn delete
How LLM Agents are Leading the Charge with Iterative Workflows?How LLM Agents are Leading the Charge with Iterative Workflows?Apr 22, 2025 am 10:36 AM

Introduction Large Language Models (LLMs) have made significant strides in natural language processing and generation. However, the typical zero-shot approach, producing output in a single pass without refinement, has limitations. A key challenge i

Functional Programming vs Object-Oriented ProgrammingFunctional Programming vs Object-Oriented ProgrammingApr 22, 2025 am 10:24 AM

Functional vs. Object-Oriented Programming: A Detailed Comparison Object-oriented programming (OOP) and functional programming (FP) are the most prevalent programming paradigms, offering diverse approaches to software development. Understanding thei

What are the SQL Alternate Key? - Analytics VidhyaWhat are the SQL Alternate Key? - Analytics VidhyaApr 22, 2025 am 10:19 AM

Introduction SQL keys are fundamental, with primary, foreign, and candidate keys holding significant importance. Often overlooked, however, are alternate keys, which play a crucial role in database design, data integrity, and efficient record retrie

What are SQL Indexes? - Analytics VidhyaWhat are SQL Indexes? - Analytics VidhyaApr 22, 2025 am 10:18 AM

Introduction SQL indexes are essential for optimizing database performance. They act as lookup tables, significantly speeding up data retrieval. Think of them as a book's index – they help you find specific information quickly without reading the en

Mean Squared Error: Definition and FormulaMean Squared Error: Definition and FormulaApr 22, 2025 am 10:15 AM

Introduction Mean squared error (MSE), a fundamental concept in statistics and machine learning, is a key metric for assessing model accuracy. It quantifies the discrepancy between a model's predictions and the actual values. MSE's simplicity and e

SQL Server FORMAT() FunctionSQL Server FORMAT() FunctionApr 22, 2025 am 10:13 AM

Introduction Mastering data formatting is essential for any data scientist or analyst. Well-formatted data enhances readability and user-friendliness, ensuring stakeholders can easily grasp insights. SQL Server's FORMAT() function offers powerful ca

What are Grant and Revoke in SQL? - Analytics VidhyaWhat are Grant and Revoke in SQL? - Analytics VidhyaApr 22, 2025 am 10:10 AM

SQL Data Control Language (DCL): Securing Your Database with GRANT and REVOKE Maintaining data security and integrity is critical in relational databases. SQL's Data Control Language (DCL) provides the tools to manage user access privileges, ensurin

McCulloch-Pitts Neuron - Analytics ViidhyaMcCulloch-Pitts Neuron - Analytics ViidhyaApr 22, 2025 am 10:06 AM

The McCulloch-Pitts Neuron: A Foundation for Artificial Neural Networks Biological neurons, the fundamental building blocks of the brain, inspire much of artificial neural network (ANN) research. These biological units, comprising soma, axons, dendr

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment