startTranscription()

startTranscription({ language, model })

You can start the service by calling startTranscription() on your call object.

You can optionally include the following configuration options to control the transcription process:

NameTypeDescription
languagestringSee Deepgram's documentation for language
modelstringSee Deepgram's documentation for model
tierstringThis field is deprecated, use model instead
profanity_filterbooleanSee Deepgram's documentation for profanity_filter
punctuatebooleanSee Deepgram's documentation for punctuate
endpointingnumber or booleanSee Deepgram's documentation for endpointing
redactboolean or arraySee Deepgram's documentation for redact
extraobjectSpecify additional parameters. See Deepgram's documentation for available streaming options

Transcription message data is passed from the transcription service to the Daily call object via the "transcription-message" event. See the "transcription-message" event documentation for more info.

An additional configuration option is available which doesn't affect the transcription process itself, but gives you more detailed output data in the transcription messages:

NameTypeDescription
includeRawResponsebooleanWhether Deepgram's raw response should be included in all transcription messages