From 53117febab3b682a54c06ffe17bec95b42bc31bf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 4 Sep 2025 18:25:56 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...yAI.ITranscriptClient.ListTranscripts.g.cs | 2 +- .../AssemblyAI.Models.Transcript.g.cs | 18 --------- ...blyAI.Models.TranscriptOptionalParams.g.cs | 19 --------- ...lyAI.TranscriptClient.ListTranscripts.g.cs | 2 +- src/libs/AssemblyAI/openapi.yaml | 39 +------------------ 5 files changed, 3 insertions(+), 77 deletions(-) diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.ITranscriptClient.ListTranscripts.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.ITranscriptClient.ListTranscripts.g.cs index a6fce90..ab0d5d2 100644 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.ITranscriptClient.ListTranscripts.g.cs +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.ITranscriptClient.ListTranscripts.g.cs @@ -7,7 +7,7 @@ public partial interface ITranscriptClient /// /// List transcripts
/// <Note>To retrieve your transcriptions on our EU server, replace `api.assemblyai.com` with `api.eu.assemblyai.com`.</Note>
- /// Retrieve a list of transcripts you created.
+ /// Retrieve a list of transcripts you created.
/// Transcripts are sorted from newest to oldest and can be retrieved for the last 90 days of usage. The previous URL always points to a page with older transcripts.
/// If you need to retrieve transcripts from more than 90 days ago please reach out to our Support team at support@assemblyai.com. ///
diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs index f5fd269..cea03e6 100644 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs @@ -68,12 +68,6 @@ public sealed partial class Transcript [global::System.Text.Json.Serialization.JsonPropertyName("auto_highlights_result")] public object? AutoHighlightsResult { get; set; } - /// - /// The word boost parameter value - /// - [global::System.Text.Json.Serialization.JsonPropertyName("boost_param")] - public string? BoostParam { get; set; } - /// /// An array of temporally sequential chapters for the audio file /// @@ -411,13 +405,6 @@ public sealed partial class Transcript [global::System.Text.Json.Serialization.JsonPropertyName("webhook_url")] public string? WebhookUrl { get; set; } - /// - /// The list of custom vocabulary to boost transcription probability for - /// - [global::System.Text.Json.Serialization.JsonPropertyName("word_boost")] - [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? WordBoost { get; set; } - /// /// An array of temporally-sequential word objects, one for each word in the transcript.
/// See [Speech recognition](https://www.assemblyai.com/docs/models/speech-recognition) for more information. @@ -462,9 +449,6 @@ public sealed partial class Transcript /// An array of results for the Key Phrases model, if it is enabled.
/// See [Key Phrases](https://www.assemblyai.com/docs/models/key-phrases) for more information. /// - /// - /// The word boost parameter value - /// /// /// An array of temporally sequential chapters for the audio file /// @@ -647,7 +631,6 @@ public Transcript( int? audioStartFrom, bool? autoChapters, object? autoHighlightsResult, - string? boostParam, global::System.Collections.Generic.IList? chapters, double? confidence, bool? contentSafety, @@ -706,7 +689,6 @@ public Transcript( this.AudioStartFrom = audioStartFrom; this.AutoChapters = autoChapters; this.AutoHighlightsResult = autoHighlightsResult; - this.BoostParam = boostParam; this.Chapters = chapters; this.Confidence = confidence; this.ContentSafety = contentSafety; diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs index 5823a23..808075b 100644 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs @@ -34,13 +34,6 @@ public sealed partial class TranscriptOptionalParams [global::System.Text.Json.Serialization.JsonPropertyName("auto_highlights")] public bool? AutoHighlights { get; set; } - /// - /// How much to boost specified words - /// - [global::System.Text.Json.Serialization.JsonPropertyName("boost_param")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AssemblyAI.JsonConverters.TranscriptBoostParamJsonConverter))] - public global::AssemblyAI.TranscriptBoostParam? BoostParam { get; set; } - /// /// Enable [Content Moderation](https://www.assemblyai.com/docs/models/content-moderation), can be true or false
/// Default Value: false @@ -300,13 +293,6 @@ public sealed partial class TranscriptOptionalParams [global::System.Text.Json.Serialization.JsonPropertyName("webhook_url")] public string? WebhookUrl { get; set; } - /// - /// The list of custom vocabulary to boost transcription probability for - /// - [global::System.Text.Json.Serialization.JsonPropertyName("word_boost")] - [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? WordBoost { get; set; } - /// /// Additional properties that are not explicitly defined in the schema /// @@ -330,9 +316,6 @@ public sealed partial class TranscriptOptionalParams /// Enable Key Phrases, either true or false
/// Default Value: false /// - /// - /// How much to boost specified words - /// /// /// Enable [Content Moderation](https://www.assemblyai.com/docs/models/content-moderation), can be true or false
/// Default Value: false @@ -471,7 +454,6 @@ public TranscriptOptionalParams( int? audioStartFrom, bool? autoChapters, bool? autoHighlights, - global::AssemblyAI.TranscriptBoostParam? boostParam, bool? contentSafety, int? contentSafetyConfidence, global::System.Collections.Generic.IList? customSpelling, @@ -511,7 +493,6 @@ public TranscriptOptionalParams( this.AudioStartFrom = audioStartFrom; this.AutoChapters = autoChapters; this.AutoHighlights = autoHighlights; - this.BoostParam = boostParam; this.ContentSafety = contentSafety; this.ContentSafetyConfidence = contentSafetyConfidence; this.CustomSpelling = customSpelling; diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.TranscriptClient.ListTranscripts.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.TranscriptClient.ListTranscripts.g.cs index eba6e08..5c114ec 100644 --- a/src/libs/AssemblyAI/Generated/AssemblyAI.TranscriptClient.ListTranscripts.g.cs +++ b/src/libs/AssemblyAI/Generated/AssemblyAI.TranscriptClient.ListTranscripts.g.cs @@ -34,7 +34,7 @@ partial void ProcessListTranscriptsResponseContent( /// /// List transcripts
/// <Note>To retrieve your transcriptions on our EU server, replace `api.assemblyai.com` with `api.eu.assemblyai.com`.</Note>
- /// Retrieve a list of transcripts you created.
+ /// Retrieve a list of transcripts you created.
/// Transcripts are sorted from newest to oldest and can be retrieved for the last 90 days of usage. The previous URL always points to a page with older transcripts.
/// If you need to retrieve transcripts from more than 90 days ago please reach out to our Support team at support@assemblyai.com. ///
diff --git a/src/libs/AssemblyAI/openapi.yaml b/src/libs/AssemblyAI/openapi.yaml index c659cbb..ea22fe4 100644 --- a/src/libs/AssemblyAI/openapi.yaml +++ b/src/libs/AssemblyAI/openapi.yaml @@ -172,7 +172,7 @@ paths: operationId: listTranscripts description: | To retrieve your transcriptions on our EU server, replace `api.assemblyai.com` with `api.eu.assemblyai.com`. - Retrieve a list of transcripts you created. + Retrieve a list of transcripts you created. Transcripts are sorted from newest to oldest and can be retrieved for the last 90 days of usage. The previous URL always points to a page with older transcripts. If you need to retrieve transcripts from more than 90 days ago please reach out to our Support team at support@assemblyai.com. @@ -1361,21 +1361,6 @@ components: description: The point in time, in milliseconds, to stop transcribing in your media file type: integer - word_boost: - x-label: Word boost - description: The list of custom vocabulary to boost transcription probability for - type: array - items: - x-label: Word to boost - type: string - deprecated: true - - boost_param: - x-label: Word boost level - description: How much to boost specified words - default: default - $ref: "#/components/schemas/TranscriptBoostParam" - filter_profanity: x-label: Filter profanity description: Filter profanity from the transcribed text, can be true or false @@ -1580,8 +1565,6 @@ components: auto_highlights: true, audio_start_from: 10, audio_end_at: 280, - word_boost: ["aws", "azure", "google cloud"], - boost_param: "high", filter_profanity: true, redact_pii: true, redact_pii_audio: true, @@ -1640,8 +1623,6 @@ components: auto_highlights: true, audio_start_from: 10, audio_end_at: 280, - word_boost: ["aws", "azure", "google cloud"], - boost_param: "high", filter_profanity: true, redact_pii: true, redact_pii_audio: true, @@ -2813,20 +2794,6 @@ components: description: The point in time, in milliseconds, in the file at which the transcription was terminated type: [integer, "null"] - word_boost: - x-label: Word boost - description: The list of custom vocabulary to boost transcription probability for - type: array - items: - x-label: Boosted word - type: string - deprecated: true - - boost_param: - x-label: Boost - description: The word boost parameter value - type: [string, "null"] - filter_profanity: x-label: Filter profanity description: Whether [Profanity Filtering](https://www.assemblyai.com/docs/models/speech-recognition#profanity-filtering) is enabled, either true or false @@ -3425,8 +3392,6 @@ components: auto_highlights: true, audio_start_from: 10, audio_end_at: 280, - word_boost: ["aws", "azure", "google cloud"], - boost_param: "high", filter_profanity: true, redact_pii: true, redact_pii_audio: true, @@ -6030,8 +5995,6 @@ components: auto_highlights: false, audio_start_from: null, audio_end_at: null, - word_boost: null, - boost_param: null, filter_profanity: null, redact_pii: false, redact_pii_audio: null,