Coder Social home page Coder Social logo

guptakushal03 / virtual-voice-assistant Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 10 KB

This Python script creates a voice-controlled desktop assistant capable of performing tasks such as opening websites, launching applications, displaying the current time, and engaging in chat conversations using OpenAI's GPT-3.5 model. It offers a seamless switch between desktop assistant mode and AI chat mode for enhanced user interaction.

Python 100.00%
desktop-automation gpt-3 openai speech-recognition text-to-speech voice-assistant chatbot-integration

virtual-voice-assistant's Introduction

Voice-Controlled Desktop Assistant with AI Chat Integration

This Python script creates a voice-controlled desktop assistant with additional features for interacting with OpenAI's GPT-3.5 model for AI-driven chat conversations. The assistant utilizes various libraries and modules for speech recognition, text-to-speech conversion, web browsing, application launching, and interaction with external APIs.

Features

  • Voice recognition and speech synthesis for user interaction.
  • Opening websites (e.g., YouTube, Google) based on user commands.
  • Displaying the current time upon request.
  • Launching applications (e.g., Chrome, VS Code, Word) based on user commands.
  • Integration with OpenAI's GPT-3.5 model for AI-driven chat conversations.
  • Seamless switching between desktop assistant mode and AI chat mode.

Requirements

  • Python 3.x
  • Libraries: speech_recognition, win32com, webbrowser, datetime, subprocess, os, openai

Usage

  1. Clone the repository or download the Python script.
  2. Install the required libraries using pip: pip install -r requirements.txt.
  3. Obtain OpenAI API key and replace the placeholder in the script with your actual key.
  4. Run the Python script: python desktop_assistant.py.
  5. Follow the voice prompts and give commands to interact with the assistant or engage in AI chat conversations.

Configuration

  • Replace the placeholder OpenAI API key with your actual key.
  • Customize the list of supported websites and applications according to your preferences.
  • Adjust voice recognition parameters or error handling mechanisms as needed.

Contributing

Contributions to enhance the functionality, improve code quality, or fix bugs are welcome. Please fork the repository, make your changes, and submit a pull request.

Disclaimer

This script is provided for educational and demonstration purposes only. Use it responsibly and be mindful of privacy and security considerations while interacting with external services and APIs.

virtual-voice-assistant's People

Contributors

guptakushal03 avatar

Stargazers

 avatar

Watchers

 avatar  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.