Voice Search

Let users speak their search query instead of typing — set up in just a few steps.

Voice Search lets users speak their query out loud instead of typing it. SearchBlox converts the spoken words into text using Google's Speech-to-Text service and runs the search automatically. This is useful for hands-free environments, accessibility needs, or users who simply prefer speaking over typing.
To set it up, go to Dashboard → Collections → Voice Search.

How Voice Search Works:

Users can start a Voice Search by clicking the microphone icon or using a supported voice command. The system listens to the spoken input, converts it into text, and performs a regular search using that text. The results are then displayed based on the spoken query, providing a completely hands-free search experience.


⚠️

Before You Begin:

  • Voice Search only works on pages served over HTTPS. If your search page runs on HTTP, the microphone will not work and voice search will be unavailable to users.
  • You will need a Google Speech-to-Text API key. You can create one at https://cloud.google.com/speech-to-text.

Enable Voice Search

  1. Navigate to Voice Search Settings:
    Go to Dashboard → Collections → Voice Search.
  2. Enable Voice Search:
    Turn on the toggle switch to activate Voice Search for your search interface.
  3. Provide Google Speech-to-Text API Key:
    Voice Search uses Google’s Speech-to-Text API to convert spoken words into text. Enter a valid Google API key for the feature to work.

👍

Note:

You can create your own API key from the Google Speech-to-Text service:
(<https://cloud.google.com/speech-to-text>)

Ensure HTTPS for the Search Page:
Voice Search works only on pages served over HTTPS. Make sure your search page or application is running on HTTPS; otherwise, the microphone and speech recognition features will not work.