Giter Club home page Giter Club logo

voice_assistant_era's Introduction

Simple voice assistant program made with simple if-else statements 🗣️


🔸 credentials.json 📔

For getting access from Google Contacts using Gmail API 👥 📧 📲

After generating Gmail API, the CLIENT CONFIGURATION will be saved as credentials.json. It should be kept in the working directory. otherwise contacts details can't be fetched from Google Contacts.

🔸 token.pickle 📝

All the details will be saved in token.pickle file and no further retrieving will be occurred if there is no change.

🔸 era_ai.py 👤

All the tasks (possible by Era) are following -
  1. Tells 'I'm fine' when asked how are you.

  2. Tells It's good to know that you are fine if the word fine is in the query.

  3. Finds and tells related data about query(first two sentences) from wikipedia if wikipedia is in the query.

  4. It'll say I'm Era - a personal desktop assistant when asked who are you.

  5. Opens Spartan14(a chemistry software) if spartan is in the query.
         ▪️ The target path should be specified (software -> file location -> properties -> target path).

  6. Opens YouTube if youtube is in the query.
         ▪️ The target URL should be specified (https://www.youtube.com/) 🔗

  7. Opens Google if google is in the query.
         ▪️ the target URL should be specified (https://www.google.co.in/) 🔗

  8. Opens Stack Overflow if stackoverflow is in the query.
         ▪️ The target URL should be specified (https://stackoverflow.com/) 🔗

  9. Plays a random somg or changes the song if play song or change song is in the query.
         ▪️ The local folder should be specified where the songs are kept.

  10. Tells us the current local time if time is in the query.

  11. Opens Visual Studio Code if code is in the query.
         ▪️ The target path should be specified (software -> file location -> properties -> target path).

  12. 'Quits the application' when quit or close or exit in the query.

  13. Tells 'Thank you sir, I'm always here for you' when awesome or amazing in the query.

  14. Searches in Google about the query if what or who or where or can you in the query.

  15. Sends a mail to the contact if the query matches with one of the Google Contacts.
         ▪️ The contacts and associated email ids can be fetched using Gmail API.
               ▫️ For more details about unlimited retrieving of contact details using Gmail API please read my article published in Medium -
                 https://medium.com/@aritraroycoc/retrieving-email-and-phone-no-7c60ad3a9b69 🔗
         ▪️ To send mail inbuilt module smtplib is used. But one has to less secure apps and google account using G Suite Admin Account.
               ▫️ Please note, it is not normal Google Account and read all the terms and conditions for further approaching.
               ▫️ For futher information please visit -
                 https://support.google.com/a/answer/6260879?hl=en 🔗

  16. Makes a voice call to the contact if the query matches with one of the Google Contacts.
         ▪️ The contacts and associated phone numbers can be fetched using Gmail API.
               ▫️ For more details about unlimited retrieving of contact details using Gmail API please read my article published in Medium -
                 https://medium.com/@aritraroycoc/retrieving-email-and-phone-no-7c60ad3a9b69 🔗
         ▪️ To make voice calls I've taken the help of Twilio account.
               ▫️ One'll need to get account_sid and auth_token. Please check all the details at -
                 https://www.twilio.com/docs/voice/tutorials/how-to-make-outbound-phone-calls-python 🔗
               ▫️ Please note, One can only make call to the registered number for a limited trial period. For full access one'll need to pay.

How to Use ❓❓❓

Follow These Simple Steps:

  • Star and Fork this repo to your account
  • Go to your project folder using your shell and run the following code to install all the required modules -
    pip install -r requirements.txt
  • Now run the python code to enjoy the assistance of Era.

😊😊😊Contributors Are Welcome 😊😊😊

Step for Contribution:

  • Star and Fork this repo to your account
  • Create a New Branch and do Necessary Modification
  • Send a PR

Found a bug ❌❌❌

Don' t worry I am always here to help you. Create a issue HERE

Loved My Work 😍😍😍

You can help me by contributing here 👉

voice_assistant_era's People

Contributors

adrija24 avatar aritraroy24 avatar jothin-kumar avatar s3cbar0n avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

adrija24 s3cbar0n

voice_assistant_era's Issues

Add GUI support!

I would like to add GUI support to Voice Assistant Era. Please assign me to do that! Thank you!

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.