~/talk

Integrating generative AI into API Platform: Good idea?

Talkat phpday 2025 · 2025-05-15..05-16· [ai-assisted-development, php]
slides:none on file

An API Platform endpoint is wired to OpenAI via Symfony HTTP client, a service and a state processor that POSTs to GPT‑4‑mini and stores generated biographies in the person entity; it works locally and on production at ~160 records but has no caching, exposed latency and cost. The code persists biographies and keeps a generated prompt not persisted field for clients. Claims include fine‑tuning smaller models outperfoming much larger ones and warnings about resource use and bias.

AI-written summary · about

  1. 0:00Introduction
  2. 3:37What is generative AI
  3. 4:58AI integration challenges
  4. 7:05Ethical and legal AI issues
  5. 8:48PHP AI integration tools
  6. 10:15Project and database overview
  7. 11:18OpenAI API setup
  8. 14:58Custom AI endpoint
  9. 17:07Demo: AI-generated biography
  10. 19:15Alternative AI tools
  11. 19:59Fine-tuning AI models
  12. 25:03Protecting from AI costs
  13. 26:03Ethical AI concerns
  14. 29:52AI ethics reading
  15. 30:57Closing remarks
~/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.