MASH - Smart Assistant
Description:
MASH, the Multi-functional Assistant for System and Health, is an intelligent virtual assistant designed to enhance user interaction through speech recognition and text-to-speech conversion. With MASH, users can seamlessly access system information, health assistance, date and time updates, and engage in casual conversation.
Features:
-
Speech Recognition 🎤:
- MASH employs advanced speech recognition technology to accurately interpret spoken commands from users.
- Users can interact with MASH naturally, without the need for manual input.
-
Text-to-Speech Conversion 🗣️:
- MASH utilizes text-to-speech conversion to provide responses audibly.
- Users receive clear and natural-sounding responses, enhancing the interactive experience.
-
System Information 🖥️:
- MASH retrieves vital system information, including CPU usage, battery percentage, and memory usage.
- Users can easily monitor their system's performance and status in real-time.
-
Date and Time Updates 📅⏰:
- MASH provides accurate updates on the current date and time.
- Users can stay informed about the current date and time without needing to check manually.
-
Health Assistance 🩺:
- MASH offers valuable advice and guidance for common health issues.
- Users can seek recommendations for managing headaches, coughs, fevers, and other ailments.
-
Generic Responses 🤖:
- MASH generates appropriate responses for generic queries, ensuring a smooth interaction flow.
- Users receive helpful and relevant responses, even for queries outside specific categories.
-
Affirmative Gestures ✅:
- MASH understands affirmative gestures in user queries, allowing for seamless interaction.
- Users can confirm requests or statements naturally, enhancing the conversational experience.
-
Custom Responses 🔄:
- MASH provides custom responses for specific queries, tailored to user preferences.
- Users receive personalized responses based on the context of their inquiries.
-
Error Handling 🚨:
- MASH includes robust error handling to gracefully manage unexpected errors.
- Users are informed and guided through any issues that may arise during interaction.
-
User-Friendly Interaction 🤝:
- MASH greets users with a welcoming message upon startup, fostering a friendly and inviting atmosphere.
- Users can engage in casual conversation with MASH, creating an enjoyable and interactive experience.
Code Explanation:
- The code utilizes Python libraries such as
pyttsx3
for text-to-speech conversion andspeech_recognition
for speech recognition. - User queries are processed using conditional statements, directing the program to appropriate functions based on the nature of the query.
- Specific functions retrieve system information, provide health assistance, and handle various types of queries.
- Error handling mechanisms ensure that the program responds gracefully to unexpected errors, enhancing user experience and reliability.