Rao is a Python-based AI voice assistant that listens to user input, processes it using an AI language model, and responds with synthesized speech. It also supports basic web interaction such as fetching website titles.
- π€ Voice input using microphone
- π§ AI-generated responses
- π Text-to-speech output
- π Web scraping (fetch website titles)
- β‘ Real-time interaction loop
- Python 3.x
- SpeechRecognition (voice input)
- pyttsx3 (text-to-speech)
- OpenAI API (AI responses)
- Requests + BeautifulSoup (web scraping)
.
βββ main.py
βββ requirements.txt
βββ README.md
git clone <your-repo-link>
cd <your-folder>
pip install -r requirements.txt
Open main.py and replace:
openai.api_key = "YOUR_API_KEY"
with your actual API key.
Run the application:
python main.py
Then say:
Rao
The assistant will start listening and respond accordingly.
- Ensure your microphone is properly configured
- Update
device_indexin code if needed - Internet connection required for speech recognition and AI responses
- GUI interface (Tkinter / Web app)
- Wake word detection without manual trigger
- Multi-language support
- Integration with APIs (weather, news, etc.)
This project is for educational and experimental purposes.