Skip to content

MaSh - Smart Assistant

Latest
Compare
Choose a tag to compare
@BOSS294 BOSS294 released this 21 Mar 15:04
· 11 commits to main since this release
a6a6937

0 04 mash

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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. Health Assistance 🩺:

    • MASH offers valuable advice and guidance for common health issues.
    • Users can seek recommendations for managing headaches, coughs, fevers, and other ailments.
  6. 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.
  7. Affirmative Gestures ✅:

    • MASH understands affirmative gestures in user queries, allowing for seamless interaction.
    • Users can confirm requests or statements naturally, enhancing the conversational experience.
  8. Custom Responses 🔄:

    • MASH provides custom responses for specific queries, tailored to user preferences.
    • Users receive personalized responses based on the context of their inquiries.
  9. 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.
  10. 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 and speech_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.