Martian is a voice-controlled AI assistant where all commands and responses are stored in a CSV dataset. This approach teaches readers how to structure data, access it using Python, and make the assistant data-driven - a core concept in machine learning projects. Instead of hard-coding responses, Martian dynamically reads from the CSV to respond to user queries.
This CSV file stores the commands and their corresponding responses. Users can open this CSV to understand how the AI assistant accesses structured data.
All commands and responses are stored in a CSV file, demonstrating how AI systems can be data-driven and easily extensible.
Uses the SpeechRecognition library to convert spoken words into text, allowing hands-free interaction.
Recognizes predefined commands to open websites like Google, YouTube, WhatsApp using Python's webbrowser module.
Some responses like current time or Wikipedia summaries are generated dynamically, making Martian flexible.
User speaks a command such as "Open YouTube" or "What is Python on Wikipedia?".
Martian searches the CSV dataset for a matching command and retrieves the corresponding response.
Martian speaks the response and, if applicable, opens websites or fetches dynamic data like Wikipedia summaries.
No NLP Integration: Commands must match exactly with CSV entries. Martian cannot understand complex natural language.
Predefined Commands: Only commands present in the CSV will be recognized.
Expanded CSV: Add more commands and dynamic responses.
NLP Integration: Use NLP to understand user intent instead of exact command matching.
API Integration: Connect Martian with external APIs for music, weather, or news.
This CSV-driven Martian AI assistant teaches readers how to use structured data to build a real-time, voice-controlled assistant. It demonstrates the basics of AI workflows, dynamic responses, and data-driven design in Python.