Personally I don’t know if this is a good practice, but you (and future me) might like it.
PHP
Run AI in the Browser: A Practical Guide to Transformers.js
Transformers.js lets you run AI models directly in the browser without a backend, API keys, or an internet connection after the model is cached. The article explores how it works, which models are available, and Read more…