TinyML is an incredibly powerful piece of software, and you can easily train your own model and deploy it on an ESP32.
Suppose you are prompted to write a Python program that interacts with a user in a console window. You may be accepting input to send to a database, or reading numbers to use in a calculation.