Language Model Configuration

Language Model Configuration

The new parameter
vaVoiceCommandLanguageModel
allows users to set the language model to either Web Search or Free Form for voice command functionality.
Requires PTT Pro 3.3.10311 or later.
Language Model Search for Free Form and Web Search
Parameter
Description
Type
Default Value
Configurable Values
vaVoiceCommandLanguageModel
A new configuration enables the application of the language model for web search or free-form voice command functionality.
Integer
0
  • 0 indicates that the language model is set to Free Form.
  • 1 indicates that the language model is set to Web Search
The JSON format to enable the setting in the
WFCPTTProDefault.json
file is as follows:
{ "vaVoiceCommandLanguageModel":0 }
To use this feature, apply a valid configuration to the PTT Pro client using the PTT Pro JSON file. You can also configure this using the Provisioning Manager environment.
Examples:
Applying the configuration for Android 10 and lower versions:
adb push WFCPTTProDefault.json /sdcard/ adb shell am broadcast -a com.symbol.wfc.pttpro.ACTION_DEFAULT_CONFIG --es "configpath" "/sdcard/WFCPTTProDefault.json"
Applying the configuration for Android 11 and higher versions:
adb push WFCPTTProDefault.json /enterprise/device/settings/pttpro/ adb shell am broadcast -a com.symbol.wfc.pttpro.ACTION_DEFAULT_CONFIG --es "configpath" "/enterprise/device/settings/pttpro/WFCPTTProDefault.json"
ADB command to apply the configuration:
adb shell am start -a android.intent.action.VIEW -d "wfctp-uat://<TOKEN>" com.symbol.wfc.pttpro" adb shell am broadcast -a com.symbol.wfc.pttpro.ACTION_DEFAULT_CONFIG --es "profile_json" ' {"vaVoiceCommandLanguageModel" : 0}'