AssemblyAI
AssemblyAIAudioTranscriber
Bases: BaseModel
Transcriber using AssemblyAI's API.
model
class-attribute
instance-attribute
model: Literal['best', 'nano'] = 'best'
Model to use for transcription.
language
class-attribute
instance-attribute
language: LanguageAlpha2 | None = None
Language of the transcription.
custom_spelling
class-attribute
instance-attribute
Custom spelling dictionary for the transcription.
transcribe
transcribe(audio_asset: AudioAsset) -> Transcription
Transcribe audio using AssemblyAI's API.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
audio_asset |
AudioAsset
|
|
required |
Returns:
Type | Description |
---|---|
Transcription
|
The transcription. |