Skip to content

lolpanda2004/Spotify-playlist-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Spotify Playlist AI Chat

Quickly summarizes the contents of Spotify tracks in a public playlist and answers questions based on it.

Running the tool

  1. Create a .env file in the root directory of the project. Replace the placeholders with your actual keys:

    OPENAI_API_TOKEN={OPENAI_API_KEY}
    SPOTIPY_CLIENT_ID={your_spotify_client_id}
    SPOTIPY_CLIENT_SECRET={your_spotify_client_secret}
    EMBEDDER_LOCATOR=text-embedding-ada-002
    EMBEDDING_DIMENSION=1536
    MODEL_LOCATOR=gpt-3.5-turbo
    MAX_TOKENS=200
    TEMPERATURE=0.0
    
    

Prerequisites

Python Installation

Make sure that Python 3.10 or above is installed on your machine.

Pip Installation

Download and Install Pip to manage project packages.

OpenAI API Key

Create an OpenAI account and generate a new API Key. To access the OpenAI API, follow these steps:

Spotify Developer Account

Create a Spotify Developer account and generate a new Client ID and Client Secret. To access the Spotify API, follow these steps:

Follow these steps to install and get started with the application.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published