Web chat modalities
Embed text or voice conversational agents on the web.
Depending on your use-case, you might want to build text or voice-based conversational agents and embed them onto your website. For example:
- A law firm may wish to have a text-only agent to ensure that all details collected are exactly what a user inputs and not subject to text-to-speech transcription.
- An online fashion store might use the text modality with certain voice features enabled, allowing users to have voice conversations with an agent while also allowing for cards promoting products to be shown during the conversation.
- A car rental company might embed a voice-only widget into their app, allowing customers from outside their home country to call customer support while driving without incurring international call charges.
Voiceflow's web chat widget supports all of these options, allowing almost any use-case to be built.
Setting your modality
To set your web chat widget's modality, open the widget settings by pressing the Interfaces button on your canvas' sidebar then clicking Interfaces.
Chat modality
The chat modality is the default version of the web chat widget. When enabled, users can type messages to your agent, and will see the agent's responses as text. Most people building for the web use the chat modality.
When building with the chat modality, you can also optionally enable voice-focused features. These are:
- Dictation - allows your agent's users to input text using speech-to-text.
- Voice output - allows your agent's users to hear your agent's responses using the text-to-speech model set in your project's settings.
- Voice mode - when enabled, this setting allows conversations to take place hands-free. Once the user presses the blue "voice" button in the message input (shown below), they will be able to talk to the agent for the rest of the conversation without pressing it again, similar to a phone call. If this option is disabled, the user must press the microphone button each time before saying their message.
Voice modality
Voice related features, such as speech-to-text and text-to-speech consume credits. Learn more about credits.
When the voice modality is enabled, the conversation will act similarly to a phone call. This means that the conversation's message history will not be shown to the user, and the user will not need to press a button to send their message. However, the written message history will be saved in the conversation's transcript.
When voice mode is enabled, the user can also interrupt the agent by speaking at the same time as it.
Updated about 4 hours ago