How AI taps data to make ecommerce more dynamic