@@ -35,7 +35,7 @@ def initialize(request_client:)
35
35
# Transcripts are sorted from newest to oldest. The previous URL always points to
36
36
# a page with older transcripts.
37
37
#
38
- # @param limit [Long ] Maximum amount of transcripts to retrieve
38
+ # @param limit [Integer ] Maximum amount of transcripts to retrieve
39
39
# @param status [AssemblyAI::Transcripts::TranscriptStatus] Filter by transcript status
40
40
# @param created_on [String] Only get transcripts created on this date
41
41
# @param before_id [String] Get transcripts that were created before this transcript ID
@@ -83,12 +83,16 @@ def list(limit: nil, status: nil, created_on: nil, before_id: nil, after_id: nil
83
83
# @param punctuate [Boolean] Enable Automatic Punctuation, can be true or false
84
84
# @param format_text [Boolean] Enable Text Formatting, can be true or false
85
85
# @param disfluencies [Boolean] Transcribe Filler Words, like "umm", in your media file; can be true or false
86
+ # @param multichannel [Boolean] Enable
87
+ # ://www.assemblyai.com/docs/models/speech-recognition#multichannel-transcription)
88
+ # transcription, can be true or false.
86
89
# @param dual_channel [Boolean] Enable [Dual
87
90
# ://www.assemblyai.com/docs/models/speech-recognition#dual-channel-transcription)
88
91
# transcription, can be true or false.
89
- # @param webhook_url [String] The URL to which we send webhook requests. We sends two different types of
90
- # webhook requests. One request when a transcript is completed or failed, and one
91
- # request when the redacted audio is ready if redact_pii_audio is enabled.
92
+ # @param webhook_url [String] The URL to which we send webhook requests.
93
+ # We sends two different types of webhook requests.
94
+ # One request when a transcript is completed or failed, and one request when the
95
+ # redacted audio is ready if redact_pii_audio is enabled.
92
96
# @param webhook_auth_header_name [String] The header name to be sent with the transcript completed or failed webhook
93
97
# requests
94
98
# @param webhook_auth_header_value [String] The header value to send back with the transcript completed or failed webhook
@@ -158,7 +162,7 @@ def list(limit: nil, status: nil, created_on: nil, before_id: nil, after_id: nil
158
162
# )
159
163
# api.transcripts.submit(audio_url: "https://assembly.ai/wildfires.mp3")
160
164
def submit ( audio_url :, language_code : nil , language_detection : nil , language_confidence_threshold : nil , speech_model : nil ,
161
- punctuate : nil , format_text : nil , disfluencies : nil , dual_channel : nil , webhook_url : nil , webhook_auth_header_name : nil , webhook_auth_header_value : nil , auto_highlights : nil , audio_start_from : nil , audio_end_at : nil , word_boost : nil , boost_param : nil , filter_profanity : nil , redact_pii : nil , redact_pii_audio : nil , redact_pii_audio_quality : nil , redact_pii_policies : nil , redact_pii_sub : nil , speaker_labels : nil , speakers_expected : nil , content_safety : nil , content_safety_confidence : nil , iab_categories : nil , custom_spelling : nil , sentiment_analysis : nil , auto_chapters : nil , entity_detection : nil , speech_threshold : nil , summarization : nil , summary_model : nil , summary_type : nil , custom_topics : nil , topics : nil , request_options : nil )
165
+ punctuate : nil , format_text : nil , disfluencies : nil , multichannel : nil , dual_channel : nil , webhook_url : nil , webhook_auth_header_name : nil , webhook_auth_header_value : nil , auto_highlights : nil , audio_start_from : nil , audio_end_at : nil , word_boost : nil , boost_param : nil , filter_profanity : nil , redact_pii : nil , redact_pii_audio : nil , redact_pii_audio_quality : nil , redact_pii_policies : nil , redact_pii_sub : nil , speaker_labels : nil , speakers_expected : nil , content_safety : nil , content_safety_confidence : nil , iab_categories : nil , custom_spelling : nil , sentiment_analysis : nil , auto_chapters : nil , entity_detection : nil , speech_threshold : nil , summarization : nil , summary_model : nil , summary_type : nil , custom_topics : nil , topics : nil , request_options : nil )
162
166
response = @request_client . conn . post do |req |
163
167
req . options . timeout = request_options . timeout_in_seconds unless request_options &.timeout_in_seconds . nil?
164
168
req . headers [ "Authorization" ] = request_options . api_key unless request_options &.api_key . nil?
@@ -172,6 +176,7 @@ def submit(audio_url:, language_code: nil, language_detection: nil, language_con
172
176
punctuate : punctuate ,
173
177
format_text : format_text ,
174
178
disfluencies : disfluencies ,
179
+ multichannel : multichannel ,
175
180
dual_channel : dual_channel ,
176
181
webhook_url : webhook_url ,
177
182
webhook_auth_header_name : webhook_auth_header_name ,
@@ -380,7 +385,7 @@ def initialize(request_client:)
380
385
# Transcripts are sorted from newest to oldest. The previous URL always points to
381
386
# a page with older transcripts.
382
387
#
383
- # @param limit [Long ] Maximum amount of transcripts to retrieve
388
+ # @param limit [Integer ] Maximum amount of transcripts to retrieve
384
389
# @param status [AssemblyAI::Transcripts::TranscriptStatus] Filter by transcript status
385
390
# @param created_on [String] Only get transcripts created on this date
386
391
# @param before_id [String] Get transcripts that were created before this transcript ID
@@ -430,12 +435,16 @@ def list(limit: nil, status: nil, created_on: nil, before_id: nil, after_id: nil
430
435
# @param punctuate [Boolean] Enable Automatic Punctuation, can be true or false
431
436
# @param format_text [Boolean] Enable Text Formatting, can be true or false
432
437
# @param disfluencies [Boolean] Transcribe Filler Words, like "umm", in your media file; can be true or false
438
+ # @param multichannel [Boolean] Enable
439
+ # ://www.assemblyai.com/docs/models/speech-recognition#multichannel-transcription)
440
+ # transcription, can be true or false.
433
441
# @param dual_channel [Boolean] Enable [Dual
434
442
# ://www.assemblyai.com/docs/models/speech-recognition#dual-channel-transcription)
435
443
# transcription, can be true or false.
436
- # @param webhook_url [String] The URL to which we send webhook requests. We sends two different types of
437
- # webhook requests. One request when a transcript is completed or failed, and one
438
- # request when the redacted audio is ready if redact_pii_audio is enabled.
444
+ # @param webhook_url [String] The URL to which we send webhook requests.
445
+ # We sends two different types of webhook requests.
446
+ # One request when a transcript is completed or failed, and one request when the
447
+ # redacted audio is ready if redact_pii_audio is enabled.
439
448
# @param webhook_auth_header_name [String] The header name to be sent with the transcript completed or failed webhook
440
449
# requests
441
450
# @param webhook_auth_header_value [String] The header value to send back with the transcript completed or failed webhook
@@ -505,7 +514,7 @@ def list(limit: nil, status: nil, created_on: nil, before_id: nil, after_id: nil
505
514
# )
506
515
# api.transcripts.submit(audio_url: "https://assembly.ai/wildfires.mp3")
507
516
def submit ( audio_url :, language_code : nil , language_detection : nil , language_confidence_threshold : nil , speech_model : nil ,
508
- punctuate : nil , format_text : nil , disfluencies : nil , dual_channel : nil , webhook_url : nil , webhook_auth_header_name : nil , webhook_auth_header_value : nil , auto_highlights : nil , audio_start_from : nil , audio_end_at : nil , word_boost : nil , boost_param : nil , filter_profanity : nil , redact_pii : nil , redact_pii_audio : nil , redact_pii_audio_quality : nil , redact_pii_policies : nil , redact_pii_sub : nil , speaker_labels : nil , speakers_expected : nil , content_safety : nil , content_safety_confidence : nil , iab_categories : nil , custom_spelling : nil , sentiment_analysis : nil , auto_chapters : nil , entity_detection : nil , speech_threshold : nil , summarization : nil , summary_model : nil , summary_type : nil , custom_topics : nil , topics : nil , request_options : nil )
517
+ punctuate : nil , format_text : nil , disfluencies : nil , multichannel : nil , dual_channel : nil , webhook_url : nil , webhook_auth_header_name : nil , webhook_auth_header_value : nil , auto_highlights : nil , audio_start_from : nil , audio_end_at : nil , word_boost : nil , boost_param : nil , filter_profanity : nil , redact_pii : nil , redact_pii_audio : nil , redact_pii_audio_quality : nil , redact_pii_policies : nil , redact_pii_sub : nil , speaker_labels : nil , speakers_expected : nil , content_safety : nil , content_safety_confidence : nil , iab_categories : nil , custom_spelling : nil , sentiment_analysis : nil , auto_chapters : nil , entity_detection : nil , speech_threshold : nil , summarization : nil , summary_model : nil , summary_type : nil , custom_topics : nil , topics : nil , request_options : nil )
509
518
Async do
510
519
response = @request_client . conn . post do |req |
511
520
req . options . timeout = request_options . timeout_in_seconds unless request_options &.timeout_in_seconds . nil?
@@ -520,6 +529,7 @@ def submit(audio_url:, language_code: nil, language_detection: nil, language_con
520
529
punctuate : punctuate ,
521
530
format_text : format_text ,
522
531
disfluencies : disfluencies ,
532
+ multichannel : multichannel ,
523
533
dual_channel : dual_channel ,
524
534
webhook_url : webhook_url ,
525
535
webhook_auth_header_name : webhook_auth_header_name ,
0 commit comments