Voice interaction is becoming increasingly important in user interactions, with more devices and applications supporting voice capabilities. Floatchat understands the significance of voice and offers various voice recognition options to facilitate voice-driven interactions. These options include voice-over web and mobile widgets, as well as voice support on channels like WhatsApp. Floatchat can extend voice support beyond traditional interfaces to use cases such as IVRs.
Floatchat provides two main voice support options:
Voice to Text on Web Widget: This feature is available as part of the Floatchat Business Plan.
Voice Conversations: This feature is available on request as part of the Floatchat Enterprise Plan and includes support for handling voice notes on WhatsApp.
Setup – Voice to Text (Web Widget) #
Voice to Text functionality is available for the Floatchat Business Plan and is supported on the web chatbot widget in the Chrome browser. To enable this feature:
Navigate to the “Configure” section and select “Web Display” -> “Settings”.
Enable the checkboxes to activate the audio input mode option for end-users on the website widget.
Once enabled, users will see an option to switch to audio input mode. In this mode, the chatbot listens to the user’s voice commands and responds back with text messages.
Setup – Voice Interactions #
Floatchat enables end-to-end voice interactions and supports handling voice notes on WhatsApp by integrating with Google Voice. To integrate Google Voice:
Generate your Google service account credentials as a JSON file. To do this, you need to have a Google app configured in your Google Console account.
Visit https://console.cloud.google.com/ and select a project. Add the required details and navigate to “APIs & Services” -> “Enable APIs & Services”.
Enable the “Cloud Speech to Text API” and “Cloud Text to Speech API” by entering your payment details.
Go to the “IAM & Admin” tab in the left panel, select your project, and click on “Service accounts”. Create a new service account and provide a name of your choice.
Associate the role “Organization Administrator” with the service account.
Generate the key for the service account. You will receive a JSON file containing the credentials.
Upload the credentials JSON file in the Floatchat platform under “Configure” -> “Deploy” -> “Voice”.
4.1 Voice Conversation for Multilingual Bots #
Floatchat’s chatbots can respond in multiple languages by enabling the “Localization service” in your chatbot. When this option is enabled and a user selects a specific language, the bot will respond in the chosen language. Note that the languages supported in the Floatchat platform for voice conversation depend on Google’s language support.
Configuration – Voice Conversation on Web #
After completing the voice integration setup, you can configure voice conversation on the web widget from the “Deploy” section. The supported configurations include:
Enable Voice Input: Allows users to input commands by speaking instead of typing, supported only on the web widget in the Chrome browser.
Enable Voice Conversation: Enables voice-to-text and text-to-voice conversions using your configured Google Account for voice interactions.
Enable Continuous Voice Mode: Enables complete voice conversations, including speaking to the bot and receiving voice responses.
Voice Response Gender: Specifies the gender of the bot’s voice response.
Phrase Hints: Allows you to enter custom keywords or phrases for improved voice recognition, such as domain-specific keywords or brand/product names.
Configuration – Voice Conversation on WhatsApp #
After completing the voice integration setup, you can configure voice conversation on WhatsApp from the “Deploy” section. Enabling voice input for WhatsApp allows Floatchat to handle voice notes sent by users. The voice notes received on WhatsApp are translated to text using your Google Voice Account, and Floatchat responds via text using the