~/talk

Integrating AI into Your Apps: A Developer's Guide to Generative AI APIs

TalkinArabicat DSC MENA 2025 · 2025-04-10..04-12· [ai-assisted-development, api-design]
name:Hany Saad
links:none on file
slides:none on file

A step-by-step developer demo of how to integrate Generative AI into apps using OpenAI Chat Completion API, showing code that builds an HTML chat page and a JavaScript file dropped into a code IDE to create a working conversational widget. Covers concrete implementation details — model choice, temperature, session indexing, error handling, and runtime token counts — includes a quoted cost estimate (~$4 per million tokens), and demonstrates failures (rate errors) and successful live responses rendered in the page.

AI-written summary · about

  1. 0:00AI integration in apps
  2. 12:00Generative AI APIs
  3. 28:54Azure AI setup
  4. 35:31Account and API key
  5. 45:38Chat app with AI
  6. 1:00:52HTML chat page
  7. 1:11:20New sessions and keys
  8. 1:20:53Code improvements
  9. 1:31:11Writing AI prompts
  10. 1:34:43Q&A
~/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.