Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
How to build your own first Voice Assistant in Python
Rating: 4.5 out of 5(215 ratings)
24,968 students

How to build your own first Voice Assistant in Python

Create your own first VA in python. How to create a chatbot in python. How to build a virtual assistant with pyhton
Created byDan We
Last updated 11/2022
English
English [Auto],

What you'll learn

  • How to create your first own Virtual Assistant in python
  • Python beginners and experts are both welcome. Together we can finish the project
  • A python project for your future portfolio you can share to potential employers
  • basic python and useful python libraries and modules

Course content

1 section14 lectures1h 18m total length
  • 0 Project Introduction0:31

    Learn to build your own voice assistant in Python in under 90 minutes. Join this beginner-friendly course to create a voice assistant in Python, regardless of your level.

  • Additional installation information0:15
  • Final code to download0:03
  • Getting started Editor and Libaries6:39

    Learn to build your first voice assistant in Python by setting up Jupyter notebook, selecting an editor, and installing libraries for speech recognition, web browser access, and date and time.

  • Transform audio into text8:55

    Develop a transform function that listens to the microphone and converts speech to text using Google in the speech recognition library. Learn to handle errors and return the text.

  • Speaking and Language settings wiht Voices15:23

    Learn to build a Python voice assistant that converts speech to text with a transform function, and speaks back using pyttsx3, including selecting voices and languages.

  • Starting with days and times6:00

    Create a function that returns a specific date and maps weekday numbers to names using the datetime module, built with dictionary mapping and f-strings for spoken output.

  • What Time is it5:42

    Query and format the current time in Python using the datetime module, demonstrating how to print, format, and extract hours, minutes, and seconds.

  • Greetings from our voice assistant3:05

    Create a startup greeting function for your Python voice assistant that says hello, introduces itself, and offers help, with customizable names and voices (David, Zira, Sarah) using multiline strings.

  • Time to finalize our voice assistant11:59

    Build the heart function of the voice assistant to greet, listen in a loop, transform speech to text, and speak responses, including opening YouTube and time or day queries.

  • Completing our voice assistant15:38

    Complete your Python voice assistant by adding Wikipedia lookups, web search, YouTube playback, and stock price lookup with Yahoo Finance, using elif logic and text-to-speech.

  • Finally Lets test our Voice Assistant3:48

    Test your voice assistant by running chat bot commands to tell time, check stock prices, perform Wikipedia lookups, and play audio.

  • Final words0:11
  • You want to continue to learn with me? Let's do it here0:26

Requirements

  • basic python is helpful but everyone interested is welcome. Everything is explained step by step
  • I use a windows system and jupyter notebook but feel free to choose the editor of your choice

Description

Hello and welcome to this class

In this project you will learn how to build your first virtual assistant VA in python in less then 90 minutes.

This is a great small project to get started (even if you have little or no prior knowledge in python) and learning opportunity.

Learning through your own little projects is the best and most enjoying way to improve your skills.

In the world of today we all already use Virtual Assistants like Alexa, Siri, Google and others more and more in our daily lifes. It's convenient nd this will only increase the next few years. So wouldn't it be interesting to learn the fundamentals to create our own VA?

This is exactly the goal of this class and it makes a lot of fun doing it. We can ask our Virtual Assistant to play songs, search youtube, return stock quotes and many other things.

Doesn't that sound intersting?

So let's don't waste any time and start working on this project together. Every step is explained so no worries! Just get started.

You can also add this project to your own portfolio later on to show potential employers your skills!

What are you waiting for?

Let's do it!

Who this course is for:

  • Everyone interested in building a Virtual Assistant
  • Everyone interested in how to build a Chatbot
  • Everyone interested in starting programming and looking for a funny project