~/talk

Javascript AI Cookbook: Building AI powered product features

Talkat UtahJS Conf 2024 · on Friday, 2024-09-13· [ai-assisted-development, javascript]
slides:none on file

Shows concrete JavaScript recipes: npm install openai plus Postman examples calling GPT-4-mini to generate text and a working Express route that redacts PII by replacing sensitive values with "redacted". Demonstrates scraping HTML, parsing with Cheerio, sending extracted text to the model to produce a structured JSON company record. Covers self‑hosting with olama exposed via an Express endpoint, explains OpenAI function/tool calling with chained calls to fetch missing data, and notes model size, latency, privacy tradeoffs.

AI-written summary · about

  1. 0:00Introduction
  2. 1:29AI in JavaScript apps
  3. 2:53Basic LLM API call
  4. 5:20Redacting sensitive data
  5. 7:24Parsing unstructured data
  6. 10:34Frontier models overview
  7. 11:57Self-hosting models
  8. 13:20Function calling benefits
  9. 18:01Chaining function calls
  10. 18:40AI use cases poll
~/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.