By using the Aculab site, you agree with our use of cookies.
right  Talk To Us!

speech barge in options

  Available in REST API Version 2 and later.

Defines the language and specific words or short phrases that may barge in on a play action.

Used by actions play

language wrappers and examples

It has the following properties:

PropertyRequired/OptionalDefaultDescription
languageoptionalen-USA BCP 47 language code for the barge in phrases. Use a language code from the Speech Recognition Languages page.
barge in phrasesoptional-An array of strings each containing a word or short phrase that may be spoken to barge in.
speech model optionsoptional-A speech model options object to select and configure the model used.

  • Examples:


    • Set the language and some barge in phrases:

      	{
      		"language" : "en-GB",
      		"barge_in_phrases" :
      		[
      			"cancel",
      			"stop",
      		]
      	}