scrimba
AI Engineering
AI Agents
Prompt Engineering 101
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Prompt Engineering 101
AboutCommentsNotes
Prompt Engineering 101
Expand for more info
index.js
run
preview
console
import OpenAI from "openai"

export const openai = new OpenAI({
apiKey: process.env.OPENAI_API_KEY,
dangerouslyAllowBrowser: true
})

Console
/index.html
-5:51