AI playlist generator
Today, I made a Python script that takes your prompt and generates a playlist on Spotify based on that prompt.
First off, thanks to for pointing me to the Mastering OpenAI Python APIs: Unleash ChatGPT and GPT4 course on Udemy. I've been doing non-stop exercises and am three quarters done.
Colt Steele, the instructor, explained how he implemented the playlist generator. I did not code along. Instead, I listened, made notes and tried to understand. That was yesterday. Today, I did a closed book re-implementation and it worked.
Lessons learned:
  1. leverage the LLM's ability to respond with structured output
  2. prompt engineering is not dead
  3. speaking of prompt engineering: when you get a good response from the LLM, copy it into the prompt as an example to follow
  4. most of the coding is the glue between the LLM's response and the service's API
  5. UX is not dead: I showed my playlist generator from the terminal to my girlfriend. she shuddered and said: "no way am I ever going to use that" 🤷‍♂️
4
1 comment
Marco Bottaro
7
AI playlist generator
Data Alchemy
skool.com/data-alchemy
Your Community to Master the Fundamentals of Working with Data and AI — by Datalumina®
Leaderboard (30-day)
Powered by