π€ JARVIS Python Assistant
A smart, AI-powered personal assistant built in Python using NLP and Machine Learning. This JARVIS can understand text commands, classify user intents, and provide intelligent responses.
β¨ Features
Intent Recognition: Deep learning model classifies user input.
Custom Commands: Easily configurable via intents.json.
Dynamic Responses: Replies intelligently based on detected intent.
Offline Capabilities: Works without internet for text commands.
Extensible: Add new commands, APIs, or voice features.
π‘ Example Commands Category Example Commands Greetings "Hello", "Hi JARVIS" Questions "What time is it?", "Whatβs the date?" Fun Responses "Tell me a joke", "How are you?" Personal Assistance "Add a task", "Remind me of something"
Easily add more commands by editing intents.json and retraining the model.
βοΈ Installation
Clone the repository:
git clone https://github.com/Fourat4AT/Jarvis-Python-Assistant.git cd Jarvis-Python-Assistant
Install dependencies:
pip install -r requirements.txt
π§ Training the Model
If you add new commands or intents:
python model_train.py
This retrains the model to recognize new intents.
Start the assistant:
python main.py
Type your commands and get intelligent responses.
π Potential Improvements
Voice Input/Output: Use SpeechRecognition & pyttsx3.
API Integrations: Weather, news, reminders, calendar, Wikipedia.
GUI Interface: Make it interactive with a simple GUI.
Advanced AI: Connect with large language models for richer conversation.
π Project Structure Jarvis-Python-Assistant/ βββ main.py βββ model_train.py βββ model_test.py βββ intents.json βββ chat_model.h5 βββ tokenizer.pkl βββ label_encoder.pkl βββ README.md βββ requirements.txt
π License
Free to use for learning, personal projects, or as a base for your own AI assistant.