Skip to main content

Deepgram - Transcribe Audio

Overview​

To use this Blueprint, you will need an audio file to transcribe. We recommend connecting this to a Vessel that downloads a file into Shipyard such as YouTube or Google Drive.

Variables​

NameReferenceTypeRequiredDefaultOptionsDescription
Deepgram API KeyDG_API_KEYPasswordβœ…--None
MimetypeDG_MIMETYPESelectβœ…MP3MP3: mp3

WEBM: webm

WAV: wav

FLAC: flac

AAC: aac

The file type of the audio file that you are transcribing
File to TranscribeDG_AUDIO_FILEAlphanumericβœ…--The file name of the audio file that you would like to transcribe
Transcription File NameDG_TEXT_FILEAlphanumericβœ…--None

YAML​

Below is the YAML template for this Blueprint and can be used in the Fleet YAML Editor.

## Paste this code under 'vessels' and then connect it to other vessels under 'connections'
'Deepgram Transcribe Audio 689':
source:
type: BLUEPRINT
blueprint: 'Deepgram - Transcribe Audio'
inputs:
## DG_MIMETYPE: The file type of the audio file that you are transcribing
## DG_AUDIO_FILE: The file name of the audio file that you would like to transcribe
## For more detailed setup information, visit https://www.shipyardapp.com/docs/blueprint-library/deepgram#transcribe-audio-blueprint
'DG_API_KEY': ## REQUIRED
'DG_MIMETYPE': 'mp3' ## REQUIRED
'DG_AUDIO_FILE': ## REQUIRED ## ie. audio.mp3
'DG_TEXT_FILE': ## REQUIRED ## ie. transcription.txt
guardrails:
## Set how your Vessel should handle errors and retries.
retry_count: 0
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges: ## Exit code values(s) that will not be retried if encountered during a Voyage.
# - 0-255
notifications:
## Set emails to be alerted when specific conditions are met.
emails:
- YOUR_EMAIL
after_error: true
after_on_demand: false