This is a Python script that functions as a personal assistant, capable of performing various tasks using voice commands. It interacts with the user through speech recognition and text-to-speech conversion.
- Monitors speech for wake-up command ("hello robot").
- Retrieves and reads upcoming events from your Google Calendar.
- Takes notes and saves them to text files.
- Opens Google, LinkedIn, and Spotify websites upon command.
- Responds to "goodbye" to exit the assistant.
- Python 3.x
- Install required packages using:
- Clone this repository to your local machine.
- Set up Google Calendar API and obtain
credentials.json
file. - Run the script using the command
python assistant.py
.
- Say "hello robot" to wake up the assistant.
- Ask about your upcoming events using phrases like "What do I have today?", "Do I have plans tomorrow?", etc.
- Take notes by saying "Take note" or "Write down" followed by the content.
- Open Google, LinkedIn, or Spotify websites by using respective commands.
- Say "goodbye" to exit the assistant.
- Make sure you have a working microphone for speech recognition.
- Google Calendar API requires authentication. Follow the script's instructions to set it up.
- The assistant will respond to specific wake-up and command phrases.
- Feel free to customize and expand the assistant's functionality as needed.
This project is licensed under the MIT License - see the LICENSE file for details.