A tool to discover and describe music tracks using AI.
Project description
DJ-GPT
DJ-GPT is an open-source Python application designed to integrate natural language processing with music discovery, utilizing Spotify's library and OpenAI's GPT models. You can find the official documentation here.
Installation
Prerequisites
Ensure you have:
- Python 3.9 or newer installed.
- Poetry installed for dependency management.
- Spotify Developer Account to obtain API keys.
- OpenAI Account to obtain API keys.
Clone the Repository
git clone https://github.com/biokraft/dj-gpt.git
cd dj-gpt
Install dependencies
poetry install
Configuration
API KEYS
Spotify API Key
Sign up or log in at Spotify Developer Dashboard. Create an app to obtain Client ID and Client Secret.
Set environment variables:
export SPOTIFY_CLIENT_ID='your_client_id'
export SPOTIFY_CLIENT_SECRET='your_client_secret'
OpenAI API Key
Obtain an API key by registering at OpenAI. Set the API key as an environment variable:
export OPENAI_API_KEY='your_openai_api_key'
Contributing
Contributions are welcome! Please fork the project and submit pull requests with your suggested changes.
License
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.