31 Voice

The SDKs for the Oracle Android, Oracle iOS, and Oracle Web channels have been integrated with speech recognition to allow users to talk directly to skills and digital assistants and get the appropriate responses.

Note:

Voice is only available through the Oracle Android, iOS and Web SDKs, which work with instances of Oracle Digital Assistant that were provisioned on Oracle Cloud Infrastructure (sometimes referred to as the Generation 2 cloud infrastructure). You cannot use these SDKs (and therefore cannot integrate voice) if your instance is provisioned on the Oracle Cloud Platform (as are all version 19.4.1 instances).

When speech recognition is enabled, a microphone button replaces the send button whenever the user input field is empty. Users tap this button to begin recording their voices. The speech is sent to the speech server for recognition, converted to text, and then sent to the skill. If the speech is only partly recognized, then the partial result is displayed in the user input field, allowing the user to clean it up before sending it to the skill

Enable Voice for the Oracle Android Channel

To enable the microphone in chat view:
  • Create the Oracle Android Channel and enable it.
  • Set the enableSpeechRecognition feature flag to true. Speech Recognition describes this and other voice-related properties and methods.

Enable Voice for the Oracle Web Channel

To enable the microphone for the chat widget that renders in a web page:
  • Configure the Oracle Web Channel and enable it.
  • Set the enableSpeech configuration property to true. Voice Recognition describes this and other voice-related properties and methods.

Enable Voice on the Oracle iOS Channel

To enable the microphone in the iOS chat view:
  • Configure the Oracle iOS Channel.
  • Set the enableSpeechRecognition feature flag to true. Speech Recognition describes this and other voice-recognition properties and methods.