Hello! developers Meet Win your Personal PC ASSISTANT which is made for Windows. And the most interesting is that. It is Open source and full Coustmizable as per your need.
This project utilizes a Rule-Based approach, employing a series of if-else statements to make decisions and generate responses based on input conditions. It also use Threading for multiple threading and schedule for scheduling events and other scripts.
Note
The rule_based_ai function takes user input (input_data) and applies a series of if-else statements to determine the appropriate response. Each if-else block represents a rule. For instance, if the input contains the word "hello," the AI responds with a greeting. If it contains "bye," the AI bids farewell. If "weather" is present, the AI provides a weather-related response. If none of these conditions are met, a default response is given. You can customize and extend this logic to suit the specific requirements of your AI. Consider adding more rules, incorporating additional conditions, or adjusting the responses based on your project's objectives.
def rule_based_ai(input_data):
# Example rules
if "hello" in input_data:
return "Hi there! How can I help you?"
elif "bye" in input_data:
return "Goodbye! Have a great day."
elif "weather" in input_data:
return "The weather is currently sunny and warm."
else:
return "I'm sorry, I didn't understand that. Can you please provide more information?"
# Example Usage
user_input = input("User: ")
response = rule_based_ai(user_input)
print("AI:", response)
- Web Automation
- Weather Reports
- Schedule Whatsapp message and Emails
- Events Alerts!
- Generative Chat
- And more..
- Windows 10 or Above
- Python 3.11.6
- Google credentials(for API's)
- Gemini API Key
- Weather API Key
Tip
- Minimum (8GB)Ram for fast processing
-
APIs
- Gemini Pro/Pro Vision
- News API
- Google Calendars
- Google Gmail
-
Libraries
- pyttsx3
- selenium
- schedule
- nltk
- webdriver-manager
- word2number
- requests
- tk-tools
- SpeechRecognition
Download the zip file or Use git clone
to clone my project.
git clone https://github.com/vibhasdutta/PC-ASSISTANT.git
Unzip the File and open cmd
or powershell
and run the command.
pip install -U -r requirements.txt