From the course: Build a JavaScript AI App with React and the OpenAI API
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
What is the OpenAI API, and how does it relate to ChatGPT?
From the course: Build a JavaScript AI App with React and the OpenAI API
What is the OpenAI API, and how does it relate to ChatGPT?
- Throughout this course, we'll be using the OpenAI API to integrate an AI model into an existing application. The OpenAI API serves as a good baseline example for this type of integration, and the approach you'll learn here will apply more or less the same with other AI APIs as well. Which begs an important question, what exactly is the OpenAI API, and how does it relate to ChatGPT? Short version, the OpenAI API provides programming-level, highly configurable direct access to the GPT language models offered by OpenAI. Using the OpenAI API, you can build a ChatGPT clone because ChatGPT itself is built on the OpenAI API. Long version, the OpenAI API provides much deeper core access to the AI models than ChatGPT and does so without all the user filters ChatGPT has put in place to prevent unexpected usage. This means you, as a developer, have way more control, both in what prompts go in and what responses come out…