These days people have warmed up to the idea of voice inputs with the advent of AI assistants like Google Assistant, Siri, Bixby, and Alexa. The voice input technology has matured a lot and can easily interpret the voice in different accents as well.

OpenAI, the company behind ChatGPT, has also launched its API for voice-to-text. The API is mighty and has been widely appreciated for its consistency in interpreting voice inputs.

Having a voice input chatbot is convenient as all the computing devices like desktops, laptops, and tablets come with mics these days. It saves time from typing the text for input.

If you would like to have a ChatGPT-like chatbot but with audio/mic input on your WordPress website then follow the steps below. This tutorial is a no-code step tutorial with relevant screenshots for an easy-to-follow approach.

Prerequisites for Voice-Assisted AI Chatbot

Steps to Add Voice Input AI Chatbot in WordPress

  • Go to Sage AI Writer -> Chatbot from the WordPress dashboard. 
  • Click on the plus (+) Icon. Let’s name this chatbot Voice Assistant under Main Settings.
  • Enable the Speech to Text setting and then click on the update button. 
  • Now a mic icon will appear in the chatbot text input inside the chatbot preview. Clicking on the mic button will start recording the audio and once the recording is stopped then it will automatically convert the audio to text and send it.

It will prompt for mic permission for the very first time it is run. However, once the permission is granted then subsequent requests won’t request it again. Also, the text input field will be there just in case the user wants to type in the question.

The chatbot is powered by OpenAI API so, the text responses generated will be similar to how ChatGPT would have responded to the same question. 

If you have enabled logs for the chatbot then the audio inputs by the user will be saved as text in the log file which can be viewed later.