Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 4.49 KB

GetSpeech.md

File metadata and controls

24 lines (20 loc) · 4.49 KB

freeclimb.Model.GetSpeech

The GetSpeech command enables the Caller to respond to the application using a supported language. Unlike DTMF entry, which implicitly restricts the user to using the available buttons on the phone key pad, speech input allows for flexible audio inputs based on grammar. FreeClimb supports grammars written using GRXML compatible with the Microsoft Speech Platform. GetSpeech is only supported on a single call leg. It is not supported when there are two or more call legs connected (as in within a Conference).

Properties

Name Type Description Notes
Command string Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) [optional]
ActionUrl string When the caller has finished speaking or the command has timed out, FreeClimb will make a POST request to this URL. A PerCL response is expected to continue handling the call.
GrammarType int The grammar file type to use for speech recognition. A value of 'URL' indicates the grammarFile attribute specifies a URL that points to the grammar file. A value of `BUILTIN` indicates the grammarFile attribute specifies the name of one of the platform built-in grammar files. [optional]
GrammarFile string The grammar file to use for speech recognition. If grammarType is set to URL, this attribute is specified as a download URL.
GrammarRule bool The grammar rule within the specified grammar file to use for speech recognition. This attribute is optional if `grammarType` is `URL` and ignored if `grammarType` is `BUILTIN`. [optional]
PlayBeep string Indicates whether a beep should be played just before speech recognition is initiated so that the speaker can start to speak. [optional]
Prompts List<PerclCommand> The JSON array of PerCL commands to nest within the `GetSpeech` command. The `Say`, `Play`, and `Pause` commands can be used. The nested actions are executed while FreeClimb is waiting for input from the caller. This allows for playing menu options to the caller and to prompt for the expected input. These commands stop executing when the caller begins to input speech. [optional]
NoInputTimeoutMs int When recognition is started and there is no speech detected for `noInputTimeoutMs` milliseconds, the recognizer will terminate the recognition operation. [optional]
RecognitionTimeoutMs int When playback of prompts ends and there is no match for `recognitionTimeoutMs` milliseconds, the recognizer will terminate the recognition operation. [optional]
ConfidenceThreshold decimal When a recognition resource recognizes a spoken phrase, it associates a confidence level with that match. Parameter `confidenceThreshold` specifies what confidence level is considered a successful match. Values are between 0.0 and 1.0. [optional]
SensitivityLevel decimal The speech recognizer supports a variable level of sound sensitivity. The sensitivityLevel attribute allows for filtering out background noise, so it is not mistaken for speech. Values are between 0.0 and 1.0 [optional]
SpeechCompleteTimeoutMs int Parameter `speechCompleteTimeoutMs` specifies the length of silence required following user speech before the speech recognizer finalizes a result. This timeout applies when the recognizer currently has a complete match against an active grammar. Reasonable speech complete timeout values are typically in the range of 0.3 seconds to 1.0 seconds. [optional]
SpeechIncompleteTimeoutMs int Parameter `speechIncompleteTimeoutMs` specifies the length of silence following user speech after which a recognizer finalizes a result. This timeout applies when the speech prior to the silence is an incomplete match of all active grammars. Timeout `speechIncompleteTimeoutMs` is usually longer than `speechCompleteTimeoutMs` to allow users to pause mid-utterance. [optional]
PrivacyMode bool Parameter privacyMode will not log the `text` as required by PCI compliance. [optional]

[Back to Model list] [Back to API list] [Back to README]