Skip to content

ishivanshh/virtual_assistant-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

PYTHON Virtual Assistant

A Python-based virtual assistant that can perform various tasks through voice commands.

Features

  • Voice command recognition
  • Time and date information
  • Weather updates (API KEY)
  • Wikipedia searches
  • News updates (NEWS API)
  • YouTube song playback
  • Website opening
  • Mathematical calculations
  • WhatsApp messaging
  • OpenAI-powered question answering (OPEN AI KEY)

Requirements

  • Python 3.8 or higher
  • Required Python packages (see requirements.txt)
  • API keys for:
    • OpenWeatherMap (Weather API)
    • News API
    • OpenAI API
  • WhatsApp Web setup for messaging functionality

Setup

  1. Clone the repository:
git clone https://github.com/yourusername/fifa-virtual-assistant.git
cd fifa-virtual-assistant
  1. Install required packages:
pip install -r requirements.txt
  1. Create a .env file in the project root with your API keys:
WEATHER_API_KEY=your_weather_api_key
NEWS_API_KEY=your_news_api_key
OPENAI_API_KEY=your_openai_api_key
  1. Run the assistant:
python virtual_assistant.py

Usage

The assistant responds to various voice commands:

  • "What time is it?" - Get current time
  • "What's today's date?" - Get current date
  • "Weather in [city]" - Get weather information
  • "Wikipedia [topic]" - Search Wikipedia
  • "What's the news?" - Get latest news
  • "Play [song name]" - Play song on YouTube
  • "Open [website]" - Open specified website
  • "Calculate" - Perform mathematical calculations
  • "Send WhatsApp message" - Send WhatsApp message
  • "Ask [question]" - Get answer using OpenAI

Contributing

Feel free to submit issues and enhancement requests!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages