Coder Social home page Coder Social logo

voice_assistant's Introduction

Virtual Assistant

This is a simple virtual assistant program written in Python. It can perform various tasks such as searching on Wikipedia, opening YouTube, and providing weather information.

Prerequisites

  • Python 3.x
  • Required Python packages: pyttsx3, speech_recognition, wikipedia, requests

Installation

  1. Clone the repository or download the source code files.

  2. Install the required Python packages using pip:

Usage

  1. Run the karen_voice_bot.py script:

  2. The virtual assistant will greet you and listen for your commands.

  3. You can interact with the assistant by speaking commands or queries. For example, you can say "Open Wikipedia" to search for a topic on Wikipedia, or "What's the weather in New York?" to get the weather information for a specific location.

  4. The assistant will respond to your commands and perform the requested tasks.

API Key

To use the weather feature, you need to provide an API key from OpenWeatherMap. Set your API key as an environment variable named API_KEY before running the script. For example, on Windows, you can use the command:

Customize and Extend

You can customize and extend the functionality of the virtual assistant by modifying the execute_command method in the VirtualAssistant class. You can add new commands, integrate additional APIs, or enhance the existing features according to your needs.

Contributing

Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.

License

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

voice_assistant's People

Contributors

raul909 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.