Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 2 KB

README.md

File metadata and controls

59 lines (38 loc) · 2 KB

AI Assistant with Voice Recognition

This is a Python-based AI assistant with voice recognition capabilities. The assistant can perform a variety of tasks, including answering questions, playing songs on YouTube, providing weather updates, and fetching and reading out the latest news headlines.

Features

  • Voice recognition for user interactions.
  • Responds to voice commands for various tasks.
  • Fetches weather information for a specific city.
  • Retrieves and reads out the latest news headlines.
  • Opens websites, plays songs on YouTube, and performs various web-based tasks.
  • Sends emails (requires email account setup and authorization).
  • Basic chatbot capabilities for general conversations.

Usage

To use the AI assistant, follow these steps:

  1. Install the required Python libraries by running:

  2. Replace 'YOUR_API_KEY' in the code with your actual API keys for the weather and news APIs.

  3. Run the script using Python:

  4. Interact with the assistant using voice commands and queries.

Prerequisites

  • Python 3.x
  • API keys for weather and news services (replace 'YOUR_API_KEY' with your actual keys).

Dependencies

  • pyttsx3 for text-to-speech conversion.
  • speech_recognition for voice recognition.
  • wikipedia for querying Wikipedia.
  • webbrowser for web-related tasks.
  • requests for making HTTP requests.
  • beautifulsoup4 (bs4) for web scraping.
  • smtplib for sending emails.
  • python_weather for weather information.
  • asyncio for asynchronous operations.
  • selenium for web automation.

Customize and Extend

Feel free to customize and extend the AI assistant by adding more voice commands and features, such as home automation, reminders, personalized recommendations, and more.

License

This project is open-source and available under the MIT License. See the LICENSE file for details.

Author

[Musa Tahawar]

Acknowledgments

  • The code is based on various libraries and APIs, and we thank their respective developers and contributors for their work.