ChatGPT Clone – OpenAI API and React Tutorial
By freeCodeCamp.org
Published: Jan 18, 2023“
Learn how to use React and the OpenAI API to create an application like ChatGPT. The application can answer our questions, convert the text into different languages, or even convert JavaScript code to Python.OpenAI API: https://beta.openai.com/
Course developed by @CybernaticoByNishant
ChatGPT with React: https://github.com/nishant-666/ChatGPT-React
OpenAI with React: https://github.com/nishant-666/Dall-E-API-with-ReactContents
- (0:00) Introduction
- (4:01) Importing configuration and api keys
- (11:27) Creating the input and button
- (16:09) How to create an image
- (23:32) Getting the api key from the console
- (28:48) Setting up the menu items
- (36:14) Hovering options in the options
- (41:03) Importing the translated component
- (48:47) Setting options in a file
- (53:30) Finishing main function
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
”