Created a langchain dj gpt agent thanks to lablabai workshops guided by Hai Nghiem
Technologies used: Langchain React Agent, Spotipy and spotify api
RE- Reasoning ACT - Act after reasoning
Go to developer.spotify.com Create new app and obtain the clientID and client secret from the basic information tab Other fields include redirect url
Go to the openai official page and obtain an API key
Stores all the constants needed in your app e.g The llm model to be used
Here we build functions to initialize our langchain agent
We connect to our spotify and create helper functions that will be used in our tools
Utilize our helper functions to create tools to be used by our AGENT
Used to run our langchain dj gpt agent
clone the repo
create a virtual environment
pip install -r requirements.txt
create a .env folder to store all your api keys and secretive information that you don't wanna share
run the main.py