There are three.  Collaborative filtering is what Spotify uses to track user listening patterns and send recommendations of music that the user might enjoy. Natural language processing collects information online to learn about various artists. It then uses this information to recommend songs to users. Audio Models is the final A.I. that Spotify uses. This analyzes each song in detail to learn about what the user likes and then recommends other songs to the user based on this information.