Junior is a powerful desktop-based AI assistant built in Python, designed to help with everyday tasks using voice commands. It integrates OpenAI, Spotify, WolframAlpha, Google Calendar, Face Recognition, and much more — all from your own system.
junior-ai-assistant/
├── main.py # Main script with all functionalities
├── haarcascade_frontalface_default.xml
├── trained_model.yml # Face recognition model (needs to be trained separately)
├── label_map.json # Face label mappings
├── junior_memory.json # Assistant memory file
├── requirements.txt # List of dependencies
└── README.md
git clone https://github.com/YourUsername/junior-ai-assistant.git
cd junior-ai-assistant
pip install -r requirements.txt
Update the following placeholders in main.py
:
openai.api_key = 'your-openai-api-key'
WOLFRAMALPHA_APP_ID = 'your-wolframalpha-app-id'
SPOTIPY_CLIENT_ID = 'your-spotify-client-id'
SPOTIPY_CLIENT_SECRET = 'your-spotify-client-secret'
SPOTIPY_REDIRECT_URI = 'your-spotify-redirect-uri'
Install Tesseract for image text reading:
sudo apt install tesseract-ocr
trained_model.yml
.label_map.json
like:{ "0": "YourName" }
Run the assistant:
python main.py
The assistant will:
This project uses multiple APIs and services. Do NOT expose your real API keys or passwords in any public repository.
This project is licensed under the MIT License.
Made with ❤️ by Srajan Jain