diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI..JsonSerializerContext.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI..JsonSerializerContext.g.cs index 751cdfc..4f5554b 100644 --- a/src/libs/AssemblyAI/Generated/AssemblyAI..JsonSerializerContext.g.cs +++ b/src/libs/AssemblyAI/Generated/AssemblyAI..JsonSerializerContext.g.cs @@ -33,6 +33,8 @@ namespace AssemblyAI typeof(global::AssemblyAI.JsonConverters.SummaryModelNullableJsonConverter), typeof(global::AssemblyAI.JsonConverters.SummaryTypeJsonConverter), typeof(global::AssemblyAI.JsonConverters.SummaryTypeNullableJsonConverter), + typeof(global::AssemblyAI.JsonConverters.TranscriptOptionalParamsRemoveAudioTagsJsonConverter), + typeof(global::AssemblyAI.JsonConverters.TranscriptOptionalParamsRemoveAudioTagsNullableJsonConverter), typeof(global::AssemblyAI.JsonConverters.TranscriptBoostParamJsonConverter), typeof(global::AssemblyAI.JsonConverters.TranscriptBoostParamNullableJsonConverter), typeof(global::AssemblyAI.JsonConverters.TranscriptStatusJsonConverter), @@ -43,6 +45,8 @@ namespace AssemblyAI typeof(global::AssemblyAI.JsonConverters.EntityTypeNullableJsonConverter), typeof(global::AssemblyAI.JsonConverters.SentimentJsonConverter), typeof(global::AssemblyAI.JsonConverters.SentimentNullableJsonConverter), + typeof(global::AssemblyAI.JsonConverters.TranscriptRemoveAudioTagsJsonConverter), + typeof(global::AssemblyAI.JsonConverters.TranscriptRemoveAudioTagsNullableJsonConverter), typeof(global::AssemblyAI.JsonConverters.LemurModelJsonConverter), typeof(global::AssemblyAI.JsonConverters.LemurModelNullableJsonConverter), typeof(global::AssemblyAI.JsonConverters.TranscriptWebhookNotificationJsonConverter), @@ -62,6 +66,7 @@ namespace AssemblyAI typeof(global::AssemblyAI.JsonConverters.AnyOfJsonConverter), typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter), typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter), + typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter), typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter), typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter), typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter), @@ -70,6 +75,7 @@ namespace AssemblyAI typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter), typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter), typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter), + typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter), typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter), typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter), typeof(global::AssemblyAI.JsonConverters.AnyOfJsonConverter), diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.TranscriptOptionalParamsRemoveAudioTags.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.TranscriptOptionalParamsRemoveAudioTags.g.cs new file mode 100644 index 0000000..1f1ec58 --- /dev/null +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.TranscriptOptionalParamsRemoveAudioTags.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AssemblyAI.JsonConverters +{ + /// + public sealed class TranscriptOptionalParamsRemoveAudioTagsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AssemblyAI.TranscriptOptionalParamsRemoveAudioTags Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AssemblyAI.TranscriptOptionalParamsRemoveAudioTagsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AssemblyAI.TranscriptOptionalParamsRemoveAudioTags)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AssemblyAI.TranscriptOptionalParamsRemoveAudioTags); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AssemblyAI.TranscriptOptionalParamsRemoveAudioTags value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AssemblyAI.TranscriptOptionalParamsRemoveAudioTagsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.TranscriptOptionalParamsRemoveAudioTagsNullable.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.TranscriptOptionalParamsRemoveAudioTagsNullable.g.cs new file mode 100644 index 0000000..a114a60 --- /dev/null +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.TranscriptOptionalParamsRemoveAudioTagsNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AssemblyAI.JsonConverters +{ + /// + public sealed class TranscriptOptionalParamsRemoveAudioTagsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AssemblyAI.TranscriptOptionalParamsRemoveAudioTags? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AssemblyAI.TranscriptOptionalParamsRemoveAudioTagsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AssemblyAI.TranscriptOptionalParamsRemoveAudioTags)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AssemblyAI.TranscriptOptionalParamsRemoveAudioTags?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AssemblyAI.TranscriptOptionalParamsRemoveAudioTags? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AssemblyAI.TranscriptOptionalParamsRemoveAudioTagsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.TranscriptRemoveAudioTags.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.TranscriptRemoveAudioTags.g.cs new file mode 100644 index 0000000..cb5a15d --- /dev/null +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.TranscriptRemoveAudioTags.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AssemblyAI.JsonConverters +{ + /// + public sealed class TranscriptRemoveAudioTagsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AssemblyAI.TranscriptRemoveAudioTags Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AssemblyAI.TranscriptRemoveAudioTagsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AssemblyAI.TranscriptRemoveAudioTags)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AssemblyAI.TranscriptRemoveAudioTags); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AssemblyAI.TranscriptRemoveAudioTags value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AssemblyAI.TranscriptRemoveAudioTagsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.TranscriptRemoveAudioTagsNullable.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.TranscriptRemoveAudioTagsNullable.g.cs new file mode 100644 index 0000000..93e5e3d --- /dev/null +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonConverters.TranscriptRemoveAudioTagsNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AssemblyAI.JsonConverters +{ + /// + public sealed class TranscriptRemoveAudioTagsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AssemblyAI.TranscriptRemoveAudioTags? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AssemblyAI.TranscriptRemoveAudioTagsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AssemblyAI.TranscriptRemoveAudioTags)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AssemblyAI.TranscriptRemoveAudioTags?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AssemblyAI.TranscriptRemoveAudioTags? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AssemblyAI.TranscriptRemoveAudioTagsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.JsonSerializerContextTypes.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonSerializerContextTypes.g.cs index e014ef6..44e5308 100644 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.JsonSerializerContextTypes.g.cs +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonSerializerContextTypes.g.cs @@ -224,383 +224,399 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::AssemblyAI.OneOf? Type49 { get; set; } + public global::AssemblyAI.OneOf? Type49 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptParams? Type50 { get; set; } + public global::AssemblyAI.TranscriptOptionalParamsRemoveAudioTags? Type50 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptParamsVariant1? Type51 { get; set; } + public global::AssemblyAI.OneOf? Type51 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptBoostParam? Type52 { get; set; } + public global::AssemblyAI.TranscriptParams? Type52 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptUtterance? Type53 { get; set; } + public global::AssemblyAI.TranscriptParamsVariant1? Type53 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type54 { get; set; } + public global::AssemblyAI.TranscriptBoostParam? Type54 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptWord? Type55 { get; set; } + public global::AssemblyAI.TranscriptUtterance? Type55 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type56 { get; set; } + public global::System.Collections.Generic.IList? Type56 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptStatus? Type57 { get; set; } + public global::AssemblyAI.TranscriptWord? Type57 { get; set; } /// /// /// - public global::AssemblyAI.Transcript? Type58 { get; set; } + public global::System.Collections.Generic.Dictionary? Type58 { get; set; } /// /// /// - public global::AssemblyAI.OneOf? Type59 { get; set; } + public global::AssemblyAI.TranscriptStatus? Type59 { get; set; } /// /// /// - public global::AssemblyAI.AutoHighlightsResult2? Type60 { get; set; } + public global::AssemblyAI.Transcript? Type60 { get; set; } /// /// /// - public global::AssemblyAI.AudioIntelligenceModelStatus? Type61 { get; set; } + public global::AssemblyAI.OneOf? Type61 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type62 { get; set; } + public global::AssemblyAI.AutoHighlightsResult2? Type62 { get; set; } /// /// /// - public global::AssemblyAI.AutoHighlightResult? Type63 { get; set; } + public global::AssemblyAI.AudioIntelligenceModelStatus? Type63 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type64 { get; set; } + public global::System.Collections.Generic.IList? Type64 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type65 { get; set; } + public global::AssemblyAI.AutoHighlightResult? Type65 { get; set; } /// /// /// - public global::AssemblyAI.Chapter? Type66 { get; set; } + public global::System.Collections.Generic.IList? Type66 { get; set; } /// /// /// - public global::AssemblyAI.OneOf? Type67 { get; set; } + public global::System.Collections.Generic.IList? Type67 { get; set; } /// /// /// - public global::AssemblyAI.ContentSafetyLabelsResult? Type68 { get; set; } + public global::AssemblyAI.Chapter? Type68 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type69 { get; set; } + public global::AssemblyAI.OneOf? Type69 { get; set; } /// /// /// - public global::AssemblyAI.ContentSafetyLabelResult? Type70 { get; set; } + public global::AssemblyAI.ContentSafetyLabelsResult? Type70 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type71 { get; set; } + public global::System.Collections.Generic.IList? Type71 { get; set; } /// /// /// - public global::AssemblyAI.ContentSafetyLabel? Type72 { get; set; } + public global::AssemblyAI.ContentSafetyLabelResult? Type72 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type73 { get; set; } + public global::System.Collections.Generic.IList? Type73 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type74 { get; set; } + public global::AssemblyAI.ContentSafetyLabel? Type74 { get; set; } /// /// /// - public global::AssemblyAI.SeverityScoreSummary? Type75 { get; set; } + public global::System.Collections.Generic.Dictionary? Type75 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type76 { get; set; } + public global::System.Collections.Generic.Dictionary? Type76 { get; set; } /// /// /// - public global::AssemblyAI.Entity? Type77 { get; set; } + public global::AssemblyAI.SeverityScoreSummary? Type77 { get; set; } /// /// /// - public global::AssemblyAI.EntityType? Type78 { get; set; } + public global::System.Collections.Generic.IList? Type78 { get; set; } /// /// /// - public global::AssemblyAI.OneOf? Type79 { get; set; } + public global::AssemblyAI.Entity? Type79 { get; set; } /// /// /// - public global::AssemblyAI.TopicDetectionModelResult? Type80 { get; set; } + public global::AssemblyAI.EntityType? Type80 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type81 { get; set; } + public global::AssemblyAI.OneOf? Type81 { get; set; } /// /// /// - public global::AssemblyAI.TopicDetectionResult? Type82 { get; set; } + public global::AssemblyAI.TopicDetectionModelResult? Type82 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type83 { get; set; } + public global::System.Collections.Generic.IList? Type83 { get; set; } /// /// /// - public global::AssemblyAI.TopicDetectionResultLabel? Type84 { get; set; } + public global::AssemblyAI.TopicDetectionResult? Type84 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptLanguageDetectionOptions? Type85 { get; set; } + public global::System.Collections.Generic.IList? Type85 { get; set; } /// /// /// - public global::AssemblyAI.OneOf? Type86 { get; set; } + public global::AssemblyAI.TopicDetectionResultLabel? Type86 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type87 { get; set; } + public global::AssemblyAI.TranscriptLanguageDetectionOptions? Type87 { get; set; } /// /// /// - public global::AssemblyAI.SentimentAnalysisResult? Type88 { get; set; } + public global::AssemblyAI.OneOf? Type88 { get; set; } /// /// /// - public global::AssemblyAI.Sentiment? Type89 { get; set; } + public global::System.Collections.Generic.IList? Type89 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptSpeechUnderstanding? Type90 { get; set; } + public global::AssemblyAI.SentimentAnalysisResult? Type90 { get; set; } /// /// /// - public global::AssemblyAI.OneOf? Type91 { get; set; } + public global::AssemblyAI.Sentiment? Type91 { get; set; } /// /// /// - public global::AssemblyAI.TranslationResponse? Type92 { get; set; } + public global::AssemblyAI.TranscriptSpeechUnderstanding? Type92 { get; set; } /// /// /// - public global::AssemblyAI.TranslationResponseTranslation? Type93 { get; set; } + public global::AssemblyAI.OneOf? Type93 { get; set; } /// /// /// - public global::AssemblyAI.SpeakerIdentificationResponse? Type94 { get; set; } + public global::AssemblyAI.TranslationResponse? Type94 { get; set; } /// /// /// - public global::AssemblyAI.SpeakerIdentificationResponseSpeakerIdentification? Type95 { get; set; } + public global::AssemblyAI.TranslationResponseTranslation? Type95 { get; set; } /// /// /// - public global::AssemblyAI.CustomFormattingResponse? Type96 { get; set; } + public global::AssemblyAI.SpeakerIdentificationResponse? Type96 { get; set; } /// /// /// - public global::AssemblyAI.CustomFormattingResponseCustomFormatting? Type97 { get; set; } + public global::AssemblyAI.SpeakerIdentificationResponseSpeakerIdentification? Type97 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type98 { get; set; } + public global::AssemblyAI.CustomFormattingResponse? Type98 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptTranslatedTexts? Type99 { get; set; } + public global::AssemblyAI.CustomFormattingResponseCustomFormatting? Type99 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptSentence? Type100 { get; set; } + public global::AssemblyAI.OneOf? Type100 { get; set; } /// /// /// - public global::AssemblyAI.SentencesResponse? Type101 { get; set; } + public global::AssemblyAI.TranscriptRemoveAudioTags? Type101 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type102 { get; set; } + public global::System.Collections.Generic.IList? Type102 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptParagraph? Type103 { get; set; } + public global::AssemblyAI.TranscriptTranslatedTexts? Type103 { get; set; } /// /// /// - public global::AssemblyAI.ParagraphsResponse? Type104 { get; set; } + public global::AssemblyAI.TranscriptSentence? Type104 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type105 { get; set; } + public global::AssemblyAI.SentencesResponse? Type105 { get; set; } /// /// /// - public global::AssemblyAI.PageDetails? Type106 { get; set; } + public global::System.Collections.Generic.IList? Type106 { get; set; } /// /// /// - public global::AssemblyAI.ListTranscriptParams? Type107 { get; set; } + public global::AssemblyAI.TranscriptParagraph? Type107 { get; set; } /// /// /// - public global::System.DateTime? Type108 { get; set; } + public global::AssemblyAI.ParagraphsResponse? Type108 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptListItem? Type109 { get; set; } + public global::System.Collections.Generic.IList? Type109 { get; set; } /// /// /// - public global::AssemblyAI.TranscriptList? Type110 { get; set; } + public global::AssemblyAI.PageDetails? Type110 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type111 { get; set; } + public global::AssemblyAI.ListTranscriptParams? Type111 { get; set; } /// /// /// - public global::AssemblyAI.UploadedFile? Type112 { get; set; } + public global::System.DateTime? Type112 { get; set; } /// /// /// - public global::AssemblyAI.CreateRealtimeTemporaryTokenParams? Type113 { get; set; } + public global::AssemblyAI.TranscriptListItem? Type113 { get; set; } /// /// /// - public global::AssemblyAI.RealtimeTemporaryTokenResponse? Type114 { get; set; } + public global::AssemblyAI.TranscriptList? Type114 { get; set; } /// /// /// - public global::AssemblyAI.PurgeLemurRequestDataResponse? Type115 { get; set; } + public global::System.Collections.Generic.IList? Type115 { get; set; } /// /// /// - public global::AssemblyAI.LemurBaseResponse? Type116 { get; set; } + public global::AssemblyAI.UploadedFile? Type116 { get; set; } /// /// /// - public global::AssemblyAI.LemurUsage? Type117 { get; set; } + public global::AssemblyAI.CreateRealtimeTemporaryTokenParams? Type117 { get; set; } /// /// /// - public global::AssemblyAI.LemurStringResponse? Type118 { get; set; } + public global::AssemblyAI.RealtimeTemporaryTokenResponse? Type118 { get; set; } /// /// /// - public global::AssemblyAI.LemurStringResponseVariant1? Type119 { get; set; } + public global::AssemblyAI.PurgeLemurRequestDataResponse? Type119 { get; set; } /// /// /// - public global::AssemblyAI.LemurTaskResponse? Type120 { get; set; } + public global::AssemblyAI.LemurBaseResponse? Type120 { get; set; } /// /// /// - public global::AssemblyAI.LemurSummaryResponse? Type121 { get; set; } + public global::AssemblyAI.LemurUsage? Type121 { get; set; } /// /// /// - public global::AssemblyAI.LemurActionItemsResponse? Type122 { get; set; } + public global::AssemblyAI.LemurStringResponse? Type122 { get; set; } /// /// /// - public global::AssemblyAI.LemurQuestionAnswerResponse? Type123 { get; set; } + public global::AssemblyAI.LemurStringResponseVariant1? Type123 { get; set; } /// /// /// - public global::AssemblyAI.LemurQuestionAnswerResponseVariant2? Type124 { get; set; } + public global::AssemblyAI.LemurTaskResponse? Type124 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type125 { get; set; } + public global::AssemblyAI.LemurSummaryResponse? Type125 { get; set; } /// /// /// - public global::AssemblyAI.LemurQuestionAnswer? Type126 { get; set; } + public global::AssemblyAI.LemurActionItemsResponse? Type126 { get; set; } /// /// /// - public global::AssemblyAI.LemurResponse? Type127 { get; set; } + public global::AssemblyAI.LemurQuestionAnswerResponse? Type127 { get; set; } /// /// /// - public global::AssemblyAI.LemurBaseParams? Type128 { get; set; } + public global::AssemblyAI.LemurQuestionAnswerResponseVariant2? Type128 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type129 { get; set; } + public global::System.Collections.Generic.IList? Type129 { get; set; } /// /// /// - public global::AssemblyAI.AnyOf? Type130 { get; set; } + public global::AssemblyAI.LemurQuestionAnswer? Type130 { get; set; } /// /// /// - public global::AssemblyAI.LemurModel? Type131 { get; set; } + public global::AssemblyAI.LemurResponse? Type131 { get; set; } /// /// /// - public global::AssemblyAI.LemurTaskParams? Type132 { get; set; } + public global::AssemblyAI.LemurBaseParams? Type132 { get; set; } /// /// /// - public global::AssemblyAI.LemurTaskParamsVariant1? Type133 { get; set; } + public global::System.Collections.Generic.IList? Type133 { get; set; } /// /// /// - public global::AssemblyAI.LemurSummaryParams? Type134 { get; set; } + public global::AssemblyAI.AnyOf? Type134 { get; set; } /// /// /// - public global::AssemblyAI.LemurSummaryParamsVariant2? Type135 { get; set; } + public global::AssemblyAI.LemurModel? Type135 { get; set; } /// /// /// - public global::AssemblyAI.LemurQuestionAnswerParams? Type136 { get; set; } + public global::AssemblyAI.LemurTaskParams? Type136 { get; set; } /// /// /// - public global::AssemblyAI.LemurQuestionAnswerParamsVariant2? Type137 { get; set; } + public global::AssemblyAI.LemurTaskParamsVariant1? Type137 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type138 { get; set; } + public global::AssemblyAI.LemurSummaryParams? Type138 { get; set; } /// /// /// - public global::AssemblyAI.LemurQuestion? Type139 { get; set; } + public global::AssemblyAI.LemurSummaryParamsVariant2? Type139 { get; set; } /// /// /// - public global::AssemblyAI.LemurActionItemsParams? Type140 { get; set; } + public global::AssemblyAI.LemurQuestionAnswerParams? Type140 { get; set; } /// /// /// - public global::AssemblyAI.LemurActionItemsParamsVariant2? Type141 { get; set; } + public global::AssemblyAI.LemurQuestionAnswerParamsVariant2? Type141 { get; set; } /// /// /// - public global::AssemblyAI.Error? Type142 { get; set; } + public global::System.Collections.Generic.IList? Type142 { get; set; } /// /// /// - public byte[]? Type143 { get; set; } + public global::AssemblyAI.LemurQuestion? Type143 { get; set; } + /// + /// + /// + public global::AssemblyAI.LemurActionItemsParams? Type144 { get; set; } + /// + /// + /// + public global::AssemblyAI.LemurActionItemsParamsVariant2? Type145 { get; set; } + /// + /// + /// + public global::AssemblyAI.Error? Type146 { get; set; } + /// + /// + /// + public byte[]? Type147 { get; set; } /// /// diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs index 4a9a99f..8f63854 100644 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs @@ -7,7 +7,7 @@ namespace AssemblyAI { /// /// A transcript object
- /// Example: {"id":"9ea68fd3-f953-42c1-9742-976c447fb463","speech_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","language_model":"assemblyai_default","acoustic_model":"assemblyai_default","language_code":"en_us","language_detection":true,"language_confidence_threshold":0.7,"language_confidence":0.9959,"status":"completed","audio_url":"https://assembly.ai/wildfires.mp3","text":"Smoke 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.","words":[{"text":"Smoke","start":250,"end":650,"confidence":0.97465,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"from","start":730,"end":1022,"confidence":0.99999,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"hundreds","start":1076,"end":1418,"confidence":0.99844,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"of","start":1434,"end":1614,"confidence":0.84,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"wildfires","start":1652,"end":2346,"confidence":0.89572,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"in","start":2378,"end":2526,"confidence":0.99994,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"Canada","start":2548,"end":3130,"confidence":0.93953,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"is","start":3210,"end":3454,"confidence":0.999,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"triggering","start":3492,"end":3946,"confidence":0.74794,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"air","start":3978,"end":4174,"confidence":1.0,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"quality","start":4212,"end":4558,"confidence":0.88077,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"alerts","start":4644,"end":5114,"confidence":0.94814,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"throughout","start":5162,"end":5466,"confidence":0.99726,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"the","start":5498,"end":5694,"confidence":0.79,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"US.","start":5732,"end":6382,"confidence":0.89,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"}],"utterances":[{"confidence":0.9359033333333334,"end":26950,"speaker":"A","start":250,"text":"Smoke 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.","words":[{"text":"Smoke","start":250,"end":650,"confidence":0.97503,"speaker":"A"},{"text":"from","start":730,"end":1022,"confidence":0.99999,"speaker":"A"},{"text":"hundreds","start":1076,"end":1418,"confidence":0.99843,"speaker":"A"},{"text":"of","start":1434,"end":1614,"confidence":0.85,"speaker":"A"},{"text":"wildfires","start":1652,"end":2346,"confidence":0.89657,"speaker":"A"},{"text":"in","start":2378,"end":2526,"confidence":0.99994,"speaker":"A"},{"text":"Canada","start":2548,"end":3130,"confidence":0.93864,"speaker":"A"},{"text":"is","start":3210,"end":3454,"confidence":0.999,"speaker":"A"},{"text":"triggering","start":3492,"end":3946,"confidence":0.75366,"speaker":"A"},{"text":"air","start":3978,"end":4174,"confidence":1.0,"speaker":"A"},{"text":"quality","start":4212,"end":4558,"confidence":0.87745,"speaker":"A"},{"text":"alerts","start":4644,"end":5114,"confidence":0.94739,"speaker":"A"},{"text":"throughout","start":5162,"end":5466,"confidence":0.99726,"speaker":"A"},{"text":"the","start":5498,"end":5694,"confidence":0.79,"speaker":"A"},{"text":"US.","start":5732,"end":6382,"confidence":0.88,"speaker":"A"}]}],"confidence":0.9404651451800253,"audio_duration":281,"punctuate":true,"format_text":true,"multichannel":false,"webhook_url":"https://your-webhook-url.tld/path","webhook_status_code":200,"webhook_auth":true,"webhook_auth_header_name":"webhook-secret","auto_highlights_result":{"status":"success","results":[{"count":1,"rank":0.08,"text":"air quality alerts","timestamps":[{"start":3978,"end":5114}]},{"count":1,"rank":0.08,"text":"wide ranging air quality consequences","timestamps":[{"start":235388,"end":238694}]},{"count":1,"rank":0.07,"text":"more wildfires","timestamps":[{"start":230972,"end":232354}]},{"count":1,"rank":0.07,"text":"air pollution","timestamps":[{"start":156004,"end":156910}]},{"count":3,"rank":0.07,"text":"weather systems","timestamps":[{"start":47344,"end":47958},{"start":205268,"end":205818},{"start":211588,"end":213434}]},{"count":2,"rank":0.06,"text":"high levels","timestamps":[{"start":121128,"end":121646},{"start":155412,"end":155866}]},{"count":1,"rank":0.06,"text":"health conditions","timestamps":[{"start":152138,"end":152666}]},{"count":2,"rank":0.06,"text":"Peter de Carlo","timestamps":[{"start":18948,"end":19930},{"start":268298,"end":269194}]},{"count":1,"rank":0.06,"text":"New York City","timestamps":[{"start":125768,"end":126274}]},{"count":1,"rank":0.05,"text":"respiratory conditions","timestamps":[{"start":152964,"end":153786}]},{"count":3,"rank":0.05,"text":"New York","timestamps":[{"start":125768,"end":126034},{"start":171448,"end":171938},{"start":176008,"end":176322}]},{"count":3,"rank":0.05,"text":"climate change","timestamps":[{"start":229548,"end":230230},{"start":244576,"end":245162},{"start":263348,"end":263950}]},{"count":1,"rank":0.05,"text":"Johns Hopkins University Varsity","timestamps":[{"start":23972,"end":25490}]},{"count":1,"rank":0.05,"text":"heart conditions","timestamps":[{"start":153988,"end":154506}]},{"count":1,"rank":0.05,"text":"air quality warnings","timestamps":[{"start":12308,"end":13434}]}]},"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,"content_safety":true,"iab_categories":true,"content_safety_labels":{"status":"success","results":[{"text":"Smoke 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.","labels":[{"label":"disasters","confidence":0.8142836093902588,"severity":0.4093044400215149}],"sentences_idx_start":0,"sentences_idx_end":5,"timestamp":{"start":250,"end":28840}}],"summary":{"disasters":0.9940800441842205,"health_issues":0.9216489289040967},"severity_score_summary":{"disasters":{"low":0.5733263024656846,"medium":0.42667369753431533,"high":0.0},"health_issues":{"low":0.22863814977924785,"medium":0.45014154926938227,"high":0.32122030095136983}}},"iab_categories_result":{"status":"success","results":[{"text":"Smoke 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.","labels":[{"relevance":0.988274097442627,"label":"Home\u0026Garden\u003EIndoorEnvironmentalQuality"},{"relevance":0.5821335911750793,"label":"NewsAndPolitics\u003EWeather"},{"relevance":0.0042327106930315495,"label":"MedicalHealth\u003EDiseasesAndConditions\u003ELungAndRespiratoryHealth"},{"relevance":0.0033971222583204508,"label":"NewsAndPolitics\u003EDisasters"},{"relevance":0.002469958271831274,"label":"BusinessAndFinance\u003EBusiness\u003EGreenSolutions"},{"relevance":0.0014376690378412604,"label":"MedicalHealth\u003EDiseasesAndConditions\u003ECancer"},{"relevance":0.0014294233405962586,"label":"Science\u003EEnvironment"},{"relevance":0.001234519761055708,"label":"Travel\u003ETravelLocations\u003EPolarTravel"},{"relevance":0.0010231725173071027,"label":"MedicalHealth\u003EDiseasesAndConditions\u003EColdAndFlu"},{"relevance":0.0007445293595083058,"label":"BusinessAndFinance\u003EIndustries\u003EPowerAndEnergyIndustry"}],"timestamp":{"start":250,"end":28840}}],"summary":{"NewsAndPolitics\u003EWeather":1.0,"Home\u0026Garden\u003EIndoorEnvironmentalQuality":0.9043831825256348,"Science\u003EEnvironment":0.16117265820503235,"BusinessAndFinance\u003EIndustries\u003EEnvironmentalServicesIndustry":0.14393523335456848,"MedicalHealth\u003EDiseasesAndConditions\u003ELungAndRespiratoryHealth":0.11401086300611496,"BusinessAndFinance\u003EBusiness\u003EGreenSolutions":0.06348437070846558,"NewsAndPolitics\u003EDisasters":0.05041387677192688,"Travel\u003ETravelLocations\u003EPolarTravel":0.01308488193899393,"HealthyLiving":0.008222488686442375,"MedicalHealth\u003EDiseasesAndConditions\u003EColdAndFlu":0.0022315620444715023,"MedicalHealth\u003EDiseasesAndConditions\u003EHeartAndCardiovascularDiseases":0.00213034451007843,"HealthyLiving\u003EWellness\u003ESmokingCessation":0.001540527562610805,"MedicalHealth\u003EDiseasesAndConditions\u003EInjuries":0.0013950627762824297,"BusinessAndFinance\u003EIndustries\u003EPowerAndEnergyIndustry":0.0012570273829624057,"MedicalHealth\u003EDiseasesAndConditions\u003ECancer":0.001097781932912767,"MedicalHealth\u003EDiseasesAndConditions\u003EAllergies":0.0010148967849090695,"MedicalHealth\u003EDiseasesAndConditions\u003EMentalHealth":0.000717321818228811,"Style\u0026Fashion\u003EPersonalCare\u003EDeodorantAndAntiperspirant":0.0006022014422342181,"Technology\u0026Computing\u003EComputing\u003EComputerNetworking":0.0005461975233629346,"MedicalHealth\u003EDiseasesAndConditions\u003EInjuries\u003EFirstAid":0.0004885646631009877}},"custom_spelling":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","throttled":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","auto_chapters":true,"summarization":true,"summary_type":"bullets","summary_model":"informative","custom_topics":true,"topics":[],"speech_threshold":0.5,"disfluencies":false,"sentiment_analysis":true,"chapters":[{"summary":"Smoke 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. In some places, the air quality warnings include the warning to stay inside.","gist":"Smoggy air quality alerts across US","headline":"Smoke from hundreds of wildfires in Canada is triggering air quality alerts across US","start":250,"end":28840},{"summary":"Air pollution levels in Baltimore are considered unhealthy. Exposure to high levels can lead to a host of health problems. With climate change, we are seeing more wildfires. Will we be seeing more of these kinds of wide ranging air quality consequences?","gist":"What is it about the conditions right now that have caused this round","headline":"High particulate matter in wildfire smoke can lead to serious health problems","start":29610,"end":280340}],"sentiment_analysis_results":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","entity_detection":true,"entities":[{"entity_type":"location","text":"Canada","start":2548,"end":3130},{"entity_type":"location","text":"the US","start":5498,"end":6382},{"entity_type":"location","text":"Maine","start":7492,"end":7914},{"entity_type":"location","text":"Maryland","start":8212,"end":8634},{"entity_type":"location","text":"Minnesota","start":8932,"end":9578},{"entity_type":"person_name","text":"Peter de Carlo","start":18948,"end":19930},{"entity_type":"occupation","text":"associate professor","start":20292,"end":21194},{"entity_type":"organization","text":"Department of Environmental Health and Engineering","start":21508,"end":23706},{"entity_type":"organization","text":"Johns Hopkins University Varsity","start":23972,"end":25490},{"entity_type":"occupation","text":"professor","start":26076,"end":26950},{"entity_type":"location","text":"the US","start":45184,"end":45898},{"entity_type":"nationality","text":"Canadian","start":49728,"end":50086}],"summary":"- Smoke 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. In some places, the air quality warnings include the warning to stay inside.\\n- Air pollution levels in Baltimore are considered unhealthy. Exposure to high levels can lead to a host of health problems. With climate change, we are seeing more wildfires. Will we be seeing more of these kinds of wide ranging air quality consequences?","speakers_expected":2} + /// Example: {"id":"9ea68fd3-f953-42c1-9742-976c447fb463","speech_model":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","language_model":"assemblyai_default","acoustic_model":"assemblyai_default","language_code":"en_us","language_detection":true,"language_confidence_threshold":0.7,"language_confidence":0.9959,"status":"completed","audio_url":"https://assembly.ai/wildfires.mp3","text":"Smoke 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.","words":[{"text":"Smoke","start":250,"end":650,"confidence":0.97465,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"from","start":730,"end":1022,"confidence":0.99999,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"hundreds","start":1076,"end":1418,"confidence":0.99844,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"of","start":1434,"end":1614,"confidence":0.84,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"wildfires","start":1652,"end":2346,"confidence":0.89572,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"in","start":2378,"end":2526,"confidence":0.99994,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"Canada","start":2548,"end":3130,"confidence":0.93953,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"is","start":3210,"end":3454,"confidence":0.999,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"triggering","start":3492,"end":3946,"confidence":0.74794,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"air","start":3978,"end":4174,"confidence":1.0,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"quality","start":4212,"end":4558,"confidence":0.88077,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"alerts","start":4644,"end":5114,"confidence":0.94814,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"throughout","start":5162,"end":5466,"confidence":0.99726,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"the","start":5498,"end":5694,"confidence":0.79,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},{"text":"US.","start":5732,"end":6382,"confidence":0.89,"speaker":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"}],"utterances":[{"confidence":0.9359033333333334,"end":26950,"speaker":"A","start":250,"text":"Smoke 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.","words":[{"text":"Smoke","start":250,"end":650,"confidence":0.97503,"speaker":"A"},{"text":"from","start":730,"end":1022,"confidence":0.99999,"speaker":"A"},{"text":"hundreds","start":1076,"end":1418,"confidence":0.99843,"speaker":"A"},{"text":"of","start":1434,"end":1614,"confidence":0.85,"speaker":"A"},{"text":"wildfires","start":1652,"end":2346,"confidence":0.89657,"speaker":"A"},{"text":"in","start":2378,"end":2526,"confidence":0.99994,"speaker":"A"},{"text":"Canada","start":2548,"end":3130,"confidence":0.93864,"speaker":"A"},{"text":"is","start":3210,"end":3454,"confidence":0.999,"speaker":"A"},{"text":"triggering","start":3492,"end":3946,"confidence":0.75366,"speaker":"A"},{"text":"air","start":3978,"end":4174,"confidence":1.0,"speaker":"A"},{"text":"quality","start":4212,"end":4558,"confidence":0.87745,"speaker":"A"},{"text":"alerts","start":4644,"end":5114,"confidence":0.94739,"speaker":"A"},{"text":"throughout","start":5162,"end":5466,"confidence":0.99726,"speaker":"A"},{"text":"the","start":5498,"end":5694,"confidence":0.79,"speaker":"A"},{"text":"US.","start":5732,"end":6382,"confidence":0.88,"speaker":"A"}]}],"confidence":0.9404651451800253,"audio_duration":281,"punctuate":true,"format_text":true,"multichannel":false,"webhook_url":"https://your-webhook-url.tld/path","webhook_status_code":200,"webhook_auth":true,"webhook_auth_header_name":"webhook-secret","auto_highlights_result":{"status":"success","results":[{"count":1,"rank":0.08,"text":"air quality alerts","timestamps":[{"start":3978,"end":5114}]},{"count":1,"rank":0.08,"text":"wide ranging air quality consequences","timestamps":[{"start":235388,"end":238694}]},{"count":1,"rank":0.07,"text":"more wildfires","timestamps":[{"start":230972,"end":232354}]},{"count":1,"rank":0.07,"text":"air pollution","timestamps":[{"start":156004,"end":156910}]},{"count":3,"rank":0.07,"text":"weather systems","timestamps":[{"start":47344,"end":47958},{"start":205268,"end":205818},{"start":211588,"end":213434}]},{"count":2,"rank":0.06,"text":"high levels","timestamps":[{"start":121128,"end":121646},{"start":155412,"end":155866}]},{"count":1,"rank":0.06,"text":"health conditions","timestamps":[{"start":152138,"end":152666}]},{"count":2,"rank":0.06,"text":"Peter de Carlo","timestamps":[{"start":18948,"end":19930},{"start":268298,"end":269194}]},{"count":1,"rank":0.06,"text":"New York City","timestamps":[{"start":125768,"end":126274}]},{"count":1,"rank":0.05,"text":"respiratory conditions","timestamps":[{"start":152964,"end":153786}]},{"count":3,"rank":0.05,"text":"New York","timestamps":[{"start":125768,"end":126034},{"start":171448,"end":171938},{"start":176008,"end":176322}]},{"count":3,"rank":0.05,"text":"climate change","timestamps":[{"start":229548,"end":230230},{"start":244576,"end":245162},{"start":263348,"end":263950}]},{"count":1,"rank":0.05,"text":"Johns Hopkins University Varsity","timestamps":[{"start":23972,"end":25490}]},{"count":1,"rank":0.05,"text":"heart conditions","timestamps":[{"start":153988,"end":154506}]},{"count":1,"rank":0.05,"text":"air quality warnings","timestamps":[{"start":12308,"end":13434}]}]},"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,"content_safety":true,"iab_categories":true,"content_safety_labels":{"status":"success","results":[{"text":"Smoke 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.","labels":[{"label":"disasters","confidence":0.8142836093902588,"severity":0.4093044400215149}],"sentences_idx_start":0,"sentences_idx_end":5,"timestamp":{"start":250,"end":28840}}],"summary":{"disasters":0.9940800441842205,"health_issues":0.9216489289040967},"severity_score_summary":{"disasters":{"low":0.5733263024656846,"medium":0.42667369753431533,"high":0.0},"health_issues":{"low":0.22863814977924785,"medium":0.45014154926938227,"high":0.32122030095136983}}},"iab_categories_result":{"status":"success","results":[{"text":"Smoke 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.","labels":[{"relevance":0.988274097442627,"label":"Home\u0026Garden\u003EIndoorEnvironmentalQuality"},{"relevance":0.5821335911750793,"label":"NewsAndPolitics\u003EWeather"},{"relevance":0.0042327106930315495,"label":"MedicalHealth\u003EDiseasesAndConditions\u003ELungAndRespiratoryHealth"},{"relevance":0.0033971222583204508,"label":"NewsAndPolitics\u003EDisasters"},{"relevance":0.002469958271831274,"label":"BusinessAndFinance\u003EBusiness\u003EGreenSolutions"},{"relevance":0.0014376690378412604,"label":"MedicalHealth\u003EDiseasesAndConditions\u003ECancer"},{"relevance":0.0014294233405962586,"label":"Science\u003EEnvironment"},{"relevance":0.001234519761055708,"label":"Travel\u003ETravelLocations\u003EPolarTravel"},{"relevance":0.0010231725173071027,"label":"MedicalHealth\u003EDiseasesAndConditions\u003EColdAndFlu"},{"relevance":0.0007445293595083058,"label":"BusinessAndFinance\u003EIndustries\u003EPowerAndEnergyIndustry"}],"timestamp":{"start":250,"end":28840}}],"summary":{"NewsAndPolitics\u003EWeather":1.0,"Home\u0026Garden\u003EIndoorEnvironmentalQuality":0.9043831825256348,"Science\u003EEnvironment":0.16117265820503235,"BusinessAndFinance\u003EIndustries\u003EEnvironmentalServicesIndustry":0.14393523335456848,"MedicalHealth\u003EDiseasesAndConditions\u003ELungAndRespiratoryHealth":0.11401086300611496,"BusinessAndFinance\u003EBusiness\u003EGreenSolutions":0.06348437070846558,"NewsAndPolitics\u003EDisasters":0.05041387677192688,"Travel\u003ETravelLocations\u003EPolarTravel":0.01308488193899393,"HealthyLiving":0.008222488686442375,"MedicalHealth\u003EDiseasesAndConditions\u003EColdAndFlu":0.0022315620444715023,"MedicalHealth\u003EDiseasesAndConditions\u003EHeartAndCardiovascularDiseases":0.00213034451007843,"HealthyLiving\u003EWellness\u003ESmokingCessation":0.001540527562610805,"MedicalHealth\u003EDiseasesAndConditions\u003EInjuries":0.0013950627762824297,"BusinessAndFinance\u003EIndustries\u003EPowerAndEnergyIndustry":0.0012570273829624057,"MedicalHealth\u003EDiseasesAndConditions\u003ECancer":0.001097781932912767,"MedicalHealth\u003EDiseasesAndConditions\u003EAllergies":0.0010148967849090695,"MedicalHealth\u003EDiseasesAndConditions\u003EMentalHealth":0.000717321818228811,"Style\u0026Fashion\u003EPersonalCare\u003EDeodorantAndAntiperspirant":0.0006022014422342181,"Technology\u0026Computing\u003EComputing\u003EComputerNetworking":0.0005461975233629346,"MedicalHealth\u003EDiseasesAndConditions\u003EInjuries\u003EFirstAid":0.0004885646631009877}},"custom_spelling":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","throttled":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","auto_chapters":true,"summarization":true,"summary_type":"bullets","summary_model":"informative","custom_topics":true,"topics":[],"speech_threshold":0.5,"remove_audio_tags":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","disfluencies":false,"sentiment_analysis":true,"chapters":[{"summary":"Smoke 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. In some places, the air quality warnings include the warning to stay inside.","gist":"Smoggy air quality alerts across US","headline":"Smoke from hundreds of wildfires in Canada is triggering air quality alerts across US","start":250,"end":28840},{"summary":"Air pollution levels in Baltimore are considered unhealthy. Exposure to high levels can lead to a host of health problems. With climate change, we are seeing more wildfires. Will we be seeing more of these kinds of wide ranging air quality consequences?","gist":"What is it about the conditions right now that have caused this round","headline":"High particulate matter in wildfire smoke can lead to serious health problems","start":29610,"end":280340}],"sentiment_analysis_results":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","entity_detection":true,"entities":[{"entity_type":"location","text":"Canada","start":2548,"end":3130},{"entity_type":"location","text":"the US","start":5498,"end":6382},{"entity_type":"location","text":"Maine","start":7492,"end":7914},{"entity_type":"location","text":"Maryland","start":8212,"end":8634},{"entity_type":"location","text":"Minnesota","start":8932,"end":9578},{"entity_type":"person_name","text":"Peter de Carlo","start":18948,"end":19930},{"entity_type":"occupation","text":"associate professor","start":20292,"end":21194},{"entity_type":"organization","text":"Department of Environmental Health and Engineering","start":21508,"end":23706},{"entity_type":"organization","text":"Johns Hopkins University Varsity","start":23972,"end":25490},{"entity_type":"occupation","text":"professor","start":26076,"end":26950},{"entity_type":"location","text":"the US","start":45184,"end":45898},{"entity_type":"nationality","text":"Canadian","start":49728,"end":50086}],"summary":"- Smoke 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. In some places, the air quality warnings include the warning to stay inside.\\n- Air pollution levels in Baltimore are considered unhealthy. Exposure to high levels can lead to a host of health problems. With climate change, we are seeing more wildfires. Will we be seeing more of these kinds of wide ranging air quality consequences?","speakers_expected":2} ///
public sealed partial class Transcript { @@ -340,6 +340,14 @@ public sealed partial class Transcript [global::System.Text.Json.Serialization.JsonPropertyName("summary_type")] public string? SummaryType { get; set; } + /// + /// Whether [audio event tags](https://www.assemblyai.com/docs/pre-recorded-audio/universal-3-pro#audio-event-tags) were removed from the transcript text.
+ /// Note: This parameter is only supported for the Universal-3-Pro model. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("remove_audio_tags")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter))] + public global::AssemblyAI.OneOf? RemoveAudioTags { get; set; } + /// /// The temperature that was used for the model's response. See the [Prompting Guide](https://www.assemblyai.com/docs/pre-recorded-audio/prompting) for more details.
/// Note: This parameter can only be used with the Universal-3-Pro model. @@ -621,6 +629,10 @@ public sealed partial class Transcript /// /// The type of summary generated, if [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-types) is enabled /// + /// + /// Whether [audio event tags](https://www.assemblyai.com/docs/pre-recorded-audio/universal-3-pro#audio-event-tags) were removed from the transcript text.
+ /// Note: This parameter is only supported for the Universal-3-Pro model. + /// /// /// The temperature that was used for the model's response. See the [Prompting Guide](https://www.assemblyai.com/docs/pre-recorded-audio/prompting) for more details.
/// Note: This parameter can only be used with the Universal-3-Pro model. @@ -720,6 +732,7 @@ public Transcript( string? summary, string? summaryModel, string? summaryType, + global::AssemblyAI.OneOf? removeAudioTags, double? temperature, string? text, bool? throttled, @@ -784,6 +797,7 @@ public Transcript( this.Summary = summary; this.SummaryModel = summaryModel; this.SummaryType = summaryType; + this.RemoveAudioTags = removeAudioTags; this.Temperature = temperature; this.Text = text; this.Throttled = throttled; diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs index 0565194..b43517e 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":true,"entity_detection":true,"speech_threshold":0.5,"summarization":true,"summary_model":"informative","summary_type":"bullets","custom_topics":true,"topics":[],"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_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":true,"entity_detection":true,"speech_threshold":0.5,"summarization":true,"summary_model":"informative","summary_type":"bullets","custom_topics":true,"topics":[],"remove_audio_tags":"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 { @@ -272,6 +272,15 @@ public sealed partial class TranscriptOptionalParams [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AssemblyAI.JsonConverters.SummaryTypeJsonConverter))] public global::AssemblyAI.SummaryType? SummaryType { get; set; } + /// + /// Remove [audio event tags](https://www.assemblyai.com/docs/pre-recorded-audio/universal-3-pro#audio-event-tags) from the transcript text. Set to `"all"` to remove all audio tags.
+ /// Note: This parameter is only supported for the Universal-3-Pro model.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("remove_audio_tags")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AssemblyAI.JsonConverters.OneOfJsonConverter))] + public global::AssemblyAI.OneOf? RemoveAudioTags { get; set; } + /// /// Control the amount of randomness injected into the model's response. See the [Prompting Guide](https://www.assemblyai.com/docs/pre-recorded-audio/prompting) for more details.
/// Note: This parameter can only be used with the Universal-3-Pro model.
@@ -474,6 +483,11 @@ public sealed partial class TranscriptOptionalParams /// The type of summary. See [Summary types](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-types) for descriptions of the available summary types.
/// Default Value: bullets /// + /// + /// Remove [audio event tags](https://www.assemblyai.com/docs/pre-recorded-audio/universal-3-pro#audio-event-tags) from the transcript text. Set to `"all"` to remove all audio tags.
+ /// Note: This parameter is only supported for the Universal-3-Pro model.
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// /// /// Control the amount of randomness injected into the model's response. See the [Prompting Guide](https://www.assemblyai.com/docs/pre-recorded-audio/prompting) for more details.
/// Note: This parameter can only be used with the Universal-3-Pro model.
@@ -531,6 +545,7 @@ public TranscriptOptionalParams( bool? summarization, global::AssemblyAI.SummaryModel? summaryModel, global::AssemblyAI.SummaryType? summaryType, + global::AssemblyAI.OneOf? removeAudioTags, double? temperature, string? webhookAuthHeaderName, string? webhookAuthHeaderValue, @@ -573,6 +588,7 @@ public TranscriptOptionalParams( this.Summarization = summarization; this.SummaryModel = summaryModel; this.SummaryType = summaryType; + this.RemoveAudioTags = removeAudioTags; this.Temperature = temperature; this.WebhookAuthHeaderName = webhookAuthHeaderName; this.WebhookAuthHeaderValue = webhookAuthHeaderValue; diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsRemoveAudioTags.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsRemoveAudioTags.g.cs new file mode 100644 index 0000000..60c8253 --- /dev/null +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParamsRemoveAudioTags.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AssemblyAI +{ + /// + /// + /// + public enum TranscriptOptionalParamsRemoveAudioTags + { + /// + /// + /// + All, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class TranscriptOptionalParamsRemoveAudioTagsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this TranscriptOptionalParamsRemoveAudioTags value) + { + return value switch + { + TranscriptOptionalParamsRemoveAudioTags.All => "all", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static TranscriptOptionalParamsRemoveAudioTags? ToEnum(string value) + { + return value switch + { + "all" => TranscriptOptionalParamsRemoveAudioTags.All, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptParams.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptParams.g.cs index dab8921..bc1dcc9 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":true,"entity_detection":true,"speech_threshold":0.5,"summarization":true,"summary_model":"informative","summary_type":"bullets","custom_topics":true,"topics":[],"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_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":true,"entity_detection":true,"speech_threshold":0.5,"summarization":true,"summary_model":"informative","summary_type":"bullets","custom_topics":true,"topics":[],"remove_audio_tags":"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 { @@ -29,7 +29,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":true,"entity_detection":true,"speech_threshold":0.5,"summarization":true,"summary_model":"informative","summary_type":"bullets","custom_topics":true,"topics":[],"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_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":true,"entity_detection":true,"speech_threshold":0.5,"summarization":true,"summary_model":"informative","summary_type":"bullets","custom_topics":true,"topics":[],"remove_audio_tags":"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? Value2 { get; init; } diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptRemoveAudioTags.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptRemoveAudioTags.g.cs new file mode 100644 index 0000000..e9a7eb4 --- /dev/null +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptRemoveAudioTags.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AssemblyAI +{ + /// + /// + /// + public enum TranscriptRemoveAudioTags + { + /// + /// + /// + All, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class TranscriptRemoveAudioTagsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this TranscriptRemoveAudioTags value) + { + return value switch + { + TranscriptRemoveAudioTags.All => "all", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static TranscriptRemoveAudioTags? ToEnum(string value) + { + return value switch + { + "all" => TranscriptRemoveAudioTags.All, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AssemblyAI/openapi.yaml b/src/libs/AssemblyAI/openapi.yaml index 6aaf4cb..df094d7 100644 --- a/src/libs/AssemblyAI/openapi.yaml +++ b/src/libs/AssemblyAI/openapi.yaml @@ -1569,6 +1569,19 @@ components: default: bullets $ref: "#/components/schemas/SummaryType" + remove_audio_tags: + x-label: Remove audio tags + description: | + Remove [audio event tags](https://www.assemblyai.com/docs/pre-recorded-audio/universal-3-pro#audio-event-tags) from the transcript text. Set to `"all"` to remove all audio tags. + + Note: This parameter is only supported for the Universal-3-Pro model. + oneOf: + - type: string + enum: + - all + - type: "null" + default: null + temperature: x-label: Temperature description: | @@ -1661,6 +1674,7 @@ components: summary_type: "bullets", custom_topics: true, topics: [], + remove_audio_tags: null, speech_understanding: { request: @@ -1730,6 +1744,7 @@ components: summary_type: "bullets", custom_topics: true, topics: [], + remove_audio_tags: null, speech_understanding: { request: @@ -3049,6 +3064,18 @@ components: description: The type of summary generated, if [Summarization](https://www.assemblyai.com/docs/speech-understanding/summarization#summary-types) is enabled type: [string, "null"] + remove_audio_tags: + x-label: Remove audio tags + description: | + Whether [audio event tags](https://www.assemblyai.com/docs/pre-recorded-audio/universal-3-pro#audio-event-tags) were removed from the transcript text. + + Note: This parameter is only supported for the Universal-3-Pro model. + oneOf: + - type: string + enum: + - all + - type: "null" + temperature: x-label: Temperature description: | @@ -3686,6 +3713,7 @@ components: custom_topics: true, topics: [], speech_threshold: 0.5, + remove_audio_tags: null, disfluencies: false, sentiment_analysis: true, chapters: @@ -6295,6 +6323,7 @@ components: topics: null, speech_threshold: null, speech_model: null, + remove_audio_tags: null, chapters: null, disfluencies: true, entity_detection: false,