technifyed

freeCodeCamp via YouTube Free video

Intro to AI Engineering – OpenAI JavaScript Tutorial

Overview

Interactive course version here: https://scrimba.com/links/intro-to-ai-engineering

This crash course will get you up-to-speed on how build AI-powered web apps using the GPT-4 and DALL·E APIs. You'll build and deploy an app you can add to your portfolio to impress your future employer.

The course was created by Scrimba instructors Tom Chant, Per Borgen and Guil Hernandez. Follow Scrimba on YouTube here: https://www.youtube.com/c/Scrimba

⭐️ Code ⭐️

Download the code via the lessons on Scrimba: https://scrimba.com/links/intro-to-ai-engineering

❤️ Try interactive AI courses we love, right in your browser: https://scrimba.com/freeCodeCamp-AI (Made possible by a grant from our friends at Scrimba)

⭐️ Contents ⭐️

0:00:00 AI Engineering basics

0:03:52 The code so far

0:06:48 Polygon API sign-up & key

0:08:12 Get an OpenAI API Key

0:10:22 Overview of how the API works

0:13:42 An API call: OpenAI dependency

0:16:45 An API call: Instance and model

0:18:58 An API call: The messages array

0:25:12 A quick word about models

0:30:45 Prompt Engineering and a challenge

0:35:20 Adding AI to the App

0:40:27 Tokens

0:46:11 Playground

0:48:08 Temperature

0:52:23 The "Few Shot" Approach

0:56:52 Adding Examples

1:00:33 Stop Sequence

1:03:39 Frequency and Presence Penalties

1:06:49 Fine-tuning

1:16:49 Creating Images with the DALL·E 3 API

1:27:46 Intro to AI Safety

1:33:18 Safety Best Practices

1:36:44 You made it!

Deploying AI Apps with Cloudflare

1:39:02 Learn secure & robust deployment strategies

1:41:16 Create a Cloudflare worker

1:45:42 Connect your worker to OpenAI

1:50:14 Update client side data fetching

1:54:28 Handle CORS and preflight requests

1:58:59 OpenAI API requests & responses

2:01:57 Create an AI Gateway

2:06:53 Error handling

2:11:44 Create & deploy the Polygon API worker

2:16:26 Fetch the stock data

2:20:39 Download files and push to GitHub

2:22:07 Deploy your site with Cloudflare Pages

2:26:34 Custom domains with Cloudflare

2:28:52 Recap & next steps

🎉 Thanks to our Champion and Sponsor supporters:

👾 davthecoder

👾 jedi-or-sith

👾 南宮千影

👾 Agustín Kussrow

👾 Nattira Maneerat

👾 Heather Wcislo

👾 Serhiy Kalinets

👾 Justin Hual

👾 Otis Morgan

👾 Oscar Rahnama

--

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news

Chapters 37

  1. 0:00:00AI Engineering basics
  2. 0:03:52The code so far
  3. 0:06:48Polygon API sign-up & key
  4. 0:08:12Get an OpenAI API Key
  5. 0:10:22Overview of how the API works
  6. 0:13:42An API call: OpenAI dependency
  7. 0:16:45An API call: Instance and model
  8. 0:18:58An API call: The messages array
  9. 0:25:12A quick word about models
  10. 0:30:45Prompt Engineering and a challenge
  11. 0:35:20Adding AI to the App
  12. 0:40:27Tokens
  13. 0:46:11Playground
  14. 0:48:08Temperature
  15. 0:52:23The "Few Shot" Approach
  16. 0:56:52Adding Examples
  17. 1:00:33Stop Sequence
  18. 1:03:39Frequency and Presence Penalties
  19. 1:06:49Fine-tuning
  20. 1:16:49Creating Images with the DALL·E 3 API
  21. 1:27:46Intro to AI Safety
  22. 1:33:18Safety Best Practices
  23. 1:36:44You made it!
  24. 1:39:02Learn secure & robust deployment strategies
  25. 1:41:16Create a Cloudflare worker
  26. 1:45:42Connect your worker to OpenAI
  27. 1:50:14Update client side data fetching
  28. 1:54:28Handle CORS and preflight requests
  29. 1:58:59OpenAI API requests & responses
  30. 2:01:57Create an AI Gateway
  31. 2:06:53Error handling
  32. 2:11:44Create & deploy the Polygon API worker
  33. 2:16:26Fetch the stock data
  34. 2:20:39Download files and push to GitHub
  35. 2:22:07Deploy your site with Cloudflare Pages
  36. 2:26:34Custom domains with Cloudflare
  37. 2:28:52Recap & next steps

