About this course
Learn how to integrate the OpenAI API into a JavaScript-based web app. Topics
Build a JavaScript AI app with React and the OpenAI API
41sUse the exercise files on GitHub Codespaces
24sUsing GitHub Codespaces with this course
6m 1sBeyond ChatGPT: What AI can do for you
2m 31sReal-world challenge: A more useful weather app
3m 42sIdeating with ChatGPT as a base
6m 22sSidebar: Build a React app using Vite and GitHub Codespaces
4m 46sBoot up the app in GitHub Codespaces
2m 59sWork with the OpenWeatherMap API
3m 30sApp walk-through
6m 12sWhat is the OpenAI API, and how does it relate to ChatGPT?
2m 53sTest the API in the OpenAI Playground
7m 25sGenerate secret keys
3m 21sTest the API with a REST client
5m 11sCreate a location string from a prompt
3m 8sThe challenge of non-deterministic APIs
3m 20sFunction calling in the OpenAI API
3m 49sCreate a custom function call for the OpenAI API
3m 54sSequence API calls in an app
3m 2sCreate a fetch request to the OpenAI API
7m 4sAdd a function call to the request
5m 48sParse the response
4m 1sPass the response to the weather data request
2m 57sUpdate the weather data display
5m 8sPrompt engineering for developers
3m 59sAdvanced calls to the OpenAI API
6m 45sIntegrate the AI API response
3m 46sProvide good UX with independent loaders
5m 49sGo further
1m 29s