Skip to content

ISSUE: Integrate Gemini AI for automated song genre and mood tagging #3

@Snehaaanegi

Description

@Snehaaanegi

Description
Right now, song moods and genres must be manually uploaded and assigned. We should automate this pipeline by leveraging Gemini AI to analyze song metadata and lyrics, automatically generating accurate mood and genre tags.

Proposed Solution

  • Set up the Google Gen AI SDK on the backend.
  • Build a robust prompt engineering system that feeds track details to Gemini and requests a structured JSON response.
  • Automatically update the MongoDB document for the track with the AI-generated tags upon upload or discovery.

Todo List

  • Configure Gemini API keys and initialize the SDK in the backend environment.
  • Create a utility function to prompt Gemini and parse structured JSON responses securely.
  • Update the song database schema to accommodate automated tags.
  • Test the accuracy of the AI classifications across multiple test tracks.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions