AI platform which self-learns from in-store systems with no need for external servers or cloud architecture