STT
- Olesya Tantsyura
1. Description
The ability to transcribing speech, for example, an audio message, into text.
This component is present in flow types like:
- Chat;
- Service.
The block (Fig.1(1)) is used in space to build the Flow. The settings panel for this component opens (Fig.1(2)) when you click on the block.
Fig.1. STT component
1.1. STT block
The block consists of the following elements:
- The name of the component;
- in branch - receiving (connecting with the previous block) branch;
- out branch - outgoing (connecting with the following block) branch.
1.2. STT settings panel
It consists of the following elements:
- ;
- ;
- Language;
SetVar;
- Break;
- Add limit.
1.2.1.
The STT identifier for the profile is entered here.
ID of the file that will be transcribed. If you entered the ${response.file.id}
variable, the identifier will be taken from the file sent to the chat.
1.2.3. Language
The language for recognizing the audio file is selected here.
1.2.4. SetVar
The name of the variable in which the file transcription is transmitted is entered here.
1.2.5. Break
Responsible for the completion of the flow execution.
- initiates the end of the flow execution after the given component.
- the switch is in the off position.
1.2.6. Add limit
It is intended to determine the maximum number of passes through this component.
The failover branch appears in the edited component when the limit is set .
The failover branch will be used if more passes are passed through the component than entered in the Max field.
Clicking on the Add Limit button adds a Max field and a Delete limit button.
The number of possible passes is indicated in the Max field.
Clicking on the Delete limit button removes the limit and returns the Add limit button.
Fig. 2. Setting a limit