Skip to content

Sophyia7/mood-recommender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎵 Qdrant Spotify Mood-Based Song Recommender

A hackathon project for the Qdrant Hackathon that recommends Spotify songs based on your mood using vector similarity search!


🚀 What is this?

This is a Streamlit web app that lets you enter your mood in plain text (e.g., "chill but a little sad", "gym pump", "romantic dinner") and instantly get a list of Spotify tracks that match your vibe.

  • Vector Search: Uses Qdrant as a vector database to find similar songs.
  • Embeddings: Converts your mood description into an embedding and finds the closest songs.
  • CrewAI: Orchestrates the workflow using CrewAI agents and tools.
  • Spotify Data: All song metadata comes from Spotify.

🛠️ How does it work?

  1. You enter your mood in the app.
  2. CrewAI agents analyze your mood and trigger a vector search.
  3. Your mood is embedded and compared to song embeddings in Qdrant.
  4. The most similar songs are returned, with Spotify links for easy access.

🧩 Tech Stack


⚡ Quickstart

  1. Clone this repo
  2. Install dependencies
    pip install -r requirements.txt
  3. Set up your environment
    • Add your Spotify API credentials, Qdrant cluster ID and API key and Gemini LLM or you can use models from Ollama to a .env file.
  4. Run the app
    streamlit run app/app.py

📝 Notes

  • This project was built in a short time for the Qdrant Hackathon!
  • The code uses CrewAI for agent-based orchestration and Qdrant for fast similarity search.
  • All song data is from Spotify and is for demo purposes only.

🙏 Credits


💡 Hackathon Spirit

Built with 💚 for the Qdrant Hackathon.
Feel free to fork, remix, and build on!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages