Week 13-14
This week, we discovered that Spotify had changed their terms and conditions, which meant that the spotify API which we had relied upon is now unusable. This meant that the beat analysis, sentiment analysis, and other data we relied upon with our software had now become unusable.
Therefore, we switched to using youtube as the audio file and analyse the mp3 directly from the data.
Tested various LLM models but Gemma 2 9b seemed to be the best out of the offline models we tested with. The python compilation still did not work so switched to using C++ implementation with OpenVINO C++ instead. This lacked a lot of documentation as OpenVINO mainly focussed on python examples and the cmake configuration did not work correctly. However, a new release of the OpenVINO runtime for 2025 came with new sample and documentation which allowed us to fix the cmake files, correctly configuring the OpenVINO GenAI library with the Gemma model.
This week we also managed to control our Hue lights through our application over the v2 HTTP web api. This was a huge milestone however we noticed that when trying to sync this with the beat, we were being rate limited, so we had to come up with a different solution.