Skip to content

BaluRao777/Virtual-Assistant-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ™οΈ Rao - AI Voice Assistant

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.


πŸš€ Features

  • 🎀 Voice input using microphone
  • 🧠 AI-generated responses
  • πŸ”Š Text-to-speech output
  • 🌐 Web scraping (fetch website titles)
  • ⚑ Real-time interaction loop

πŸ› οΈ Tech Stack

  • Python 3.x
  • SpeechRecognition (voice input)
  • pyttsx3 (text-to-speech)
  • OpenAI API (AI responses)
  • Requests + BeautifulSoup (web scraping)

πŸ“‚ Project Structure

.
β”œβ”€β”€ main.py
β”œβ”€β”€ requirements.txt
└── README.md

βš™οΈ Installation

1. Clone the repository

git clone <your-repo-link>
cd <your-folder>

2. Install dependencies

pip install -r requirements.txt

πŸ”‘ Setup API Key

Open main.py and replace:

openai.api_key = "YOUR_API_KEY"

with your actual API key.


▢️ Usage

Run the application:

python main.py

Then say:

Rao

The assistant will start listening and respond accordingly.


⚠️ Notes

  • Ensure your microphone is properly configured
  • Update device_index in code if needed
  • Internet connection required for speech recognition and AI responses

🧠 Future Improvements

  • GUI interface (Tkinter / Web app)
  • Wake word detection without manual trigger
  • Multi-language support
  • Integration with APIs (weather, news, etc.)

πŸ“œ License

This project is for educational and experimental purposes.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages