Complete AI Training
Sign inGet my AI kit

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

Video course · 15 chapters · 151 min · certificate

Intro to AI Engineering – OpenAI JavaScript Tutorial

Scrimba's intro to AI engineering in JavaScript: a stock-prediction app built with the Polygon and OpenAI APIs, covering models, the messages array, prompt engineering, tokens, temperature, few-shot, stop sequences, penalties, fine-tuning, DALL-E 3, AI safety, and secure deployment with Cloudflare Workers, AI Gateway and Pages.

What you'll learn

  • Call the OpenAI API with the messages array
  • Apply prompt engineering, few-shot and temperature
  • Control output with tokens, stop sequences and penalties
  • Fine-tune models and generate images with DALL-E 3
  • Apply AI safety best practices
  • Deploy securely with Cloudflare Workers, AI Gateway and Pages

Chapters

15 chapters · 150:44
  1. 10:22 01Setup Members AI engineering basics and API keys Stock predictions app.
  2. 8:36 02API Members How the API works Models and instances.
  3. 11:47 03Messages Members The messages array and models System, user, assistant.
  4. 9:42 04Prompts Members Prompt engineering and adding AI to the app Design inputs.
  5. 11:56 05Settings Members Tokens, playground and temperature Cost and creativity.
  6. 8:10 06Few-shot Members The few-shot approach Teach by example.
  7. 6:16 07Control Members Stop sequences and penalties When to stop.
  8. 10:00 08Fine-tune Members Fine-tuning Adjust the weights.
  9. 10:57 09DALL-E 3 Members Images with DALL-E 3 Generate images.
  10. 5:32 10Safety Members Introduction to AI safety Know the risks.
  11. 12:24 11Secure Members Safety best practices and Cloudflare Workers Protect your app.
  12. 8:46 12Worker Members Connecting the worker to OpenAI Server-side calls.
  13. 12:25 13Gateway Members CORS, preflight and AI Gateway Cache and limit.
  14. 9:33 14Robustness Members Error handling and the Polygon worker Consistent responses.
  15. 14:18 15Deploy Members Deploying with Cloudflare Pages Ship it.

Jobs this course suits

Our AI checked this course against 500 jobs; these get the most out of it. Each job links to its learning path.