What you've learned

You should now know how to:

  • Run a bot on a Raspberry Pi that will listen to you and respond to what you say
  • Learn how to listen for a keyword and wake a program when the keyword is heard
  • Convert speech from the microphone to text using Google Speech Recognition
  • Send text created from speech to ChatGPT's gpt-4-turbo-preview model via API and receive a text reply
  • Convert the text reply to speech using ChatGPT's text-to-speech model via API
  • Play the received speech file

Knowledge Check

True or False? There is only one voice option available using OpenAI's text-to-speech.

Which ChatGPT model does the example implementation use?

What is the library used to listen for the wake word?


Back
Next