diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs
index 20d6aac..138fd6e 100644
--- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs
+++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs
@@ -169,8 +169,7 @@ public sealed partial class Transcript
///
/// The language of your audio file.
- /// Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/pre-recorded-audio/supported-languages).
- /// The default value is 'en_us'.
+ /// Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/pre-recorded-audio/supported-languages).
///
[global::System.Text.Json.Serialization.JsonPropertyName("language_code")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::AssemblyAI.JsonConverters.AnyOfJsonConverter))]
@@ -310,7 +309,7 @@ public sealed partial class Transcript
public global::AssemblyAI.SpeechModel2? SpeechModelUsed { get; set; }
///
- /// List of speech models that were used (in priority order) to transcribe the audio. If not specified in the request, this defaults to `universal-3-5-pro`. See [Model Selection](https://www.assemblyai.com/docs/pre-recorded-audio/select-the-speech-model) for available models and routing behavior.
+ /// List of speech models that were used (in priority order) to transcribe the audio. If not specified in the request, this defaults to `["universal-3-5-pro", "universal-2"]`. See [Model Selection](https://www.assemblyai.com/docs/pre-recorded-audio/select-the-speech-model) for available models and routing behavior.
///
[global::System.Text.Json.Serialization.JsonPropertyName("speech_models")]
public global::System.Collections.Generic.IList? SpeechModels { get; set; }
@@ -604,8 +603,7 @@ public sealed partial class Transcript
///
///
/// The language of your audio file.
- /// Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/pre-recorded-audio/supported-languages).
- /// The default value is 'en_us'.
+ /// Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/pre-recorded-audio/supported-languages).
///
///
/// The language codes of your audio file. Used for [Code switching](/speech-to-text/pre-recorded-audio/code-switching)
@@ -674,7 +672,7 @@ public sealed partial class Transcript
/// The speech model that was actually used for the transcription. See [Model Selection](https://www.assemblyai.com/docs/pre-recorded-audio/select-the-speech-model) for available models.
///
///
- /// List of speech models that were used (in priority order) to transcribe the audio. If not specified in the request, this defaults to `universal-3-5-pro`. See [Model Selection](https://www.assemblyai.com/docs/pre-recorded-audio/select-the-speech-model) for available models and routing behavior.
+ /// List of speech models that were used (in priority order) to transcribe the audio. If not specified in the request, this defaults to `["universal-3-5-pro", "universal-2"]`. See [Model Selection](https://www.assemblyai.com/docs/pre-recorded-audio/select-the-speech-model) for available models and routing behavior.
///
///
/// Defaults to null. Reject audio files that contain less than this fraction of speech.
diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptLanguageCode.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptLanguageCode.g.cs
index e88aa95..4bd9cd7 100644
--- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptLanguageCode.g.cs
+++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptLanguageCode.g.cs
@@ -4,8 +4,7 @@
namespace AssemblyAI
{
///
- /// The language of your audio file. Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/pre-recorded-audio/supported-languages).
- /// The default value is 'en_us'.
+ /// The language of your audio file. Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/pre-recorded-audio/supported-languages).
///
public enum TranscriptLanguageCode
{
diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs
index 8e291a8..2a621d3 100644
--- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs
+++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs
@@ -7,7 +7,7 @@ namespace AssemblyAI
{
///
/// The parameters for creating a transcript
- /// Example: {"speech_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","language_code":"en_us","language_detection":true,"language_confidence_threshold":0.7,"punctuate":true,"format_text":true,"multichannel":true,"webhook_url":"https://your-webhook-url.tld/path","webhook_auth_header_name":"webhook-secret","webhook_auth_header_value":"webhook-secret-value","auto_highlights":true,"audio_start_from":10,"audio_end_at":280,"filter_profanity":true,"redact_pii":true,"redact_pii_audio":true,"redact_pii_audio_quality":"mp3","redact_pii_policies":["us_social_security_number","credit_card_number"],"redact_pii_sub":"hash","speaker_labels":true,"speakers_expected":2,"content_safety":true,"iab_categories":true,"custom_spelling":[],"disfluencies":false,"sentiment_analysis":true,"auto_chapters":false,"entity_detection":true,"speech_threshold":0.5,"summarization":false,"summary_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","summary_type":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","custom_topics":true,"topics":[],"remove_audio_tags":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","domain":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","speech_understanding":{"request":{"translation":{"target_languages":["es","de"],"formal":true,"match_original_utterance":true}}}}
+ /// Example: {"speech_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","language_detection":true,"language_confidence_threshold":0.7,"punctuate":true,"format_text":true,"multichannel":true,"webhook_url":"https://your-webhook-url.tld/path","webhook_auth_header_name":"webhook-secret","webhook_auth_header_value":"webhook-secret-value","auto_highlights":true,"audio_start_from":10,"audio_end_at":280,"filter_profanity":true,"redact_pii":true,"redact_pii_audio":true,"redact_pii_audio_quality":"mp3","redact_pii_policies":["us_social_security_number","credit_card_number"],"redact_pii_sub":"hash","speaker_labels":true,"speakers_expected":2,"content_safety":true,"iab_categories":true,"custom_spelling":[],"disfluencies":false,"sentiment_analysis":true,"auto_chapters":false,"entity_detection":true,"speech_threshold":0.5,"summarization":false,"summary_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","summary_type":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","custom_topics":true,"topics":[],"remove_audio_tags":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","domain":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","speech_understanding":{"request":{"translation":{"target_languages":["es","de"],"formal":true,"match_original_utterance":true}}}}
///
public sealed partial class TranscriptOptionalParams
{
@@ -111,8 +111,7 @@ public sealed partial class TranscriptOptionalParams
///
/// The language of your audio file. Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/pre-recorded-audio/supported-languages).
- /// The default value is 'en_us'.
- /// Default Value: en_us
+ /// If you don't specify a language, it's detected automatically. Cannot be used together with `language_detection`.
///
[global::System.Text.Json.Serialization.JsonPropertyName("language_code")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter?, object>))]
@@ -128,15 +127,14 @@ public sealed partial class TranscriptOptionalParams
///
/// The confidence threshold for the automatically detected language.
/// An error will be returned if the language confidence is below this threshold.
- /// Defaults to 0. See [Automatic Language Detection](https://www.assemblyai.com/docs/pre-recorded-audio/language-detection) for more details.
+ /// Defaults to 0. Can only be set when `language_detection` is enabled. See [Automatic Language Detection](https://www.assemblyai.com/docs/pre-recorded-audio/language-detection) for more details.
/// Default Value: 0
///
[global::System.Text.Json.Serialization.JsonPropertyName("language_confidence_threshold")]
public float? LanguageConfidenceThreshold { get; set; }
///
- /// Enable [Automatic language detection](https://www.assemblyai.com/docs/pre-recorded-audio/language-detection), either true or false.
- /// Default Value: false
+ /// [Automatic language detection](https://www.assemblyai.com/docs/pre-recorded-audio/language-detection) identifies the spoken language and routes the request to the best model. It's applied automatically when you don't specify a `language_code`. Set to `false` only together with a `language_code`; disabling it without specifying a language returns an error.
///
[global::System.Text.Json.Serialization.JsonPropertyName("language_detection")]
public bool? LanguageDetection { get; set; }
@@ -255,8 +253,8 @@ public sealed partial class TranscriptOptionalParams
public int? SpeakersExpected { get; set; }
///
- /// Optional. Supported values: `universal-3-5-pro`, `universal-2`. If omitted, defaults to `universal-3-5-pro`. See [Model Selection](https://www.assemblyai.com/docs/pre-recorded-audio/select-the-speech-model) for available models and routing behavior.
- /// Default Value: [universal-3-5-pro]
+ /// Optional. Supported values: `universal-3-5-pro`, `universal-2`. If omitted, defaults to `["universal-3-5-pro", "universal-2"]`. See [Model Selection](https://www.assemblyai.com/docs/pre-recorded-audio/select-the-speech-model) for available models and routing behavior.
+ /// Default Value: [universal-3-5-pro, universal-2]
///
[global::System.Text.Json.Serialization.JsonPropertyName("speech_models")]
public global::System.Collections.Generic.IList? SpeechModels { get; set; }
@@ -419,8 +417,7 @@ public sealed partial class TranscriptOptionalParams
///
///
/// The language of your audio file. Possible values are found in [Supported Languages](https://www.assemblyai.com/docs/pre-recorded-audio/supported-languages).
- /// The default value is 'en_us'.
- /// Default Value: en_us
+ /// If you don't specify a language, it's detected automatically. Cannot be used together with `language_detection`.
///
///
/// The language codes of your audio file. Used for [Code switching](/speech-to-text/pre-recorded-audio/code-switching)
@@ -429,12 +426,11 @@ public sealed partial class TranscriptOptionalParams
///
/// The confidence threshold for the automatically detected language.
/// An error will be returned if the language confidence is below this threshold.
- /// Defaults to 0. See [Automatic Language Detection](https://www.assemblyai.com/docs/pre-recorded-audio/language-detection) for more details.
+ /// Defaults to 0. Can only be set when `language_detection` is enabled. See [Automatic Language Detection](https://www.assemblyai.com/docs/pre-recorded-audio/language-detection) for more details.
/// Default Value: 0
///
///
- /// Enable [Automatic language detection](https://www.assemblyai.com/docs/pre-recorded-audio/language-detection), either true or false.
- /// Default Value: false
+ /// [Automatic language detection](https://www.assemblyai.com/docs/pre-recorded-audio/language-detection) identifies the spoken language and routes the request to the best model. It's applied automatically when you don't specify a `language_code`. Set to `false` only together with a `language_code`; disabling it without specifying a language returns an error.
///
///
/// Specify options for [Automatic Language Detection](https://www.assemblyai.com/docs/pre-recorded-audio/language-detection).
@@ -499,8 +495,8 @@ public sealed partial class TranscriptOptionalParams
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
///
///
- /// Optional. Supported values: `universal-3-5-pro`, `universal-2`. If omitted, defaults to `universal-3-5-pro`. See [Model Selection](https://www.assemblyai.com/docs/pre-recorded-audio/select-the-speech-model) for available models and routing behavior.
- /// Default Value: [universal-3-5-pro]
+ /// Optional. Supported values: `universal-3-5-pro`, `universal-2`. If omitted, defaults to `["universal-3-5-pro", "universal-2"]`. See [Model Selection](https://www.assemblyai.com/docs/pre-recorded-audio/select-the-speech-model) for available models and routing behavior.
+ /// Default Value: [universal-3-5-pro, universal-2]
///
///
/// Reject audio files that contain less than this fraction of speech.
diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptParams.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptParams.g.cs
index d2876c4..c2eb2b0 100644
--- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptParams.g.cs
+++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptParams.g.cs
@@ -6,7 +6,7 @@ namespace AssemblyAI
{
///
/// The parameters for creating a transcript
- /// Example: {"speech_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","language_code":"en_us","language_detection":true,"language_confidence_threshold":0.7,"audio_url":"https://assembly.ai/wildfires.mp3","punctuate":true,"format_text":true,"multichannel":true,"webhook_url":"https://your-webhook-url/path","webhook_auth_header_name":"webhook-secret","webhook_auth_header_value":"webhook-secret-value","auto_highlights":true,"audio_start_from":10,"audio_end_at":280,"filter_profanity":true,"redact_pii":true,"redact_pii_audio":true,"redact_pii_audio_quality":"mp3","redact_pii_policies":["us_social_security_number","credit_card_number"],"redact_pii_sub":"hash","speaker_labels":true,"speakers_expected":2,"content_safety":true,"iab_categories":true,"custom_spelling":[],"disfluencies":false,"sentiment_analysis":true,"auto_chapters":false,"entity_detection":true,"speech_threshold":0.5,"summarization":false,"summary_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","summary_type":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","custom_topics":true,"topics":[],"remove_audio_tags":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","domain":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","speech_understanding":{"request":{"translation":{"target_languages":["es","de"],"formal":true,"match_original_utterance":true}}}}
+ /// Example: {"speech_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","language_detection":true,"language_confidence_threshold":0.7,"audio_url":"https://assembly.ai/wildfires.mp3","punctuate":true,"format_text":true,"multichannel":true,"webhook_url":"https://your-webhook-url/path","webhook_auth_header_name":"webhook-secret","webhook_auth_header_value":"webhook-secret-value","auto_highlights":true,"audio_start_from":10,"audio_end_at":280,"filter_profanity":true,"redact_pii":true,"redact_pii_audio":true,"redact_pii_audio_quality":"mp3","redact_pii_policies":["us_social_security_number","credit_card_number"],"redact_pii_sub":"hash","speaker_labels":true,"speakers_expected":2,"content_safety":true,"iab_categories":true,"custom_spelling":[],"disfluencies":false,"sentiment_analysis":true,"auto_chapters":false,"entity_detection":true,"speech_threshold":0.5,"summarization":false,"summary_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","summary_type":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","custom_topics":true,"topics":[],"remove_audio_tags":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","domain":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","speech_understanding":{"request":{"translation":{"target_languages":["es","de"],"formal":true,"match_original_utterance":true}}}}
///
public readonly partial struct TranscriptParams : global::System.IEquatable
{
@@ -49,7 +49,7 @@ public bool TryPickTranscriptParamsVariant1(
///
/// The parameters for creating a transcript
- /// Example: {"speech_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","language_code":"en_us","language_detection":true,"language_confidence_threshold":0.7,"punctuate":true,"format_text":true,"multichannel":true,"webhook_url":"https://your-webhook-url.tld/path","webhook_auth_header_name":"webhook-secret","webhook_auth_header_value":"webhook-secret-value","auto_highlights":true,"audio_start_from":10,"audio_end_at":280,"filter_profanity":true,"redact_pii":true,"redact_pii_audio":true,"redact_pii_audio_quality":"mp3","redact_pii_policies":["us_social_security_number","credit_card_number"],"redact_pii_sub":"hash","speaker_labels":true,"speakers_expected":2,"content_safety":true,"iab_categories":true,"custom_spelling":[],"disfluencies":false,"sentiment_analysis":true,"auto_chapters":false,"entity_detection":true,"speech_threshold":0.5,"summarization":false,"summary_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","summary_type":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","custom_topics":true,"topics":[],"remove_audio_tags":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","domain":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","speech_understanding":{"request":{"translation":{"target_languages":["es","de"],"formal":true,"match_original_utterance":true}}}}
+ /// Example: {"speech_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","language_detection":true,"language_confidence_threshold":0.7,"punctuate":true,"format_text":true,"multichannel":true,"webhook_url":"https://your-webhook-url.tld/path","webhook_auth_header_name":"webhook-secret","webhook_auth_header_value":"webhook-secret-value","auto_highlights":true,"audio_start_from":10,"audio_end_at":280,"filter_profanity":true,"redact_pii":true,"redact_pii_audio":true,"redact_pii_audio_quality":"mp3","redact_pii_policies":["us_social_security_number","credit_card_number"],"redact_pii_sub":"hash","speaker_labels":true,"speakers_expected":2,"content_safety":true,"iab_categories":true,"custom_spelling":[],"disfluencies":false,"sentiment_analysis":true,"auto_chapters":false,"entity_detection":true,"speech_threshold":0.5,"summarization":false,"summary_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","summary_type":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","custom_topics":true,"topics":[],"remove_audio_tags":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","domain":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","speech_understanding":{"request":{"translation":{"target_languages":["es","de"],"formal":true,"match_original_utterance":true}}}}
///
#if NET6_0_OR_GREATER
public global::AssemblyAI.TranscriptOptionalParams? Optional { get; init; }
diff --git a/src/libs/AssemblyAI/Generated/autosdk.generated-examples.json b/src/libs/AssemblyAI/Generated/autosdk.generated-examples.json
index a5bac16..79aa40f 100644
--- a/src/libs/AssemblyAI/Generated/autosdk.generated-examples.json
+++ b/src/libs/AssemblyAI/Generated/autosdk.generated-examples.json
@@ -94,7 +94,7 @@
"Slug": "createtranscript",
"Description": "\u003CNote\u003ETo use our EU server for transcription, replace \u0060api.assemblyai.com\u0060 with \u0060api.eu.assemblyai.com\u0060.\u003C/Note\u003E\n\u003CTip\u003EBuilding a load test or submitting a large batch? [See our guide \u2192](/pre-recorded-audio/guides/bulk-transcription-and-load-tests-at-scale)\u003C/Tip\u003E\nCreate a transcript from a media file that is accessible via a URL.",
"Language": "csharp",
- "Code": "using var client = new AssemblyAIClient(apiKey);\n\nvar request = global::System.Text.Json.JsonSerializer.Deserialize\u003Cglobal::AssemblyAI.TranscriptParams\u003E(\n @\u0022{\n \u0022\u0022speech_model\u0022\u0022: \u0022\u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\u0022,\n \u0022\u0022language_code\u0022\u0022: \u0022\u0022en_us\u0022\u0022,\n \u0022\u0022language_detection\u0022\u0022: true,\n \u0022\u0022language_confidence_threshold\u0022\u0022: 0.7,\n \u0022\u0022audio_url\u0022\u0022: \u0022\u0022https://assembly.ai/wildfires.mp3\u0022\u0022,\n \u0022\u0022punctuate\u0022\u0022: true,\n \u0022\u0022format_text\u0022\u0022: true,\n \u0022\u0022multichannel\u0022\u0022: true,\n \u0022\u0022webhook_url\u0022\u0022: \u0022\u0022https://your-webhook-url/path\u0022\u0022,\n \u0022\u0022webhook_auth_header_name\u0022\u0022: \u0022\u0022webhook-secret\u0022\u0022,\n \u0022\u0022webhook_auth_header_value\u0022\u0022: \u0022\u0022webhook-secret-value\u0022\u0022,\n \u0022\u0022auto_highlights\u0022\u0022: true,\n \u0022\u0022audio_start_from\u0022\u0022: 10,\n \u0022\u0022audio_end_at\u0022\u0022: 280,\n \u0022\u0022filter_profanity\u0022\u0022: true,\n \u0022\u0022redact_pii\u0022\u0022: true,\n \u0022\u0022redact_pii_audio\u0022\u0022: true,\n \u0022\u0022redact_pii_audio_quality\u0022\u0022: \u0022\u0022mp3\u0022\u0022,\n \u0022\u0022redact_pii_policies\u0022\u0022: [\n \u0022\u0022us_social_security_number\u0022\u0022,\n \u0022\u0022credit_card_number\u0022\u0022\n ],\n \u0022\u0022redact_pii_sub\u0022\u0022: \u0022\u0022hash\u0022\u0022,\n \u0022\u0022speaker_labels\u0022\u0022: true,\n \u0022\u0022speakers_expected\u0022\u0022: 2,\n \u0022\u0022content_safety\u0022\u0022: true,\n \u0022\u0022iab_categories\u0022\u0022: true,\n \u0022\u0022custom_spelling\u0022\u0022: [],\n \u0022\u0022disfluencies\u0022\u0022: false,\n \u0022\u0022sentiment_analysis\u0022\u0022: true,\n \u0022\u0022auto_chapters\u0022\u0022: false,\n \u0022\u0022entity_detection\u0022\u0022: true,\n \u0022\u0022speech_threshold\u0022\u0022: 0.5,\n \u0022\u0022summarization\u0022\u0022: false,\n \u0022\u0022summary_model\u0022\u0022: \u0022\u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\u0022,\n \u0022\u0022summary_type\u0022\u0022: \u0022\u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\u0022,\n \u0022\u0022custom_topics\u0022\u0022: true,\n \u0022\u0022topics\u0022\u0022: [],\n \u0022\u0022remove_audio_tags\u0022\u0022: \u0022\u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\u0022,\n \u0022\u0022domain\u0022\u0022: \u0022\u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\u0022,\n \u0022\u0022speech_understanding\u0022\u0022: {\n \u0022\u0022request\u0022\u0022: {\n \u0022\u0022translation\u0022\u0022: {\n \u0022\u0022target_languages\u0022\u0022: [\n \u0022\u0022es\u0022\u0022,\n \u0022\u0022de\u0022\u0022\n ],\n \u0022\u0022formal\u0022\u0022: true,\n \u0022\u0022match_original_utterance\u0022\u0022: true\n }\n }\n }\n}\u0022)!;\n\nvar response = await client.Transcripts.SubmitAsync(\n request: request\n);\n\n// Example response:\n// {\n// \u0022id\u0022: \u00229ea68fd3-f953-42c1-9742-976c447fb463\u0022,\n// \u0022speech_model\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022language_model\u0022: \u0022assemblyai_default\u0022,\n// \u0022acoustic_model\u0022: \u0022assemblyai_default\u0022,\n// \u0022language_code\u0022: \u0022en_us\u0022,\n// \u0022language_detection\u0022: true,\n// \u0022language_confidence_threshold\u0022: 0.7,\n// \u0022language_confidence\u0022: 0.9959,\n// \u0022status\u0022: \u0022completed\u0022,\n// \u0022audio_url\u0022: \u0022https://assembly.ai/wildfires.mp3\u0022,\n// \u0022text\u0022: \u0022Smoke from hundreds of wildfires in Canada is triggering air quality alerts throughout the US. Skylines from Maine to Maryland to Minnesota are gray and smoggy. And in some places, the air quality warnings include the warning to stay inside. We wanted to better understand what\\u0027s happening here and why, so we called Peter de Carlo, an associate professor in the Department of Environmental Health and Engineering at Johns Hopkins University Varsity. Good morning, professor. Good morning. What is it about the conditions right now that have caused this round of wildfires to affect so many people so far away? Well, there\\u0027s a couple of things. The season has been pretty dry already. And then the fact that we\\u0027re getting hit in the US. Is because there\\u0027s a couple of weather systems that are essentially channeling the smoke from those Canadian wildfires through Pennsylvania into the Mid Atlantic and the Northeast and kind of just dropping the smoke there. So what is it in this haze that makes it harmful? And I\\u0027m assuming it is harmful. It is. The levels outside right now in Baltimore are considered unhealthy. And most of that is due to what\\u0027s called particulate matter, which are tiny particles, microscopic smaller than the width of your hair that can get into your lungs and impact your respiratory system, your cardiovascular system, and even your neurological your brain. What makes this particularly harmful? Is it the volume of particulant? Is it something in particular? What is it exactly? Can you just drill down on that a little bit more? Yeah. So the concentration of particulate matter I was looking at some of the monitors that we have was reaching levels of what are, in science, big 150 micrograms per meter cubed, which is more than ten times what the annual average should be and about four times higher than what you\\u0027re supposed to have on a 24 hours average. And so the concentrations of these particles in the air are just much, much higher than we typically see. And exposure to those high levels can lead to a host of health problems. And who is most vulnerable? I noticed that in New York City, for example, they\\u0027re canceling outdoor activities. And so here it is in the early days of summer, and they have to keep all the kids inside. So who tends to be vulnerable in a situation like this? It\\u0027s the youngest. So children, obviously, whose bodies are still developing. The elderly, who are their bodies are more in decline and they\\u0027re more susceptible to the health impacts of breathing, the poor air quality. And then people who have preexisting health conditions, people with respiratory conditions or heart conditions can be triggered by high levels of air pollution. Could this get worse? That\\u0027s a good question. In some areas, it\\u0027s much worse than others. And it just depends on kind of where the smoke is concentrated. I think New York has some of the higher concentrations right now, but that\\u0027s going to change as that air moves away from the New York area. But over the course of the next few days, we will see different areas being hit at different times with the highest concentrations. I was going to ask you about more fires start burning. I don\\u0027t expect the concentrations to go up too much higher. I was going to ask you how and you started to answer this, but how much longer could this last? Or forgive me if I\\u0027m asking you to speculate, but what do you think? Well, I think the fires are going to burn for a little bit longer, but the key for us in the US. Is the weather system changing. And so right now, it\\u0027s kind of the weather systems that are pulling that air into our mid Atlantic and Northeast region. As those weather systems change and shift, we\\u0027ll see that smoke going elsewhere and not impact us in this region as much. And so I think that\\u0027s going to be the defining factor. And I think the next couple of days we\\u0027re going to see a shift in that weather pattern and start to push the smoke away from where we are. And finally, with the impacts of climate change, we are seeing more wildfires. Will we be seeing more of these kinds of wide ranging air quality consequences or circumstances? I mean, that is one of the predictions for climate change. Looking into the future, the fire season is starting earlier and lasting longer, and we\\u0027re seeing more frequent fires. So, yeah, this is probably something that we\\u0027ll be seeing more frequently. This tends to be much more of an issue in the Western US. So the eastern US. Getting hit right now is a little bit new. But yeah, I think with climate change moving forward, this is something that is going to happen more frequently. That\\u0027s Peter De Carlo, associate professor in the Department of Environmental Health and Engineering at Johns Hopkins University. Sergeant Carlo, thanks so much for joining us and sharing this expertise with us. Thank you for having me.\u0022,\n// \u0022words\u0022: [\n// {\n// \u0022text\u0022: \u0022Smoke\u0022,\n// \u0022start\u0022: 250,\n// \u0022end\u0022: 650,\n// \u0022confidence\u0022: 0.97465,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022from\u0022,\n// \u0022start\u0022: 730,\n// \u0022end\u0022: 1022,\n// \u0022confidence\u0022: 0.99999,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022hundreds\u0022,\n// \u0022start\u0022: 1076,\n// \u0022end\u0022: 1418,\n// \u0022confidence\u0022: 0.99844,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022of\u0022,\n// \u0022start\u0022: 1434,\n// \u0022end\u0022: 1614,\n// \u0022confidence\u0022: 0.84,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022wildfires\u0022,\n// \u0022start\u0022: 1652,\n// \u0022end\u0022: 2346,\n// \u0022confidence\u0022: 0.89572,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022in\u0022,\n// \u0022start\u0022: 2378,\n// \u0022end\u0022: 2526,\n// \u0022confidence\u0022: 0.99994,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022Canada\u0022,\n// \u0022start\u0022: 2548,\n// \u0022end\u0022: 3130,\n// \u0022confidence\u0022: 0.93953,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022is\u0022,\n// \u0022start\u0022: 3210,\n// \u0022end\u0022: 3454,\n// \u0022confidence\u0022: 0.999,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022triggering\u0022,\n// \u0022start\u0022: 3492,\n// \u0022end\u0022: 3946,\n// \u0022confidence\u0022: 0.74794,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022air\u0022,\n// \u0022start\u0022: 3978,\n// \u0022end\u0022: 4174,\n// \u0022confidence\u0022: 1,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022quality\u0022,\n// \u0022start\u0022: 4212,\n// \u0022end\u0022: 4558,\n// \u0022confidence\u0022: 0.88077,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022alerts\u0022,\n// \u0022start\u0022: 4644,\n// \u0022end\u0022: 5114,\n// \u0022confidence\u0022: 0.94814,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022throughout\u0022,\n// \u0022start\u0022: 5162,\n// \u0022end\u0022: 5466,\n// \u0022confidence\u0022: 0.99726,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022the\u0022,\n// \u0022start\u0022: 5498,\n// \u0022end\u0022: 5694,\n// \u0022confidence\u0022: 0.79,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022US.\u0022,\n// \u0022start\u0022: 5732,\n// \u0022end\u0022: 6382,\n// \u0022confidence\u0022: 0.89,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// }\n// ],\n// \u0022utterances\u0022: [\n// {\n// \u0022confidence\u0022: 0.9359033333333334,\n// \u0022end\u0022: 26950,\n// \u0022speaker\u0022: \u0022A\u0022,\n// \u0022start\u0022: 250,\n// \u0022text\u0022: \u0022Smoke from hundreds of wildfires in Canada is triggering air quality alerts throughout the US. Skylines from Maine to Maryland to Minnesota are gray and smoggy. And in some places, the air quality warnings include the warning to stay inside. We wanted to better understand what\\u0027s happening here and why, so we called Peter de Carlo, an associate professor in the Department of Environmental Health and Engineering at Johns Hopkins University Varsity. Good morning, professor.\u0022,\n// \u0022words\u0022: [\n// {\n// \u0022text\u0022: \u0022Smoke\u0022,\n// \u0022start\u0022: 250,\n// \u0022end\u0022: 650,\n// \u0022confidence\u0022: 0.97503,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022from\u0022,\n// \u0022start\u0022: 730,\n// \u0022end\u0022: 1022,\n// \u0022confidence\u0022: 0.99999,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022hundreds\u0022,\n// \u0022start\u0022: 1076,\n// \u0022end\u0022: 1418,\n// \u0022confidence\u0022: 0.99843,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022of\u0022,\n// \u0022start\u0022: 1434,\n// \u0022end\u0022: 1614,\n// \u0022confidence\u0022: 0.85,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022wildfires\u0022,\n// \u0022start\u0022: 1652,\n// \u0022end\u0022: 2346,\n// \u0022confidence\u0022: 0.89657,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022in\u0022,\n// \u0022start\u0022: 2378,\n// \u0022end\u0022: 2526,\n// \u0022confidence\u0022: 0.99994,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022Canada\u0022,\n// \u0022start\u0022: 2548,\n// \u0022end\u0022: 3130,\n// \u0022confidence\u0022: 0.93864,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022is\u0022,\n// \u0022start\u0022: 3210,\n// \u0022end\u0022: 3454,\n// \u0022confidence\u0022: 0.999,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022triggering\u0022,\n// \u0022start\u0022: 3492,\n// \u0022end\u0022: 3946,\n// \u0022confidence\u0022: 0.75366,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022air\u0022,\n// \u0022start\u0022: 3978,\n// \u0022end\u0022: 4174,\n// \u0022confidence\u0022: 1,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022quality\u0022,\n// \u0022start\u0022: 4212,\n// \u0022end\u0022: 4558,\n// \u0022confidence\u0022: 0.87745,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022alerts\u0022,\n// \u0022start\u0022: 4644,\n// \u0022end\u0022: 5114,\n// \u0022confidence\u0022: 0.94739,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022throughout\u0022,\n// \u0022start\u0022: 5162,\n// \u0022end\u0022: 5466,\n// \u0022confidence\u0022: 0.99726,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022the\u0022,\n// \u0022start\u0022: 5498,\n// \u0022end\u0022: 5694,\n// \u0022confidence\u0022: 0.79,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022US.\u0022,\n// \u0022start\u0022: 5732,\n// \u0022end\u0022: 6382,\n// \u0022confidence\u0022: 0.88,\n// \u0022speaker\u0022: \u0022A\u0022\n// }\n// ]\n// }\n// ],\n// \u0022confidence\u0022: 0.9404651451800253,\n// \u0022audio_duration\u0022: 281,\n// \u0022punctuate\u0022: true,\n// \u0022format_text\u0022: true,\n// \u0022multichannel\u0022: false,\n// \u0022webhook_url\u0022: \u0022https://your-webhook-url.tld/path\u0022,\n// \u0022webhook_status_code\u0022: 200,\n// \u0022webhook_auth\u0022: true,\n// \u0022webhook_auth_header_name\u0022: \u0022webhook-secret\u0022,\n// \u0022auto_highlights_result\u0022: {\n// \u0022status\u0022: \u0022success\u0022,\n// \u0022results\u0022: [\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.08,\n// \u0022text\u0022: \u0022air quality alerts\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 3978,\n// \u0022end\u0022: 5114\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.08,\n// \u0022text\u0022: \u0022wide ranging air quality consequences\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 235388,\n// \u0022end\u0022: 238694\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.07,\n// \u0022text\u0022: \u0022more wildfires\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 230972,\n// \u0022end\u0022: 232354\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.07,\n// \u0022text\u0022: \u0022air pollution\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 156004,\n// \u0022end\u0022: 156910\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 3,\n// \u0022rank\u0022: 0.07,\n// \u0022text\u0022: \u0022weather systems\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 47344,\n// \u0022end\u0022: 47958\n// },\n// {\n// \u0022start\u0022: 205268,\n// \u0022end\u0022: 205818\n// },\n// {\n// \u0022start\u0022: 211588,\n// \u0022end\u0022: 213434\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 2,\n// \u0022rank\u0022: 0.06,\n// \u0022text\u0022: \u0022high levels\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 121128,\n// \u0022end\u0022: 121646\n// },\n// {\n// \u0022start\u0022: 155412,\n// \u0022end\u0022: 155866\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.06,\n// \u0022text\u0022: \u0022health conditions\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 152138,\n// \u0022end\u0022: 152666\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 2,\n// \u0022rank\u0022: 0.06,\n// \u0022text\u0022: \u0022Peter de Carlo\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 18948,\n// \u0022end\u0022: 19930\n// },\n// {\n// \u0022start\u0022: 268298,\n// \u0022end\u0022: 269194\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.06,\n// \u0022text\u0022: \u0022New York City\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 125768,\n// \u0022end\u0022: 126274\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.05,\n// \u0022text\u0022: \u0022respiratory conditions\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 152964,\n// \u0022end\u0022: 153786\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 3,\n// \u0022rank\u0022: 0.05,\n// \u0022text\u0022: \u0022New York\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 125768,\n// \u0022end\u0022: 126034\n// },\n// {\n// \u0022start\u0022: 171448,\n// \u0022end\u0022: 171938\n// },\n// {\n// \u0022start\u0022: 176008,\n// \u0022end\u0022: 176322\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 3,\n// \u0022rank\u0022: 0.05,\n// \u0022text\u0022: \u0022climate change\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 229548,\n// \u0022end\u0022: 230230\n// },\n// {\n// \u0022start\u0022: 244576,\n// \u0022end\u0022: 245162\n// },\n// {\n// \u0022start\u0022: 263348,\n// \u0022end\u0022: 263950\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.05,\n// \u0022text\u0022: \u0022Johns Hopkins University Varsity\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 23972,\n// \u0022end\u0022: 25490\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.05,\n// \u0022text\u0022: \u0022heart conditions\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 153988,\n// \u0022end\u0022: 154506\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.05,\n// \u0022text\u0022: \u0022air quality warnings\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 12308,\n// \u0022end\u0022: 13434\n// }\n// ]\n// }\n// ]\n// },\n// \u0022auto_highlights\u0022: true,\n// \u0022audio_start_from\u0022: 10,\n// \u0022audio_end_at\u0022: 280,\n// \u0022filter_profanity\u0022: true,\n// \u0022redact_pii\u0022: true,\n// \u0022redact_pii_audio\u0022: true,\n// \u0022redact_pii_audio_quality\u0022: \u0022mp3\u0022,\n// \u0022redact_pii_policies\u0022: [\n// \u0022us_social_security_number\u0022,\n// \u0022credit_card_number\u0022\n// ],\n// \u0022redact_pii_sub\u0022: \u0022hash\u0022,\n// \u0022speaker_labels\u0022: true,\n// \u0022content_safety\u0022: true,\n// \u0022iab_categories\u0022: true,\n// \u0022content_safety_labels\u0022: {\n// \u0022status\u0022: \u0022success\u0022,\n// \u0022results\u0022: [\n// {\n// \u0022text\u0022: \u0022Smoke from hundreds of wildfires in Canada is triggering air quality alerts throughout the US. Skylines from Maine to Maryland to Minnesota are gray and smoggy. And in some places, the air quality warnings include the warning to stay inside. We wanted to better understand what\\u0027s happening here and why, so we called Peter de Carlo, an associate professor in the Department of Environmental Health and Engineering at Johns Hopkins University Varsity. Good morning, professor. Good morning.\u0022,\n// \u0022labels\u0022: [\n// {\n// \u0022label\u0022: \u0022disasters\u0022,\n// \u0022confidence\u0022: 0.8142836093902588,\n// \u0022severity\u0022: 0.4093044400215149\n// }\n// ],\n// \u0022sentences_idx_start\u0022: 0,\n// \u0022sentences_idx_end\u0022: 5,\n// \u0022timestamp\u0022: {\n// \u0022start\u0022: 250,\n// \u0022end\u0022: 28840\n// }\n// }\n// ],\n// \u0022summary\u0022: {\n// \u0022disasters\u0022: 0.9940800441842205,\n// \u0022health_issues\u0022: 0.9216489289040967\n// },\n// \u0022severity_score_summary\u0022: {\n// \u0022disasters\u0022: {\n// \u0022low\u0022: 0.5733263024656846,\n// \u0022medium\u0022: 0.42667369753431533,\n// \u0022high\u0022: 0\n// },\n// \u0022health_issues\u0022: {\n// \u0022low\u0022: 0.22863814977924785,\n// \u0022medium\u0022: 0.45014154926938227,\n// \u0022high\u0022: 0.32122030095136983\n// }\n// }\n// },\n// \u0022iab_categories_result\u0022: {\n// \u0022status\u0022: \u0022success\u0022,\n// \u0022results\u0022: [\n// {\n// \u0022text\u0022: \u0022Smoke from hundreds of wildfires in Canada is triggering air quality alerts throughout the US. Skylines from Maine to Maryland to Minnesota are gray and smoggy. And in some places, the air quality warnings include the warning to stay inside. We wanted to better understand what\\u0027s happening here and why, so we called Peter de Carlo, an associate professor in the Department of Environmental Health and Engineering at Johns Hopkins University Varsity. Good morning, professor. Good morning.\u0022,\n// \u0022labels\u0022: [\n// {\n// \u0022relevance\u0022: 0.988274097442627,\n// \u0022label\u0022: \u0022Home\\u0026Garden\\u003EIndoorEnvironmentalQuality\u0022\n// },\n// {\n// \u0022relevance\u0022: 0.5821335911750793,\n// \u0022label\u0022: \u0022NewsAndPolitics\\u003EWeather\u0022\n// },\n// {\n// \u0022relevance\u0022: 0.0042327106930315495,\n// \u0022label\u0022: \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003ELungAndRespiratoryHealth\u0022\n// },\n// {\n// \u0022relevance\u0022: 0.0033971222583204508,\n// \u0022label\u0022: \u0022NewsAndPolitics\\u003EDisasters\u0022\n// },\n// {\n// \u0022relevance\u0022: 0.002469958271831274,\n// \u0022label\u0022: \u0022BusinessAndFinance\\u003EBusiness\\u003EGreenSolutions\u0022\n// },\n// {\n// \u0022relevance\u0022: 0.0014376690378412604,\n// \u0022label\u0022: \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003ECancer\u0022\n// },\n// {\n// \u0022relevance\u0022: 0.0014294233405962586,\n// \u0022label\u0022: \u0022Science\\u003EEnvironment\u0022\n// },\n// {\n// \u0022relevance\u0022: 0.001234519761055708,\n// \u0022label\u0022: \u0022Travel\\u003ETravelLocations\\u003EPolarTravel\u0022\n// },\n// {\n// \u0022relevance\u0022: 0.0010231725173071027,\n// \u0022label\u0022: \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003EColdAndFlu\u0022\n// },\n// {\n// \u0022relevance\u0022: 0.0007445293595083058,\n// \u0022label\u0022: \u0022BusinessAndFinance\\u003EIndustries\\u003EPowerAndEnergyIndustry\u0022\n// }\n// ],\n// \u0022timestamp\u0022: {\n// \u0022start\u0022: 250,\n// \u0022end\u0022: 28840\n// }\n// }\n// ],\n// \u0022summary\u0022: {\n// \u0022NewsAndPolitics\\u003EWeather\u0022: 1,\n// \u0022Home\\u0026Garden\\u003EIndoorEnvironmentalQuality\u0022: 0.9043831825256348,\n// \u0022Science\\u003EEnvironment\u0022: 0.16117265820503235,\n// \u0022BusinessAndFinance\\u003EIndustries\\u003EEnvironmentalServicesIndustry\u0022: 0.14393523335456848,\n// \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003ELungAndRespiratoryHealth\u0022: 0.11401086300611496,\n// \u0022BusinessAndFinance\\u003EBusiness\\u003EGreenSolutions\u0022: 0.06348437070846558,\n// \u0022NewsAndPolitics\\u003EDisasters\u0022: 0.05041387677192688,\n// \u0022Travel\\u003ETravelLocations\\u003EPolarTravel\u0022: 0.01308488193899393,\n// \u0022HealthyLiving\u0022: 0.008222488686442375,\n// \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003EColdAndFlu\u0022: 0.0022315620444715023,\n// \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003EHeartAndCardiovascularDiseases\u0022: 0.00213034451007843,\n// \u0022HealthyLiving\\u003EWellness\\u003ESmokingCessation\u0022: 0.001540527562610805,\n// \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003EInjuries\u0022: 0.0013950627762824297,\n// \u0022BusinessAndFinance\\u003EIndustries\\u003EPowerAndEnergyIndustry\u0022: 0.0012570273829624057,\n// \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003ECancer\u0022: 0.001097781932912767,\n// \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003EAllergies\u0022: 0.0010148967849090695,\n// \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003EMentalHealth\u0022: 0.000717321818228811,\n// \u0022Style\\u0026Fashion\\u003EPersonalCare\\u003EDeodorantAndAntiperspirant\u0022: 0.0006022014422342181,\n// \u0022Technology\\u0026Computing\\u003EComputing\\u003EComputerNetworking\u0022: 0.0005461975233629346,\n// \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003EInjuries\\u003EFirstAid\u0022: 0.0004885646631009877\n// }\n// },\n// \u0022custom_spelling\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022throttled\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022auto_chapters\u0022: false,\n// \u0022summarization\u0022: false,\n// \u0022summary_type\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022summary_model\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022custom_topics\u0022: true,\n// \u0022topics\u0022: [],\n// \u0022speech_threshold\u0022: 0.5,\n// \u0022remove_audio_tags\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022domain\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022disfluencies\u0022: false,\n// \u0022sentiment_analysis\u0022: true,\n// \u0022sentiment_analysis_results\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022entity_detection\u0022: true,\n// \u0022entities\u0022: [\n// {\n// \u0022entity_type\u0022: \u0022location\u0022,\n// \u0022text\u0022: \u0022Canada\u0022,\n// \u0022start\u0022: 2548,\n// \u0022end\u0022: 3130\n// },\n// {\n// \u0022entity_type\u0022: \u0022location\u0022,\n// \u0022text\u0022: \u0022the US\u0022,\n// \u0022start\u0022: 5498,\n// \u0022end\u0022: 6382\n// },\n// {\n// \u0022entity_type\u0022: \u0022location\u0022,\n// \u0022text\u0022: \u0022Maine\u0022,\n// \u0022start\u0022: 7492,\n// \u0022end\u0022: 7914\n// },\n// {\n// \u0022entity_type\u0022: \u0022location\u0022,\n// \u0022text\u0022: \u0022Maryland\u0022,\n// \u0022start\u0022: 8212,\n// \u0022end\u0022: 8634\n// },\n// {\n// \u0022entity_type\u0022: \u0022location\u0022,\n// \u0022text\u0022: \u0022Minnesota\u0022,\n// \u0022start\u0022: 8932,\n// \u0022end\u0022: 9578\n// },\n// {\n// \u0022entity_type\u0022: \u0022person_name\u0022,\n// \u0022text\u0022: \u0022Peter de Carlo\u0022,\n// \u0022start\u0022: 18948,\n// \u0022end\u0022: 19930\n// },\n// {\n// \u0022entity_type\u0022: \u0022occupation\u0022,\n// \u0022text\u0022: \u0022associate professor\u0022,\n// \u0022start\u0022: 20292,\n// \u0022end\u0022: 21194\n// },\n// {\n// \u0022entity_type\u0022: \u0022organization\u0022,\n// \u0022text\u0022: \u0022Department of Environmental Health and Engineering\u0022,\n// \u0022start\u0022: 21508,\n// \u0022end\u0022: 23706\n// },\n// {\n// \u0022entity_type\u0022: \u0022organization\u0022,\n// \u0022text\u0022: \u0022Johns Hopkins University Varsity\u0022,\n// \u0022start\u0022: 23972,\n// \u0022end\u0022: 25490\n// },\n// {\n// \u0022entity_type\u0022: \u0022occupation\u0022,\n// \u0022text\u0022: \u0022professor\u0022,\n// \u0022start\u0022: 26076,\n// \u0022end\u0022: 26950\n// },\n// {\n// \u0022entity_type\u0022: \u0022location\u0022,\n// \u0022text\u0022: \u0022the US\u0022,\n// \u0022start\u0022: 45184,\n// \u0022end\u0022: 45898\n// },\n// {\n// \u0022entity_type\u0022: \u0022nationality\u0022,\n// \u0022text\u0022: \u0022Canadian\u0022,\n// \u0022start\u0022: 49728,\n// \u0022end\u0022: 50086\n// }\n// ],\n// \u0022chapters\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022summary\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022speakers_expected\u0022: 2\n// }",
+ "Code": "using var client = new AssemblyAIClient(apiKey);\n\nvar request = global::System.Text.Json.JsonSerializer.Deserialize\u003Cglobal::AssemblyAI.TranscriptParams\u003E(\n @\u0022{\n \u0022\u0022speech_model\u0022\u0022: \u0022\u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\u0022,\n \u0022\u0022language_detection\u0022\u0022: true,\n \u0022\u0022language_confidence_threshold\u0022\u0022: 0.7,\n \u0022\u0022audio_url\u0022\u0022: \u0022\u0022https://assembly.ai/wildfires.mp3\u0022\u0022,\n \u0022\u0022punctuate\u0022\u0022: true,\n \u0022\u0022format_text\u0022\u0022: true,\n \u0022\u0022multichannel\u0022\u0022: true,\n \u0022\u0022webhook_url\u0022\u0022: \u0022\u0022https://your-webhook-url/path\u0022\u0022,\n \u0022\u0022webhook_auth_header_name\u0022\u0022: \u0022\u0022webhook-secret\u0022\u0022,\n \u0022\u0022webhook_auth_header_value\u0022\u0022: \u0022\u0022webhook-secret-value\u0022\u0022,\n \u0022\u0022auto_highlights\u0022\u0022: true,\n \u0022\u0022audio_start_from\u0022\u0022: 10,\n \u0022\u0022audio_end_at\u0022\u0022: 280,\n \u0022\u0022filter_profanity\u0022\u0022: true,\n \u0022\u0022redact_pii\u0022\u0022: true,\n \u0022\u0022redact_pii_audio\u0022\u0022: true,\n \u0022\u0022redact_pii_audio_quality\u0022\u0022: \u0022\u0022mp3\u0022\u0022,\n \u0022\u0022redact_pii_policies\u0022\u0022: [\n \u0022\u0022us_social_security_number\u0022\u0022,\n \u0022\u0022credit_card_number\u0022\u0022\n ],\n \u0022\u0022redact_pii_sub\u0022\u0022: \u0022\u0022hash\u0022\u0022,\n \u0022\u0022speaker_labels\u0022\u0022: true,\n \u0022\u0022speakers_expected\u0022\u0022: 2,\n \u0022\u0022content_safety\u0022\u0022: true,\n \u0022\u0022iab_categories\u0022\u0022: true,\n \u0022\u0022custom_spelling\u0022\u0022: [],\n \u0022\u0022disfluencies\u0022\u0022: false,\n \u0022\u0022sentiment_analysis\u0022\u0022: true,\n \u0022\u0022auto_chapters\u0022\u0022: false,\n \u0022\u0022entity_detection\u0022\u0022: true,\n \u0022\u0022speech_threshold\u0022\u0022: 0.5,\n \u0022\u0022summarization\u0022\u0022: false,\n \u0022\u0022summary_model\u0022\u0022: \u0022\u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\u0022,\n \u0022\u0022summary_type\u0022\u0022: \u0022\u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\u0022,\n \u0022\u0022custom_topics\u0022\u0022: true,\n \u0022\u0022topics\u0022\u0022: [],\n \u0022\u0022remove_audio_tags\u0022\u0022: \u0022\u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\u0022,\n \u0022\u0022domain\u0022\u0022: \u0022\u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\u0022,\n \u0022\u0022speech_understanding\u0022\u0022: {\n \u0022\u0022request\u0022\u0022: {\n \u0022\u0022translation\u0022\u0022: {\n \u0022\u0022target_languages\u0022\u0022: [\n \u0022\u0022es\u0022\u0022,\n \u0022\u0022de\u0022\u0022\n ],\n \u0022\u0022formal\u0022\u0022: true,\n \u0022\u0022match_original_utterance\u0022\u0022: true\n }\n }\n }\n}\u0022)!;\n\nvar response = await client.Transcripts.SubmitAsync(\n request: request\n);\n\n// Example response:\n// {\n// \u0022id\u0022: \u00229ea68fd3-f953-42c1-9742-976c447fb463\u0022,\n// \u0022speech_model\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022language_model\u0022: \u0022assemblyai_default\u0022,\n// \u0022acoustic_model\u0022: \u0022assemblyai_default\u0022,\n// \u0022language_code\u0022: \u0022en_us\u0022,\n// \u0022language_detection\u0022: true,\n// \u0022language_confidence_threshold\u0022: 0.7,\n// \u0022language_confidence\u0022: 0.9959,\n// \u0022status\u0022: \u0022completed\u0022,\n// \u0022audio_url\u0022: \u0022https://assembly.ai/wildfires.mp3\u0022,\n// \u0022text\u0022: \u0022Smoke from hundreds of wildfires in Canada is triggering air quality alerts throughout the US. Skylines from Maine to Maryland to Minnesota are gray and smoggy. And in some places, the air quality warnings include the warning to stay inside. We wanted to better understand what\\u0027s happening here and why, so we called Peter de Carlo, an associate professor in the Department of Environmental Health and Engineering at Johns Hopkins University Varsity. Good morning, professor. Good morning. What is it about the conditions right now that have caused this round of wildfires to affect so many people so far away? Well, there\\u0027s a couple of things. The season has been pretty dry already. And then the fact that we\\u0027re getting hit in the US. Is because there\\u0027s a couple of weather systems that are essentially channeling the smoke from those Canadian wildfires through Pennsylvania into the Mid Atlantic and the Northeast and kind of just dropping the smoke there. So what is it in this haze that makes it harmful? And I\\u0027m assuming it is harmful. It is. The levels outside right now in Baltimore are considered unhealthy. And most of that is due to what\\u0027s called particulate matter, which are tiny particles, microscopic smaller than the width of your hair that can get into your lungs and impact your respiratory system, your cardiovascular system, and even your neurological your brain. What makes this particularly harmful? Is it the volume of particulant? Is it something in particular? What is it exactly? Can you just drill down on that a little bit more? Yeah. So the concentration of particulate matter I was looking at some of the monitors that we have was reaching levels of what are, in science, big 150 micrograms per meter cubed, which is more than ten times what the annual average should be and about four times higher than what you\\u0027re supposed to have on a 24 hours average. And so the concentrations of these particles in the air are just much, much higher than we typically see. And exposure to those high levels can lead to a host of health problems. And who is most vulnerable? I noticed that in New York City, for example, they\\u0027re canceling outdoor activities. And so here it is in the early days of summer, and they have to keep all the kids inside. So who tends to be vulnerable in a situation like this? It\\u0027s the youngest. So children, obviously, whose bodies are still developing. The elderly, who are their bodies are more in decline and they\\u0027re more susceptible to the health impacts of breathing, the poor air quality. And then people who have preexisting health conditions, people with respiratory conditions or heart conditions can be triggered by high levels of air pollution. Could this get worse? That\\u0027s a good question. In some areas, it\\u0027s much worse than others. And it just depends on kind of where the smoke is concentrated. I think New York has some of the higher concentrations right now, but that\\u0027s going to change as that air moves away from the New York area. But over the course of the next few days, we will see different areas being hit at different times with the highest concentrations. I was going to ask you about more fires start burning. I don\\u0027t expect the concentrations to go up too much higher. I was going to ask you how and you started to answer this, but how much longer could this last? Or forgive me if I\\u0027m asking you to speculate, but what do you think? Well, I think the fires are going to burn for a little bit longer, but the key for us in the US. Is the weather system changing. And so right now, it\\u0027s kind of the weather systems that are pulling that air into our mid Atlantic and Northeast region. As those weather systems change and shift, we\\u0027ll see that smoke going elsewhere and not impact us in this region as much. And so I think that\\u0027s going to be the defining factor. And I think the next couple of days we\\u0027re going to see a shift in that weather pattern and start to push the smoke away from where we are. And finally, with the impacts of climate change, we are seeing more wildfires. Will we be seeing more of these kinds of wide ranging air quality consequences or circumstances? I mean, that is one of the predictions for climate change. Looking into the future, the fire season is starting earlier and lasting longer, and we\\u0027re seeing more frequent fires. So, yeah, this is probably something that we\\u0027ll be seeing more frequently. This tends to be much more of an issue in the Western US. So the eastern US. Getting hit right now is a little bit new. But yeah, I think with climate change moving forward, this is something that is going to happen more frequently. That\\u0027s Peter De Carlo, associate professor in the Department of Environmental Health and Engineering at Johns Hopkins University. Sergeant Carlo, thanks so much for joining us and sharing this expertise with us. Thank you for having me.\u0022,\n// \u0022words\u0022: [\n// {\n// \u0022text\u0022: \u0022Smoke\u0022,\n// \u0022start\u0022: 250,\n// \u0022end\u0022: 650,\n// \u0022confidence\u0022: 0.97465,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022from\u0022,\n// \u0022start\u0022: 730,\n// \u0022end\u0022: 1022,\n// \u0022confidence\u0022: 0.99999,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022hundreds\u0022,\n// \u0022start\u0022: 1076,\n// \u0022end\u0022: 1418,\n// \u0022confidence\u0022: 0.99844,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022of\u0022,\n// \u0022start\u0022: 1434,\n// \u0022end\u0022: 1614,\n// \u0022confidence\u0022: 0.84,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022wildfires\u0022,\n// \u0022start\u0022: 1652,\n// \u0022end\u0022: 2346,\n// \u0022confidence\u0022: 0.89572,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022in\u0022,\n// \u0022start\u0022: 2378,\n// \u0022end\u0022: 2526,\n// \u0022confidence\u0022: 0.99994,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022Canada\u0022,\n// \u0022start\u0022: 2548,\n// \u0022end\u0022: 3130,\n// \u0022confidence\u0022: 0.93953,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022is\u0022,\n// \u0022start\u0022: 3210,\n// \u0022end\u0022: 3454,\n// \u0022confidence\u0022: 0.999,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022triggering\u0022,\n// \u0022start\u0022: 3492,\n// \u0022end\u0022: 3946,\n// \u0022confidence\u0022: 0.74794,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022air\u0022,\n// \u0022start\u0022: 3978,\n// \u0022end\u0022: 4174,\n// \u0022confidence\u0022: 1,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022quality\u0022,\n// \u0022start\u0022: 4212,\n// \u0022end\u0022: 4558,\n// \u0022confidence\u0022: 0.88077,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022alerts\u0022,\n// \u0022start\u0022: 4644,\n// \u0022end\u0022: 5114,\n// \u0022confidence\u0022: 0.94814,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022throughout\u0022,\n// \u0022start\u0022: 5162,\n// \u0022end\u0022: 5466,\n// \u0022confidence\u0022: 0.99726,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022the\u0022,\n// \u0022start\u0022: 5498,\n// \u0022end\u0022: 5694,\n// \u0022confidence\u0022: 0.79,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// },\n// {\n// \u0022text\u0022: \u0022US.\u0022,\n// \u0022start\u0022: 5732,\n// \u0022end\u0022: 6382,\n// \u0022confidence\u0022: 0.89,\n// \u0022speaker\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022\n// }\n// ],\n// \u0022utterances\u0022: [\n// {\n// \u0022confidence\u0022: 0.9359033333333334,\n// \u0022end\u0022: 26950,\n// \u0022speaker\u0022: \u0022A\u0022,\n// \u0022start\u0022: 250,\n// \u0022text\u0022: \u0022Smoke from hundreds of wildfires in Canada is triggering air quality alerts throughout the US. Skylines from Maine to Maryland to Minnesota are gray and smoggy. And in some places, the air quality warnings include the warning to stay inside. We wanted to better understand what\\u0027s happening here and why, so we called Peter de Carlo, an associate professor in the Department of Environmental Health and Engineering at Johns Hopkins University Varsity. Good morning, professor.\u0022,\n// \u0022words\u0022: [\n// {\n// \u0022text\u0022: \u0022Smoke\u0022,\n// \u0022start\u0022: 250,\n// \u0022end\u0022: 650,\n// \u0022confidence\u0022: 0.97503,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022from\u0022,\n// \u0022start\u0022: 730,\n// \u0022end\u0022: 1022,\n// \u0022confidence\u0022: 0.99999,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022hundreds\u0022,\n// \u0022start\u0022: 1076,\n// \u0022end\u0022: 1418,\n// \u0022confidence\u0022: 0.99843,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022of\u0022,\n// \u0022start\u0022: 1434,\n// \u0022end\u0022: 1614,\n// \u0022confidence\u0022: 0.85,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022wildfires\u0022,\n// \u0022start\u0022: 1652,\n// \u0022end\u0022: 2346,\n// \u0022confidence\u0022: 0.89657,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022in\u0022,\n// \u0022start\u0022: 2378,\n// \u0022end\u0022: 2526,\n// \u0022confidence\u0022: 0.99994,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022Canada\u0022,\n// \u0022start\u0022: 2548,\n// \u0022end\u0022: 3130,\n// \u0022confidence\u0022: 0.93864,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022is\u0022,\n// \u0022start\u0022: 3210,\n// \u0022end\u0022: 3454,\n// \u0022confidence\u0022: 0.999,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022triggering\u0022,\n// \u0022start\u0022: 3492,\n// \u0022end\u0022: 3946,\n// \u0022confidence\u0022: 0.75366,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022air\u0022,\n// \u0022start\u0022: 3978,\n// \u0022end\u0022: 4174,\n// \u0022confidence\u0022: 1,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022quality\u0022,\n// \u0022start\u0022: 4212,\n// \u0022end\u0022: 4558,\n// \u0022confidence\u0022: 0.87745,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022alerts\u0022,\n// \u0022start\u0022: 4644,\n// \u0022end\u0022: 5114,\n// \u0022confidence\u0022: 0.94739,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022throughout\u0022,\n// \u0022start\u0022: 5162,\n// \u0022end\u0022: 5466,\n// \u0022confidence\u0022: 0.99726,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022the\u0022,\n// \u0022start\u0022: 5498,\n// \u0022end\u0022: 5694,\n// \u0022confidence\u0022: 0.79,\n// \u0022speaker\u0022: \u0022A\u0022\n// },\n// {\n// \u0022text\u0022: \u0022US.\u0022,\n// \u0022start\u0022: 5732,\n// \u0022end\u0022: 6382,\n// \u0022confidence\u0022: 0.88,\n// \u0022speaker\u0022: \u0022A\u0022\n// }\n// ]\n// }\n// ],\n// \u0022confidence\u0022: 0.9404651451800253,\n// \u0022audio_duration\u0022: 281,\n// \u0022punctuate\u0022: true,\n// \u0022format_text\u0022: true,\n// \u0022multichannel\u0022: false,\n// \u0022webhook_url\u0022: \u0022https://your-webhook-url.tld/path\u0022,\n// \u0022webhook_status_code\u0022: 200,\n// \u0022webhook_auth\u0022: true,\n// \u0022webhook_auth_header_name\u0022: \u0022webhook-secret\u0022,\n// \u0022auto_highlights_result\u0022: {\n// \u0022status\u0022: \u0022success\u0022,\n// \u0022results\u0022: [\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.08,\n// \u0022text\u0022: \u0022air quality alerts\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 3978,\n// \u0022end\u0022: 5114\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.08,\n// \u0022text\u0022: \u0022wide ranging air quality consequences\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 235388,\n// \u0022end\u0022: 238694\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.07,\n// \u0022text\u0022: \u0022more wildfires\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 230972,\n// \u0022end\u0022: 232354\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.07,\n// \u0022text\u0022: \u0022air pollution\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 156004,\n// \u0022end\u0022: 156910\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 3,\n// \u0022rank\u0022: 0.07,\n// \u0022text\u0022: \u0022weather systems\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 47344,\n// \u0022end\u0022: 47958\n// },\n// {\n// \u0022start\u0022: 205268,\n// \u0022end\u0022: 205818\n// },\n// {\n// \u0022start\u0022: 211588,\n// \u0022end\u0022: 213434\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 2,\n// \u0022rank\u0022: 0.06,\n// \u0022text\u0022: \u0022high levels\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 121128,\n// \u0022end\u0022: 121646\n// },\n// {\n// \u0022start\u0022: 155412,\n// \u0022end\u0022: 155866\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.06,\n// \u0022text\u0022: \u0022health conditions\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 152138,\n// \u0022end\u0022: 152666\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 2,\n// \u0022rank\u0022: 0.06,\n// \u0022text\u0022: \u0022Peter de Carlo\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 18948,\n// \u0022end\u0022: 19930\n// },\n// {\n// \u0022start\u0022: 268298,\n// \u0022end\u0022: 269194\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.06,\n// \u0022text\u0022: \u0022New York City\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 125768,\n// \u0022end\u0022: 126274\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.05,\n// \u0022text\u0022: \u0022respiratory conditions\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 152964,\n// \u0022end\u0022: 153786\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 3,\n// \u0022rank\u0022: 0.05,\n// \u0022text\u0022: \u0022New York\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 125768,\n// \u0022end\u0022: 126034\n// },\n// {\n// \u0022start\u0022: 171448,\n// \u0022end\u0022: 171938\n// },\n// {\n// \u0022start\u0022: 176008,\n// \u0022end\u0022: 176322\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 3,\n// \u0022rank\u0022: 0.05,\n// \u0022text\u0022: \u0022climate change\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 229548,\n// \u0022end\u0022: 230230\n// },\n// {\n// \u0022start\u0022: 244576,\n// \u0022end\u0022: 245162\n// },\n// {\n// \u0022start\u0022: 263348,\n// \u0022end\u0022: 263950\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.05,\n// \u0022text\u0022: \u0022Johns Hopkins University Varsity\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 23972,\n// \u0022end\u0022: 25490\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.05,\n// \u0022text\u0022: \u0022heart conditions\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 153988,\n// \u0022end\u0022: 154506\n// }\n// ]\n// },\n// {\n// \u0022count\u0022: 1,\n// \u0022rank\u0022: 0.05,\n// \u0022text\u0022: \u0022air quality warnings\u0022,\n// \u0022timestamps\u0022: [\n// {\n// \u0022start\u0022: 12308,\n// \u0022end\u0022: 13434\n// }\n// ]\n// }\n// ]\n// },\n// \u0022auto_highlights\u0022: true,\n// \u0022audio_start_from\u0022: 10,\n// \u0022audio_end_at\u0022: 280,\n// \u0022filter_profanity\u0022: true,\n// \u0022redact_pii\u0022: true,\n// \u0022redact_pii_audio\u0022: true,\n// \u0022redact_pii_audio_quality\u0022: \u0022mp3\u0022,\n// \u0022redact_pii_policies\u0022: [\n// \u0022us_social_security_number\u0022,\n// \u0022credit_card_number\u0022\n// ],\n// \u0022redact_pii_sub\u0022: \u0022hash\u0022,\n// \u0022speaker_labels\u0022: true,\n// \u0022content_safety\u0022: true,\n// \u0022iab_categories\u0022: true,\n// \u0022content_safety_labels\u0022: {\n// \u0022status\u0022: \u0022success\u0022,\n// \u0022results\u0022: [\n// {\n// \u0022text\u0022: \u0022Smoke from hundreds of wildfires in Canada is triggering air quality alerts throughout the US. Skylines from Maine to Maryland to Minnesota are gray and smoggy. And in some places, the air quality warnings include the warning to stay inside. We wanted to better understand what\\u0027s happening here and why, so we called Peter de Carlo, an associate professor in the Department of Environmental Health and Engineering at Johns Hopkins University Varsity. Good morning, professor. Good morning.\u0022,\n// \u0022labels\u0022: [\n// {\n// \u0022label\u0022: \u0022disasters\u0022,\n// \u0022confidence\u0022: 0.8142836093902588,\n// \u0022severity\u0022: 0.4093044400215149\n// }\n// ],\n// \u0022sentences_idx_start\u0022: 0,\n// \u0022sentences_idx_end\u0022: 5,\n// \u0022timestamp\u0022: {\n// \u0022start\u0022: 250,\n// \u0022end\u0022: 28840\n// }\n// }\n// ],\n// \u0022summary\u0022: {\n// \u0022disasters\u0022: 0.9940800441842205,\n// \u0022health_issues\u0022: 0.9216489289040967\n// },\n// \u0022severity_score_summary\u0022: {\n// \u0022disasters\u0022: {\n// \u0022low\u0022: 0.5733263024656846,\n// \u0022medium\u0022: 0.42667369753431533,\n// \u0022high\u0022: 0\n// },\n// \u0022health_issues\u0022: {\n// \u0022low\u0022: 0.22863814977924785,\n// \u0022medium\u0022: 0.45014154926938227,\n// \u0022high\u0022: 0.32122030095136983\n// }\n// }\n// },\n// \u0022iab_categories_result\u0022: {\n// \u0022status\u0022: \u0022success\u0022,\n// \u0022results\u0022: [\n// {\n// \u0022text\u0022: \u0022Smoke from hundreds of wildfires in Canada is triggering air quality alerts throughout the US. Skylines from Maine to Maryland to Minnesota are gray and smoggy. And in some places, the air quality warnings include the warning to stay inside. We wanted to better understand what\\u0027s happening here and why, so we called Peter de Carlo, an associate professor in the Department of Environmental Health and Engineering at Johns Hopkins University Varsity. Good morning, professor. Good morning.\u0022,\n// \u0022labels\u0022: [\n// {\n// \u0022relevance\u0022: 0.988274097442627,\n// \u0022label\u0022: \u0022Home\\u0026Garden\\u003EIndoorEnvironmentalQuality\u0022\n// },\n// {\n// \u0022relevance\u0022: 0.5821335911750793,\n// \u0022label\u0022: \u0022NewsAndPolitics\\u003EWeather\u0022\n// },\n// {\n// \u0022relevance\u0022: 0.0042327106930315495,\n// \u0022label\u0022: \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003ELungAndRespiratoryHealth\u0022\n// },\n// {\n// \u0022relevance\u0022: 0.0033971222583204508,\n// \u0022label\u0022: \u0022NewsAndPolitics\\u003EDisasters\u0022\n// },\n// {\n// \u0022relevance\u0022: 0.002469958271831274,\n// \u0022label\u0022: \u0022BusinessAndFinance\\u003EBusiness\\u003EGreenSolutions\u0022\n// },\n// {\n// \u0022relevance\u0022: 0.0014376690378412604,\n// \u0022label\u0022: \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003ECancer\u0022\n// },\n// {\n// \u0022relevance\u0022: 0.0014294233405962586,\n// \u0022label\u0022: \u0022Science\\u003EEnvironment\u0022\n// },\n// {\n// \u0022relevance\u0022: 0.001234519761055708,\n// \u0022label\u0022: \u0022Travel\\u003ETravelLocations\\u003EPolarTravel\u0022\n// },\n// {\n// \u0022relevance\u0022: 0.0010231725173071027,\n// \u0022label\u0022: \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003EColdAndFlu\u0022\n// },\n// {\n// \u0022relevance\u0022: 0.0007445293595083058,\n// \u0022label\u0022: \u0022BusinessAndFinance\\u003EIndustries\\u003EPowerAndEnergyIndustry\u0022\n// }\n// ],\n// \u0022timestamp\u0022: {\n// \u0022start\u0022: 250,\n// \u0022end\u0022: 28840\n// }\n// }\n// ],\n// \u0022summary\u0022: {\n// \u0022NewsAndPolitics\\u003EWeather\u0022: 1,\n// \u0022Home\\u0026Garden\\u003EIndoorEnvironmentalQuality\u0022: 0.9043831825256348,\n// \u0022Science\\u003EEnvironment\u0022: 0.16117265820503235,\n// \u0022BusinessAndFinance\\u003EIndustries\\u003EEnvironmentalServicesIndustry\u0022: 0.14393523335456848,\n// \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003ELungAndRespiratoryHealth\u0022: 0.11401086300611496,\n// \u0022BusinessAndFinance\\u003EBusiness\\u003EGreenSolutions\u0022: 0.06348437070846558,\n// \u0022NewsAndPolitics\\u003EDisasters\u0022: 0.05041387677192688,\n// \u0022Travel\\u003ETravelLocations\\u003EPolarTravel\u0022: 0.01308488193899393,\n// \u0022HealthyLiving\u0022: 0.008222488686442375,\n// \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003EColdAndFlu\u0022: 0.0022315620444715023,\n// \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003EHeartAndCardiovascularDiseases\u0022: 0.00213034451007843,\n// \u0022HealthyLiving\\u003EWellness\\u003ESmokingCessation\u0022: 0.001540527562610805,\n// \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003EInjuries\u0022: 0.0013950627762824297,\n// \u0022BusinessAndFinance\\u003EIndustries\\u003EPowerAndEnergyIndustry\u0022: 0.0012570273829624057,\n// \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003ECancer\u0022: 0.001097781932912767,\n// \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003EAllergies\u0022: 0.0010148967849090695,\n// \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003EMentalHealth\u0022: 0.000717321818228811,\n// \u0022Style\\u0026Fashion\\u003EPersonalCare\\u003EDeodorantAndAntiperspirant\u0022: 0.0006022014422342181,\n// \u0022Technology\\u0026Computing\\u003EComputing\\u003EComputerNetworking\u0022: 0.0005461975233629346,\n// \u0022MedicalHealth\\u003EDiseasesAndConditions\\u003EInjuries\\u003EFirstAid\u0022: 0.0004885646631009877\n// }\n// },\n// \u0022custom_spelling\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022throttled\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022auto_chapters\u0022: false,\n// \u0022summarization\u0022: false,\n// \u0022summary_type\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022summary_model\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022custom_topics\u0022: true,\n// \u0022topics\u0022: [],\n// \u0022speech_threshold\u0022: 0.5,\n// \u0022remove_audio_tags\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022domain\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022disfluencies\u0022: false,\n// \u0022sentiment_analysis\u0022: true,\n// \u0022sentiment_analysis_results\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022entity_detection\u0022: true,\n// \u0022entities\u0022: [\n// {\n// \u0022entity_type\u0022: \u0022location\u0022,\n// \u0022text\u0022: \u0022Canada\u0022,\n// \u0022start\u0022: 2548,\n// \u0022end\u0022: 3130\n// },\n// {\n// \u0022entity_type\u0022: \u0022location\u0022,\n// \u0022text\u0022: \u0022the US\u0022,\n// \u0022start\u0022: 5498,\n// \u0022end\u0022: 6382\n// },\n// {\n// \u0022entity_type\u0022: \u0022location\u0022,\n// \u0022text\u0022: \u0022Maine\u0022,\n// \u0022start\u0022: 7492,\n// \u0022end\u0022: 7914\n// },\n// {\n// \u0022entity_type\u0022: \u0022location\u0022,\n// \u0022text\u0022: \u0022Maryland\u0022,\n// \u0022start\u0022: 8212,\n// \u0022end\u0022: 8634\n// },\n// {\n// \u0022entity_type\u0022: \u0022location\u0022,\n// \u0022text\u0022: \u0022Minnesota\u0022,\n// \u0022start\u0022: 8932,\n// \u0022end\u0022: 9578\n// },\n// {\n// \u0022entity_type\u0022: \u0022person_name\u0022,\n// \u0022text\u0022: \u0022Peter de Carlo\u0022,\n// \u0022start\u0022: 18948,\n// \u0022end\u0022: 19930\n// },\n// {\n// \u0022entity_type\u0022: \u0022occupation\u0022,\n// \u0022text\u0022: \u0022associate professor\u0022,\n// \u0022start\u0022: 20292,\n// \u0022end\u0022: 21194\n// },\n// {\n// \u0022entity_type\u0022: \u0022organization\u0022,\n// \u0022text\u0022: \u0022Department of Environmental Health and Engineering\u0022,\n// \u0022start\u0022: 21508,\n// \u0022end\u0022: 23706\n// },\n// {\n// \u0022entity_type\u0022: \u0022organization\u0022,\n// \u0022text\u0022: \u0022Johns Hopkins University Varsity\u0022,\n// \u0022start\u0022: 23972,\n// \u0022end\u0022: 25490\n// },\n// {\n// \u0022entity_type\u0022: \u0022occupation\u0022,\n// \u0022text\u0022: \u0022professor\u0022,\n// \u0022start\u0022: 26076,\n// \u0022end\u0022: 26950\n// },\n// {\n// \u0022entity_type\u0022: \u0022location\u0022,\n// \u0022text\u0022: \u0022the US\u0022,\n// \u0022start\u0022: 45184,\n// \u0022end\u0022: 45898\n// },\n// {\n// \u0022entity_type\u0022: \u0022nationality\u0022,\n// \u0022text\u0022: \u0022Canadian\u0022,\n// \u0022start\u0022: 49728,\n// \u0022end\u0022: 50086\n// }\n// ],\n// \u0022chapters\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022summary\u0022: \u0022openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464\u0022,\n// \u0022speakers_expected\u0022: 2\n// }",
"Format": "sdk",
"OperationId": "createTranscript",
"Setup": "This example assumes \u0060using AssemblyAI;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential."
diff --git a/src/libs/AssemblyAI/openapi.yaml b/src/libs/AssemblyAI/openapi.yaml
index d67121f..c5fbad3 100644
--- a/src/libs/AssemblyAI/openapi.yaml
+++ b/src/libs/AssemblyAI/openapi.yaml
@@ -1153,13 +1153,13 @@ components:
[Supported
Languages](https://www.assemblyai.com/docs/pre-recorded-audio/supported-languages).
- The default value is 'en_us'.
+ If you don't specify a language, it's detected automatically. Cannot
+ be used together with `language_detection`.
oneOf:
- anyOf:
- $ref: '#/components/schemas/TranscriptLanguageCode'
- type: string
- type: 'null'
- default: en_us
x-ts-type: LiteralUnion | null
x-go-type: TranscriptLanguageCode
language_codes:
@@ -1182,7 +1182,8 @@ components:
An error will be returned if the language confidence is below this
threshold.
- Defaults to 0. See [Automatic Language
+ Defaults to 0. Can only be set when `language_detection` is enabled.
+ See [Automatic Language
Detection](https://www.assemblyai.com/docs/pre-recorded-audio/language-detection)
for more details.
type: number
@@ -1192,12 +1193,15 @@ components:
default: 0
language_detection:
x-label: Language detection
- description: >-
- Enable [Automatic language
- detection](https://www.assemblyai.com/docs/pre-recorded-audio/language-detection),
- either true or false.
+ description: >
+ [Automatic language
+ detection](https://www.assemblyai.com/docs/pre-recorded-audio/language-detection)
+ identifies the spoken language and routes the request to the best
+ model. It's applied automatically when you don't specify a
+ `language_code`. Set to `false` only together with a
+ `language_code`; disabling it without specifying a language returns
+ an error.
type: boolean
- default: false
language_detection_options:
x-label: Specify options for Automatic Language Detection.
description: >-
@@ -1471,7 +1475,8 @@ components:
x-label: Speech models
description: >
Optional. Supported values: `universal-3-5-pro`, `universal-2`. If
- omitted, defaults to `universal-3-5-pro`. See [Model
+ omitted, defaults to `["universal-3-5-pro", "universal-2"]`. See
+ [Model
Selection](https://www.assemblyai.com/docs/pre-recorded-audio/select-the-speech-model)
for available models and routing behavior.
type: array
@@ -1480,6 +1485,7 @@ components:
$ref: '#/components/schemas/SpeechModel'
default:
- universal-3-5-pro
+ - universal-2
speech_threshold:
x-label: Speech threshold
description: >
@@ -1658,7 +1664,6 @@ components:
deprecated: true
example:
speech_model: null
- language_code: en_us
language_detection: true
language_confidence_threshold: 0.7
punctuate: true
@@ -1723,7 +1728,6 @@ components:
- $ref: '#/components/schemas/TranscriptOptionalParams'
example:
speech_model: null
- language_code: en_us
language_detection: true
language_confidence_threshold: 0.7
audio_url: https://assembly.ai/wildfires.mp3
@@ -2379,8 +2383,6 @@ components:
description: >
The language of your audio file. Possible values are found in [Supported
Languages](https://www.assemblyai.com/docs/pre-recorded-audio/supported-languages).
-
- The default value is 'en_us'.
x-fern-sdk-group-name: transcripts
enum:
- en
@@ -2989,8 +2991,6 @@ components:
Possible values are found in [Supported
Languages](https://www.assemblyai.com/docs/pre-recorded-audio/supported-languages).
-
- The default value is 'en_us'.
anyOf:
- $ref: '#/components/schemas/TranscriptLanguageCode'
- type: string
@@ -3279,7 +3279,7 @@ components:
description: >
List of speech models that were used (in priority order) to
transcribe the audio. If not specified in the request, this defaults
- to `universal-3-5-pro`. See [Model
+ to `["universal-3-5-pro", "universal-2"]`. See [Model
Selection](https://www.assemblyai.com/docs/pre-recorded-audio/select-the-speech-model)
for available models and routing behavior.
type: