How to build any AI-driven smart service