@@ -477,6 +477,9 @@ class RawTranscriptionConfig(BaseModel):
477
477
dual_channel : Optional [bool ] = None
478
478
"Enable Dual Channel transcription"
479
479
480
+ multichannel : Optional [bool ] = None
481
+ "Enable Multichannel transcription"
482
+
480
483
webhook_url : Optional [str ] = None
481
484
"The URL we should send webhooks to when your transcript is complete."
482
485
webhook_auth_header_name : Optional [str ] = None
@@ -578,6 +581,7 @@ def __init__(
578
581
punctuate : Optional [bool ] = None ,
579
582
format_text : Optional [bool ] = None ,
580
583
dual_channel : Optional [bool ] = None ,
584
+ multichannel : Optional [bool ] = None ,
581
585
webhook_url : Optional [str ] = None ,
582
586
webhook_auth_header_name : Optional [str ] = None ,
583
587
webhook_auth_header_value : Optional [str ] = None ,
@@ -617,6 +621,7 @@ def __init__(
617
621
punctuate: Enable Automatic Punctuation
618
622
format_text: Enable Text Formatting
619
623
dual_channel: Enable Dual Channel transcription
624
+ multichannel: Enable Multichannel transcription
620
625
webhoook_url: The URL we should send webhooks to when your transcript is complete.
621
626
webhook_auth_header_name: The name of the header that is sent when the `webhook_url` is being called.
622
627
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__(
660
665
self .punctuate = punctuate
661
666
self .format_text = format_text
662
667
self .dual_channel = dual_channel
668
+ self .multichannel = multichannel
663
669
self .set_webhook (
664
670
webhook_url ,
665
671
webhook_auth_header_name ,
@@ -760,6 +766,18 @@ def dual_channel(self, enable: Optional[bool]) -> None:
760
766
761
767
self ._raw_transcription_config .dual_channel = enable
762
768
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
+
763
781
@property
764
782
def webhook_url (self ) -> Optional [str ]:
765
783
"The URL we should send webhooks to when your transcript is complete."
@@ -1391,6 +1409,7 @@ class Word(BaseModel):
1391
1409
end : int
1392
1410
confidence : float
1393
1411
speaker : Optional [str ] = None
1412
+ channel : Optional [str ] = None
1394
1413
1395
1414
1396
1415
class UtteranceWord (Word ):
@@ -1485,6 +1504,7 @@ class IABResponse(BaseModel):
1485
1504
class Sentiment (Word ):
1486
1505
sentiment : SentimentType
1487
1506
speaker : Optional [str ] = None
1507
+ channel : Optional [str ] = None
1488
1508
1489
1509
1490
1510
class Entity (BaseModel ):
@@ -1530,6 +1550,7 @@ class Sentence(Word):
1530
1550
end : int
1531
1551
confidence : float
1532
1552
speaker : Optional [str ] = None
1553
+ channel : Optional [str ] = None
1533
1554
1534
1555
1535
1556
class SentencesResponse (BaseModel ):
@@ -1576,6 +1597,11 @@ class BaseTranscript(BaseModel):
1576
1597
dual_channel : Optional [bool ] = None
1577
1598
"Enable Dual Channel transcription"
1578
1599
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
+
1579
1605
webhook_url : Optional [str ] = None
1580
1606
"The URL we should send webhooks to when your transcript is complete."
1581
1607
webhook_auth_header_name : Optional [str ] = None
@@ -1694,7 +1720,7 @@ class TranscriptResponse(BaseTranscript):
1694
1720
"A list of all the individual words transcribed"
1695
1721
1696
1722
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"
1698
1724
1699
1725
confidence : Optional [float ] = None
1700
1726
"The confidence our model has in the transcribed text, between 0.0 and 1.0"
0 commit comments