Skip to content

Creating a Real Life Personal Ai Assistant πŸ€– | Python 🐍

Notifications You must be signed in to change notification settings

widushan/Personal-AI-Assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Personal AI Assistant πŸ€–

Creating a Real Life Personal Ai Assistant | Python 🐍

A sophisticated AI-powered personal assistant built with Python, featuring voice recognition, text-to-speech, real-time search capabilities, and a modern GUI interface.

🌟 Features

  • Voice Recognition: Real-time speech-to-text conversion
  • Text-to-Speech: Natural voice responses
  • Real-time Search: Web search capabilities for up-to-date information
  • Image Generation: AI-powered image creation
  • Modern GUI: Beautiful PyQt5-based interface with dark theme
  • Chat Interface: Interactive conversation with message history
  • Automation: Task automation capabilities
  • Multi-modal: Support for text, voice, and image interactions

πŸš€ Quick Start

Prerequisites

  • Python 3.8 or higher
  • Windows 10/11 (recommended)
  • Microphone and speakers

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/Personal-AI-Assistant.git
    cd Personal-AI-Assistant
  2. Create virtual environment

    python -m venv venv
    venv\Scripts\activate  # On Windows
  3. Install dependencies

    pip install -r requirements.txt
  4. Set up environment variables

    • Create a .env file in the project root
    • Add your API keys and configuration:
    Assistantname=Zyra
    # Add other API keys as needed
  5. Run the application

    python Main.py

Screenshots

Image Image

πŸ“ Project Structure

Personal-AI-Assistant/
β”œβ”€β”€ Backend/                 # Core AI functionality
β”‚   β”œβ”€β”€ Chatbot.py          # Main chatbot logic
β”‚   β”œβ”€β”€ SpeechToText.py     # Voice recognition
β”‚   β”œβ”€β”€ TextToSpeech.py     # Voice synthesis
β”‚   β”œβ”€β”€ ImageGeneration.py  # AI image creation
β”‚   β”œβ”€β”€ RealtimeSearchEngine.py  # Web search
β”‚   β”œβ”€β”€ Automation.py       # Task automation
β”‚   └── Model.py            # AI model management
β”œβ”€β”€ Frontend/               # User interface
β”‚   β”œβ”€β”€ GUI.py             # PyQt5 GUI implementation
β”‚   β”œβ”€β”€ Graphics/          # UI assets and icons
β”‚   └── Files/             # Temporary data files
β”œβ”€β”€ Data/                  # Application data
β”œβ”€β”€ Main.py               # Application entry point
└── requirements.txt      # Python dependencies

🎯 Usage

Voice Commands

  • Click the microphone icon to start voice interaction
  • Speak naturally - the assistant will process and respond
  • Use voice commands for hands-free operation

Chat Interface

  • Switch to Chat tab for text-based conversations
  • View conversation history
  • Send messages and receive AI responses

Features Available

  • General Questions: Ask about any topic
  • Web Search: Get real-time information
  • Image Generation: Create AI-generated images
  • Task Automation: Automate repetitive tasks
  • Voice Interaction: Natural conversation

πŸ› οΈ Configuration

Environment Variables

Create a .env file with the following variables:

Assistantname=Zyra
# Add your API keys here

Customization

  • Modify Assistantname in .env to change the assistant's name
  • Customize the GUI appearance in Frontend/GUI.py
  • Add new features in the Backend/ directory

πŸ“¦ Dependencies

Key dependencies include:

  • PyQt5 - GUI framework
  • speech_recognition - Voice recognition
  • pyttsx3 - Text-to-speech
  • requests - Web requests
  • python-dotenv - Environment variables

See requirements.txt for the complete list.

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • OpenAI for AI capabilities
  • PyQt5 community for GUI framework
  • Python community for excellent libraries
  • All contributors and testers

πŸ“ž Support

If you encounter any issues or have questions:

  1. Check the Issues page
  2. Create a new issue with detailed information
  3. Contact the maintainers

πŸ”— Links


Made with ❀️ by [widushan]

Creating the future of personal AI assistance, one conversation at a time.

About

Creating a Real Life Personal Ai Assistant πŸ€– | Python 🐍

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published