This is a simple virtual assistant application named "Alexa" built using Python. It allows users to interact with their computer by speaking commands prefixed with the keyword "Alexa". The assistant utilizes various Python modules such as datetime, speech recognition, pyttsx3, and Wikipedia for different functionalities.
- Voice-activated commands using the keyword "Alexa".
- Perform tasks such as retrieving information from Wikipedia, telling the current time, and more.
- Output responses both as voice and text.
- Python 3.x
- datetime
- SpeechRecognition
- pyttsx3
- Wikipedia
-
Clone the repository:
git clone https://github.com/jmugambwa1/Virtual-Assistant-Alexa-.git
-
Navigate to the project directory:
cd Virtual-Assistant-Alexa-
-
Install dependencies:
pip install -r requirements.txt
-
Run the following command:
python main.py
-
The virtual assistant will start listening for commands.
-
Speak a command prefixed with the keyword "Alexa". For example, "Alexa, what is the current time?".
-
The assistant will recognize the command, process it, and respond with the appropriate information both audibly and in text format.
- "Alexa, what is the current time?"
- "Alexa, tell me about "
- Feel free to extend the functionality by adding more commands and features to the codebase.
This project is licensed under the MIT License.
- Thanks to the developers of datetime, SpeechRecognition, pyttsx3, and Wikipedia modules for providing the tools necessary to build this application.
- Inspiration for this project came from the need for a simple virtual assistant similar to popular voice-controlled assistants.
Contributions are welcome! If you have any suggestions or improvements, feel free to open an issue or create a pull request.
Joel Mugambwa (https://github.com/jmugambwa1)