Transcription
The Transcription
verb enables real-time speech-to-text transcription for the call.
Attributes
ATTRIBUTE | DESCRIPTION | OPTIONS | DEFAULT |
---|---|---|---|
language | Language to use for speech recognition. | de , en , es , fr , it , pl | en |
interimResults | Whether to send also interim results. If set to false, only final results will be sent. Applies to transcriptionEngine A only. | false | |
transcriptionEngine | Engine to use for speech recognition. | A , B | A |
transcriptionTracks | Indicates which leg of the call will be transcribed. Use inbound for the leg that requested the transcription, outbound for the other leg, and both for both legs of the call. | inbound , outbound , both | inbound |
transcriptionCallback | URL that tells Telnyx where to make its GET or POST requests with transcription data. | - | |
transcriptionCallbackMethod | HTTP request type used for transcriptionCallback. | GET , POST | POST |
Examples
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Start>
<Transcription language="en" interimResults="true" transcriptionCallback="/transcription" />
</Start>
</Response>