@@ -477,6 +477,9 @@ class RawTranscriptionConfig(BaseModel):
477477 dual_channel : Optional [bool ] = None
478478 "Enable Dual Channel transcription"
479479
480+ multichannel : Optional [bool ] = None
481+ "Enable Multichannel transcription"
482+
480483 webhook_url : Optional [str ] = None
481484 "The URL we should send webhooks to when your transcript is complete."
482485 webhook_auth_header_name : Optional [str ] = None
@@ -578,6 +581,7 @@ def __init__(
578581 punctuate : Optional [bool ] = None ,
579582 format_text : Optional [bool ] = None ,
580583 dual_channel : Optional [bool ] = None ,
584+ multichannel : Optional [bool ] = None ,
581585 webhook_url : Optional [str ] = None ,
582586 webhook_auth_header_name : Optional [str ] = None ,
583587 webhook_auth_header_value : Optional [str ] = None ,
@@ -617,6 +621,7 @@ def __init__(
617621 punctuate: Enable Automatic Punctuation
618622 format_text: Enable Text Formatting
619623 dual_channel: Enable Dual Channel transcription
624+ multichannel: Enable Multichannel transcription
620625 webhoook_url: The URL we should send webhooks to when your transcript is complete.
621626 webhook_auth_header_name: The name of the header that is sent when the `webhook_url` is being called.
622627 webhook_auth_header_value: The value of the `webhook_auth_header_name` that is sent when the `webhoook_url` is being called.
@@ -660,6 +665,7 @@ def __init__(
660665 self .punctuate = punctuate
661666 self .format_text = format_text
662667 self .dual_channel = dual_channel
668+ self .multichannel = multichannel
663669 self .set_webhook (
664670 webhook_url ,
665671 webhook_auth_header_name ,
@@ -760,6 +766,18 @@ def dual_channel(self, enable: Optional[bool]) -> None:
760766
761767 self ._raw_transcription_config .dual_channel = enable
762768
769+ @property
770+ def multichannel (self ) -> Optional [bool ]:
771+ "Returns the status of the Multichannel transcription feature"
772+
773+ return self ._raw_transcription_config .multichannel
774+
775+ @multichannel .setter
776+ def multichannel (self , enable : Optional [bool ]) -> None :
777+ "Enable Multichannel transcription"
778+
779+ self ._raw_transcription_config .multichannel = enable
780+
763781 @property
764782 def webhook_url (self ) -> Optional [str ]:
765783 "The URL we should send webhooks to when your transcript is complete."
@@ -1391,6 +1409,7 @@ class Word(BaseModel):
13911409 end : int
13921410 confidence : float
13931411 speaker : Optional [str ] = None
1412+ channel : Optional [str ] = None
13941413
13951414
13961415class UtteranceWord (Word ):
@@ -1485,6 +1504,7 @@ class IABResponse(BaseModel):
14851504class Sentiment (Word ):
14861505 sentiment : SentimentType
14871506 speaker : Optional [str ] = None
1507+ channel : Optional [str ] = None
14881508
14891509
14901510class Entity (BaseModel ):
@@ -1530,6 +1550,7 @@ class Sentence(Word):
15301550 end : int
15311551 confidence : float
15321552 speaker : Optional [str ] = None
1553+ channel : Optional [str ] = None
15331554
15341555
15351556class SentencesResponse (BaseModel ):
@@ -1576,6 +1597,11 @@ class BaseTranscript(BaseModel):
15761597 dual_channel : Optional [bool ] = None
15771598 "Enable Dual Channel transcription"
15781599
1600+ multichannel : Optional [bool ] = None
1601+ "Enable Multichannel transcription"
1602+ audio_channels : Optional [int ] = None
1603+ "The number of audio channels in the media file"
1604+
15791605 webhook_url : Optional [str ] = None
15801606 "The URL we should send webhooks to when your transcript is complete."
15811607 webhook_auth_header_name : Optional [str ] = None
@@ -1694,7 +1720,7 @@ class TranscriptResponse(BaseTranscript):
16941720 "A list of all the individual words transcribed"
16951721
16961722 utterances : Optional [List [Utterance ]] = None
1697- "When `dual_channel` or `speaker_labels` is enabled, a list of turn-by-turn utterances"
1723+ "When `dual_channel`, `multichannel`, or `speaker_labels` is enabled, a list of turn-by-turn utterances"
16981724
16991725 confidence : Optional [float ] = None
17001726 "The confidence our model has in the transcribed text, between 0.0 and 1.0"
0 commit comments