Skip to content

koolkarniAtharva/AI-Based-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

🌟 Jarvis AI - Your Personal Smart Desktop Assistant 🚀

Welcome to Jarvis AI, your intelligent, voice-powered desktop assistant. With cutting-edge AI technology, Jarvis transforms your commands into action, bringing ease, efficiency, and fun to your daily tasks. Whether you need to search the web, play music, or engage in a lively chat, Jarvis has got you covered.


🧠 Features

Voice Command Recognition
Effortlessly control Jarvis with your voice for a hands-free experience.

🤖 AI Chatbot Powered by OpenAI GPT
Engage in intelligent conversations and get insightful responses.

🌐 Web Search
Quickly open popular sites like YouTube, Wikipedia, and Google.

🎵 Music Control
Play your favorite tracks directly through voice commands.

Time Telling
Stay updated with the current time on the go.

📂 File Logging
Save conversations and AI responses for future reference.

📱 App Launcher
Open desktop applications like FaceTime and Passky seamlessly.


🚀 Getting Started

Follow these steps to set up Jarvis on your system:

1️⃣ Clone the Repository

git clone https://github.com/your-username/jarvis-ai.git  
cd jarvis-ai  

2️⃣ Install Dependencies

pip install -r requirements.txt  

3️⃣ Configure OpenAI API Key

  1. Sign in to OpenAI's platform.
  2. Generate an API key and add it to a file named config.py:
apikey = "your_openai_api_key"  

4️⃣ Additional Dependencies (Windows Users)

For speech recognition:

pip install pyaudio  

f pyaudio installation fails, download compatible wheels from here:- https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio .

5️⃣ Run Jarvis

python main.py  

💻 Commands You Can Try

🔹 "Open YouTube": Launch YouTube in your browser.

🔹 "Open Wikipedia": Quickly access Wikipedia.

🔹 "Open Google": Start your Google search.

🔹 "Open Music": Play your favorite music.

🔹 "What's the time?": Know the current time.

🔹 "Using artificial intelligence": Explore AI-powered responses.

🔹 "Reset Chat": Clear chat history.

🔹 "Jarvis Quit": Shut down Jarvis.

📂 Project Structure

jarvis-ai/

├── main.py # Main script

├── config.py # API key configuration


🛠️ How It Works

1️⃣ Speech-to-Text: Captures your voice commands and converts them to text using speech_recognition.

2️⃣ AI Processing: Sends your command to OpenAI's GPT model for processing.

3️⃣ Text-to-Speech: Converts AI-generated responses into speech using pyttsx3 or system commands.

🌟 Contributing

We’d love your help in making Jarvis even smarter and cooler!

🔧 Add Features: Extend functionality with new commands.

🛠️ Fix Bugs: Improve stability and performance.

🎨 Enhance UX: Make Jarvis more interactive and intuitive.


To contribute:

1)Fork the repository.

2)Make your changes.

3)Submit a pull request.


🎉 Acknowledgments

🤝 OpenAI for their state-of-the-art language models.

🎤 SpeechRecognition for seamless voice input.

💻 Python for making innovation easy and fun.

🧑‍💻 Made with ❤️ by Atharva Kulkarni

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages