How does embedded AI work?