Loading repository data…
Loading repository data…
MrAliHasan / repository
Sophia AI Assistant is a Python-based desktop AI that performs a variety of tasks, including answering questions, opening applications, browsing websites, and making calls via phone or WhatsApp. It uses the Hugging Face API for responses and offers activation via voice, text input, or a keyboard shortcut.
Sophia is a desktop AI assistant built using Python that can perform various tasks such as answering questions like ChatGPT, opening desktop applications, browsing websites, and even making phone and WhatsApp calls. This project is designed to be versatile and extensible, with the ability to add more functionalities easily. It integrates the Hugging Face API, a free ChatGPT alternative to simulate conversation, and offers multiple activation methods for user commands.
You can check out the demo by clicking on the below image
Make sure you have Python installed. Then, install the following packages:
beautifulsoup4==4.12.3
blinker==1.8.2
bottle @ git+https://github.com/bottlepy/bottle.git@3fdb8b2a2e0d1641374b53ef2b051fe7f54508b5
bottle-websocket==0.2.9
certifi==2024.7.4
cffi==1.16.0
charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6
comtypes==1.4.4
Eel==0.16.0
enum34==1.1.10
Flask==3.0.3
future==1.0.0
gevent==24.2.1
gevent-websocket==0.10.1
greenlet==3.0.3
hugchat==0.4.8
idna==3.7
itsdangerous==2.2.0
Jinja2==3.1.4
MarkupSafe==2.1.5
MouseInfo==0.1.3
numpy==2.0.0
pillow==10.4.0
playsound==1.2.2
pocketsphinx==5.0.3
psutil==6.0.0
pvporcupine==1.9.5
PyAudio==0.2.14
PyAutoGUI==0.9.54
pycparser==2.22
PyGetWindow==0.0.9
PyMsgBox==1.0.9
pyparsing==3.1.2
pyperclip==1.9.0
pypiwin32==223
PyRect==0.2.0
PyScreeze==0.1.30
pyttsx3==2.90
pytweening==1.2.0
pywhatkit==5.4
pywin32==306
requests==2.32.3
requests-toolbelt==1.0.0
setuptools==70.2.0
sounddevice==0.4.7
soupsieve==2.5
SpeechRecognition==3.10.4
typing_extensions==4.12.2
urllib3==2.2.2
Werkzeug==3.0.3
whichcraft==0.6.1
wikipedia==1.4.0
zope.event==5.0
zope.interface==6.4.post2
Clone the Repository:
git clone https://github.com/yourusername/sophia-ai-assistant.git
cd sophia-ai-assistant
To install the necessary dependencies and set up the API and database, I recommend checking out my YouTube tutorial series where I walk you through the entire process of building an AI assistant.
There are several ways to activate Sophia:
Window + J to activate the assistant.Ask Sophia questions, and she'll answer using the Hugging Face API, a free ChatGPT alternative. Example: "Tell me about yourself"
Feel free to open issues or submit pull requests to improve the project. Contributions are welcome, whether it’s adding new features, fixing bugs, or improving documentation.
If you have any suggestions or want to request additional features, leave a comment on the YouTube tutorial series. Your feedback is highly appreciated!