Integrating generative AI into API Platform: Good idea?
summary
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
chapters (15)
- 0:00Introduction
- 3:37What is generative AI
- 4:58AI integration challenges
- 7:05Ethical and legal AI issues
- 8:48PHP AI integration tools
- 10:15Project and database overview
- 11:18OpenAI API setup
- 14:58Custom AI endpoint
- 17:07Demo: AI-generated biography
- 19:15Alternative AI tools
- 19:59Fine-tuning AI models
- 25:03Protecting from AI costs
- 26:03Ethical AI concerns
- 29:52AI ethics reading
- 30:57Closing remarks
related talks
20mPower of OpenAI in API Testing
24mInfuse Generative AI in your apps using
31mThe Impact of AI on APIs: Can AI replace the API Architect?
27mLet’s build an AI-powered API
27mHow AI is Transforming API Design: Case Studies & Insights
24mHow Generative AI Apps Use APIs
01h 26mAutomation of the Automation using GenAI
35mGenerative AI in the real world
