Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Introduction to AI Engineering - OpenAI JavaScript Tutorial

via freeCodeCamp

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This introductory course teaches how to build AI applications with the OpenAI API in JavaScript. It covers prompt engineering, DALL·E 3 image generation, AI safety, and deploying an application with Cloudflare Workers and Pages.

Syllabus

AI Engineering basics
The code so far
Polygon API sign-up & key
Get an OpenAI API Key
Overview of how the API works
An API call: OpenAI dependency
An API call: Instance and model
An API call: The messages array
A quick word about models
Prompt Engineering and a challenge
Adding AI to the App
Tokens
Playground
Temperature
The "Few Shot" Approach
Adding Examples
Stop Sequence
Frequency and Presence Penalties
Fine-tuning
Creating Images with the DALL·E 3 API
Intro to AI Safety
Safety Best Practices
You made it!
Learn secure & robust deployment strategies
Create a Cloudflare worker
Connect your worker to OpenAI
Update client side data fetching
Handle CORS and preflight requests
OpenAI API requests & responses
Create an AI Gateway
Error handling
Create & deploy the Polygon API worker
Fetch the stock data
Download files and push to GitHub
Deploy your site with Cloudflare Pages
Custom domains with Cloudflare
Recap & next steps

Taught by

freeCodeCamp.org

Reviews

Start your review of Introduction to AI Engineering - OpenAI JavaScript Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.