Advantages and disadvantages

Advantages

  • Completely free, with no ads inside the lessons.
  • Project-based: you build real apps as you learn.
  • freeCodeCamp's own certifications are free and well known among developers.
  • Free, one long video that covers a topic end to end.
  • Use the chapters to jump to what you need.
  • Completely free.
  • Self-paced: start any time.
  • A clear syllabus (37 parts) you can see before you start.

Disadvantages

  • YouTube videos are long single recordings; you pace yourself.
  • Less theory than a university course.
  • No exercises or certificate: code along to make it stick.
  • No certificate.
  • No graded assignments or feedback.

Some points apply to every course of this kind; see how we rank.

Free

  • Free: Watch on YouTube, no account needed.
  • Certificate: None. Code or take notes along to make it stick.

freeCodeCamp is in Tier 3: good universities, respected companies, nonprofits and well-known teachers of our institution ranking (78/100). Free full courses and certifications; practical, but not university-level depth.

Similar courses

Compare these

Harvard University · YouTube

CS50's Introduction to Programming with Python (CS50P) 2022

This is CS50P, CS50's Introduction to Programming with Python. Register for free at https://cs50.edx.org/python. Slides and source code at https://cs50.harvard.edu/python. Playlist at https://www.youtube.com/playlist?list=PLhQjrBD2T3817j24-GogXmWqO5Q5vYy0V. An introduction to programming using a la…

Free video11 videos, 16 hours

Massachusetts Institute of Technology · YouTube

MIT 6.100L Introduction to CS and Programming using Python, Fall 2022

Instructor: Ana Bell View the complete course: https://ocw.mit.edu/courses/6-100l-introduction-to-cs-and-programming-using-python-fall-2022/ *Note: Lectures 6, 10 have been updated! This subject is aimed at students with little to no programming experience. It aims to provide students with an under…

Free video26 videos, 28 hours

Harvard University · YouTube

CS50's Web Programming with Python and JavaScript (CS50W) 2020

This is CS50W, CS50's Web Programming with Python and JavaScript. Register for free at https://cs50.edx.org/web. Slides and source code at https://cs50.harvard.edu/web. This course picks up where Harvard University’s CS50 leaves off, diving more deeply into the design and implementation of web apps…

Free video10 videos, 14 hours

Harvard University · YouTube

CS50's Introduction to Artificial Intelligence with Python 2023

This course explores the concepts and algorithms at the foundation of modern artificial intelligence, diving into the ideas that give rise to technologies like game-playing engines, handwriting recognition, and machine translation. Through hands-on projects, students gain exposure to the theory beh…

Free video8 videos, 12 hours

Harvard University · YouTube

CS50's Introduction to Artificial Intelligence with Python 2020

This course explores the concepts and algorithms at the foundation of modern artificial intelligence, diving into the ideas that give rise to technologies like game-playing engines, handwriting recognition, and machine translation. Through hands-on projects, students gain exposure to the theory beh…

Free video8 videos, 13 hours

Massachusetts Institute of Technology · YouTube

MIT 18.S997 Introduction to MATLAB Programming Fall 2011

View the complete course: http://ocw.mit.edu/18-S997F11 Instructor: Yossi Farjoun This course is intended to assist undergraduates with learning the basics of programming in general and programming MATLAB® in particular. License: Creative Commons BY-NC-SA More information at http://ocw.mit.edu/term…

Free video6 videos, 50 minutes

Enter your email and the official page opens. Phone is optional.