🎓 Join my learning platform for module based courses, learning exercises, and more: https://coderprep.com/
In this video I cover how to use the OpenAI API within React applications. The project in this video is a tweet sentiment analysis tool, allowing us to use AI to see if a certain tweet is positive or negative. This video requires no previous knowledge of OpenAI, and should get you started with being able to create API requests for applications using OpenAI! I cover how to setup OpenAPI, choose your model, and create functionality based off API calls using OpenAI. This video should be helpful for setting up any request to the API, as I go into detail how we can change the OpenAI curl request into the JavaScript fetch request.
Project Code: https://github.com/coopercodes/OpenAI...
0:00 Intro
0:25 Setup React / User Interface
3:37 Setup OpenAI API
5:10 Create OpenAI API Request in React
9:30 Show OpenAI Response to User
10:20 Show Other Ways To Use OpenAI API
11:42 Outro / Discussion