Component Recognizing long audio files (Yandex Cloud SpeechKit)

Table of Contents

Description

Performs caller speech recognition into text form.
The service is provided by Yandex Cloud SpeechKit over the protocol HTTP. It has no technical limitations in terms of performance.

The component is designed to recognize pre-recorded files. Supports recognition of files with arbitrary duration. Requires files in the format PCM.

For the procedure of registering a Yandex-cloud account and the cost of the service, see Yandex.

The tokens are configured in domain settings, field 'yandex_cloud'..

Table 1. System Characteristics

Index

148

Short title

asr_yandex

Types of scenarios

All of them

Starter module

era_script_component_asr_yandex

Mode

Asynchronous

Icon

148

Branching pattern

Branching, closing

Properties

Table 2. Properties
Specification Description

Title: Audio File Path
Code: filePath
Visibility: no
Default: — 

Argument containing the path to a wav file in wav format PCM

Title: Yandex Account
Code: accountKey
Visibility: no
Default: default

Specifies the Yandex account whose options are taken to connect to yandex.
The list includes the value 'default', which sets the root fields 'speech' and 'storage' in the object to be used 'settings.yandex_cloud'.
Additionally, the list includes the keys of the 'settings.yandex_cloud.accounts' object, each of which is also followed by an object with separately configured access parameters.

Title: Theme
Code: topic
Visibility: no
Default: general

Yandex Cloud SpeechKit recognition service parameter: recognition theme.
Possible options:

  • general (0)

  • maps (1)

  • dates (2)

  • names (3)

  • numbers (4)

  • Other (custom, 100) - Specifies an arbitrary topic via argument.

Title: User Topic
Code: topicCustom
Visibility: yes
Default: — 

Argument containing a custom theme for the recognition service Yandex Cloud SpeechKit.

Title: Language
Code: lang
Visibility: no
Default: ru-RU

Yandex Cloud SpeechKit recognition service parameter: recognition language.
Possible options:

  • ru-RU (0) – Russian language

  • en-US (1) – English language

Title: `A profanity filter
Code: profanityFilter
Visibility: no
Default: `Disable'

Yandex Cloud SpeechKit recognition service parameter: switch off the profanity filter.

Title: Response timeout, s
Code: responseTimeoutSec
Visibility: no
Default: 5

Waiting timeout for response from the recognition service Yandex Cloud SpeechKit.
When the timeout expires, control is passed to the next component on the Time branch.

Title: Result to variable
Code: varText
Visibility: no
Default: — 

Variable to save the text result of recognition.

Title: Response code to variable
Code: varHttpCode
Visibility: no
Default: — 

Variable to store the HTTP response code of the recognition service.

Title: Response body to variable
Code: varHttpBody
Visibility: no
Default: — 

Variable to store the full content of the HTTP response of the recognition service.

Title: Transition
Code: transfer
Visibility: no
Default: — 

Component to which control is passed in case of successful completion of the operation.

Title: Transition, Time
Code: transferTimeout
Visibility: no
Default: — 

The component to which control is passed in case the timeout period for HTTP response from the recognition service has expired.

Title: Transition, Error
Code: transferError
Visibility: no
Default: — 

The component to which control is passed if an error occurs.