Adding AI to a project is mostly dependency work
Yesterday I set up Sulu AI Intelligent Search live on Never Code Alone with Roland Golla, starting from an existing Sulu project. The feature itself was a few commands: ingest the content, ask a question, get an answer. The time went into the project around it: a PHP version that was too old, outdated symfony/ai packages, a Sulu release pinned to an old version, and a role permission that hid the AI buttons until it was ticked. None of that is specific to AI. It’s what any new bundle meets in a project that has lived for a while. That’s what I find interesting: the intelligent part is the easy part, and how well it goes depends on how up to date the project underneath is.
On https://www.youtube.com/live/MeEc4jjn10w
// MORE SHORTS
A test that saves object numbers tests PHP, not your code →
One added line in a Symfony AI pull request broke 25 tests without any assertion changing. The tests were checking something nobody meant to check.
// MORE SHORTS
Who Symfony's new bundles are actually for →
Symfony 8.2 is moving configuration out of FrameworkBundle and into 29 bundles shipped by the components that actually own it: Messenger, HttpClient, Cache, Scheduler, PropertyInfo and many others.