Note:
To use voice in watsonx Orchestrate Developer Edition, enable the voice feature by adding the
--with-voice flag to the orchestrate server start command. For more information, see Installing watsonx Orchestrate Developer Edition: watsonx Orchestrate server.Creating voice configurations
To create a voice configuration, first create a YAML file that defines your voice settings. This file includes the voice name, speech-to-text and text-to-speech provider settings, the primary language, and optional configurations for advanced settings.Supported Providers
Speech-to-Text (STT) Providers: Text-to-Speech (TTS) Providers:watson_tts: IBM Watson Text to Speech - Docsdeepgram_tts: Deepgram Text to Speech - Docselevenlabs_tts: ElevenLabs Text to Speech - Docs
Note:
Please refer to the official documentations of each providers for more information on models and parameters.
Configuration Examples
Watson STT/TTS Configuration
Basic Example:YAML
YAML
Deepgram STT/TTS Configuration
Basic Example:YAML
YAML
ElevenLabs TTS Configuration
Basic Example:YAML
YAML
Advanced Voice Settings
Voice configurations support advanced features for enhanced call handling:Voice Activity Detection (VAD)
Automatically detect when the user is speaking:YAML
DTMF Input (Dual-Tone Multi-Frequency)
Enable keypad input during voice calls:YAML
User Idle Handler
Handle situations when the user stops responding:YAML
Agent Idle Handler
Provide feedback when the agent is processing:YAML
Complete Advanced Example
YAML
Importing voice configurations
After creating your YAML file, import it using the following command:BASH
Note:
The import command creates a new voice configuration or updates an existing one based on the name. If a voice configuration with the same name exists, the command updates it using the new configuration.
Listing voice configurations
To list all available voice configurations:BASH
Getting voice configuration details
To retrieve details of a specific voice configuration:BASH
Exporting voice configurations
To export a voice configuration to a YAML file:BASH
Removing voice configurations
To remove a voice configuration by name or ID:BASH
Note:
If both
--id and --name are provided, the ID takes precedence.
