How to build customised retail software with AI