Audio
AudioFormat
Bases: str, Enum
Audio encodings a text-to-speech node can request.
Adapters translate these into the provider's own format names, so one node configuration works across providers.
Source code in dynamiq/types/audio.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | |
Speaker
Bases: BaseModel
A speaker detected by diarization. id is the provider's own label.
Source code in dynamiq/types/audio.py
100 101 102 103 104 | |
SpeakerHints
Bases: BaseModel
Guidance for speaker diarization.
Each provider adapter maps the hints its API accepts and ignores the rest, so the same configuration is valid for every provider.
Source code in dynamiq/types/audio.py
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
TimestampGranularity
Bases: str, Enum
How much timing detail a transcription should carry.
Source code in dynamiq/types/audio.py
47 48 49 50 51 52 | |
Transcript
Bases: BaseModel
Provider-neutral transcription result.
content is the plain text every provider returns. transcript is the same text rendered
with speaker labels when diarization produced them. segments and words carry timing and
speakers; words is empty when the provider returns none.
Source code in dynamiq/types/audio.py
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
TranscriptSegment
Bases: BaseModel
A contiguous span of speech. Times are seconds from the start of the audio.
Source code in dynamiq/types/audio.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
TranscriptWord
Bases: BaseModel
A single word (or punctuation mark / audio event) with optional timing and speaker.
Source code in dynamiq/types/audio.py
73 74 75 76 77 78 79 80 81 | |