~/talk

"EASILY level up your website using the ChatGPT API and NextJS"

Talkat Frontrunners 2024 · on Friday, 2024-03-08· [ai-assisted-development, react]
github:jimbeck
slides:none on file

Shows how to wire the ChatGPT API into a NextJS app, create an API key, and handle pricing (examples given: $10 per million input / $30 per million output for the newest model) while avoiding runaway costs and prompt injections. Builds a tiny Minecraft site that maps first letter + birth month to a block, iterates prompts for concise, consistent replies, and actually emails users monthly — users pay for it. Notes growing context windows up to 1 million tokens and that deployment deploys in <30s.

AI-written summary · about

  1. 0:00ChatGPT and NextJS intro
  2. 2:51Why large language models matter for developers
  3. 4:39Minecraft block demo
  4. 5:00LLM terms and tokens
  5. 8:55OpenAI API setup
  6. 10:21NextJS for LLM
  7. 11:47API route handler
  8. 12:30Frontend with React
  9. 13:54Frontend to ChatGPT
  10. 14:58Prompt engineering
  11. 16:03Advanced prompts
  12. 17:06Deploy to production
  13. 18:11Summary and next steps
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.