Skip to content

Commit ecd9bd3

Browse files
HavenDVgithub-actions[bot]
andauthored
feat: Updated OpenAPI spec (#125)
Co-authored-by: github-actions[bot] <bot@openai.com>
1 parent e6bc237 commit ecd9bd3

File tree

5 files changed

+3
-77
lines changed

5 files changed

+3
-77
lines changed

src/libs/AssemblyAI/Generated/AssemblyAI.ITranscriptClient.ListTranscripts.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public partial interface ITranscriptClient
77
/// <summary>
88
/// List transcripts<br/>
99
/// &lt;Note&gt;To retrieve your transcriptions on our EU server, replace `api.assemblyai.com` with `api.eu.assemblyai.com`.&lt;/Note&gt;<br/>
10-
/// Retrieve a list of transcripts you created. <br/>
10+
/// Retrieve a list of transcripts you created.<br/>
1111
/// 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.<br/>
1212
/// If you need to retrieve transcripts from more than 90 days ago please reach out to our Support team at support@assemblyai.com.
1313
/// </summary>

src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,6 @@ public sealed partial class Transcript
6868
[global::System.Text.Json.Serialization.JsonPropertyName("auto_highlights_result")]
6969
public object? AutoHighlightsResult { get; set; }
7070

71-
/// <summary>
72-
/// The word boost parameter value
73-
/// </summary>
74-
[global::System.Text.Json.Serialization.JsonPropertyName("boost_param")]
75-
public string? BoostParam { get; set; }
76-
7771
/// <summary>
7872
/// An array of temporally sequential chapters for the audio file
7973
/// </summary>
@@ -411,13 +405,6 @@ public sealed partial class Transcript
411405
[global::System.Text.Json.Serialization.JsonPropertyName("webhook_url")]
412406
public string? WebhookUrl { get; set; }
413407

414-
/// <summary>
415-
/// The list of custom vocabulary to boost transcription probability for
416-
/// </summary>
417-
[global::System.Text.Json.Serialization.JsonPropertyName("word_boost")]
418-
[global::System.Obsolete("This property marked as deprecated.")]
419-
public global::System.Collections.Generic.IList<string>? WordBoost { get; set; }
420-
421408
/// <summary>
422409
/// An array of temporally-sequential word objects, one for each word in the transcript.<br/>
423410
/// See [Speech recognition](https://www.assemblyai.com/docs/models/speech-recognition) for more information.
@@ -462,9 +449,6 @@ public sealed partial class Transcript
462449
/// An array of results for the Key Phrases model, if it is enabled.<br/>
463450
/// See [Key Phrases](https://www.assemblyai.com/docs/models/key-phrases) for more information.
464451
/// </param>
465-
/// <param name="boostParam">
466-
/// The word boost parameter value
467-
/// </param>
468452
/// <param name="chapters">
469453
/// An array of temporally sequential chapters for the audio file
470454
/// </param>
@@ -647,7 +631,6 @@ public Transcript(
647631
int? audioStartFrom,
648632
bool? autoChapters,
649633
object? autoHighlightsResult,
650-
string? boostParam,
651634
global::System.Collections.Generic.IList<global::AssemblyAI.Chapter>? chapters,
652635
double? confidence,
653636
bool? contentSafety,
@@ -706,7 +689,6 @@ public Transcript(
706689
this.AudioStartFrom = audioStartFrom;
707690
this.AutoChapters = autoChapters;
708691
this.AutoHighlightsResult = autoHighlightsResult;
709-
this.BoostParam = boostParam;
710692
this.Chapters = chapters;
711693
this.Confidence = confidence;
712694
this.ContentSafety = contentSafety;

src/libs/AssemblyAI/Generated/AssemblyAI.Models.TranscriptOptionalParams.g.cs

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,6 @@ public sealed partial class TranscriptOptionalParams
3434
[global::System.Text.Json.Serialization.JsonPropertyName("auto_highlights")]
3535
public bool? AutoHighlights { get; set; }
3636

37-
/// <summary>
38-
/// How much to boost specified words
39-
/// </summary>
40-
[global::System.Text.Json.Serialization.JsonPropertyName("boost_param")]
41-
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::AssemblyAI.JsonConverters.TranscriptBoostParamJsonConverter))]
42-
public global::AssemblyAI.TranscriptBoostParam? BoostParam { get; set; }
43-
4437
/// <summary>
4538
/// Enable [Content Moderation](https://www.assemblyai.com/docs/models/content-moderation), can be true or false<br/>
4639
/// Default Value: false
@@ -300,13 +293,6 @@ public sealed partial class TranscriptOptionalParams
300293
[global::System.Text.Json.Serialization.JsonPropertyName("webhook_url")]
301294
public string? WebhookUrl { get; set; }
302295

303-
/// <summary>
304-
/// The list of custom vocabulary to boost transcription probability for
305-
/// </summary>
306-
[global::System.Text.Json.Serialization.JsonPropertyName("word_boost")]
307-
[global::System.Obsolete("This property marked as deprecated.")]
308-
public global::System.Collections.Generic.IList<string>? WordBoost { get; set; }
309-
310296
/// <summary>
311297
/// Additional properties that are not explicitly defined in the schema
312298
/// </summary>
@@ -330,9 +316,6 @@ public sealed partial class TranscriptOptionalParams
330316
/// Enable Key Phrases, either true or false<br/>
331317
/// Default Value: false
332318
/// </param>
333-
/// <param name="boostParam">
334-
/// How much to boost specified words
335-
/// </param>
336319
/// <param name="contentSafety">
337320
/// Enable [Content Moderation](https://www.assemblyai.com/docs/models/content-moderation), can be true or false<br/>
338321
/// Default Value: false
@@ -471,7 +454,6 @@ public TranscriptOptionalParams(
471454
int? audioStartFrom,
472455
bool? autoChapters,
473456
bool? autoHighlights,
474-
global::AssemblyAI.TranscriptBoostParam? boostParam,
475457
bool? contentSafety,
476458
int? contentSafetyConfidence,
477459
global::System.Collections.Generic.IList<global::AssemblyAI.TranscriptCustomSpelling>? customSpelling,
@@ -511,7 +493,6 @@ public TranscriptOptionalParams(
511493
this.AudioStartFrom = audioStartFrom;
512494
this.AutoChapters = autoChapters;
513495
this.AutoHighlights = autoHighlights;
514-
this.BoostParam = boostParam;
515496
this.ContentSafety = contentSafety;
516497
this.ContentSafetyConfidence = contentSafetyConfidence;
517498
this.CustomSpelling = customSpelling;

src/libs/AssemblyAI/Generated/AssemblyAI.TranscriptClient.ListTranscripts.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ partial void ProcessListTranscriptsResponseContent(
3434
/// <summary>
3535
/// List transcripts<br/>
3636
/// &lt;Note&gt;To retrieve your transcriptions on our EU server, replace `api.assemblyai.com` with `api.eu.assemblyai.com`.&lt;/Note&gt;<br/>
37-
/// Retrieve a list of transcripts you created. <br/>
37+
/// Retrieve a list of transcripts you created.<br/>
3838
/// 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.<br/>
3939
/// If you need to retrieve transcripts from more than 90 days ago please reach out to our Support team at support@assemblyai.com.
4040
/// </summary>

src/libs/AssemblyAI/openapi.yaml

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ paths:
172172
operationId: listTranscripts
173173
description: |
174174
<Note>To retrieve your transcriptions on our EU server, replace `api.assemblyai.com` with `api.eu.assemblyai.com`.</Note>
175-
Retrieve a list of transcripts you created.
175+
Retrieve a list of transcripts you created.
176176
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.
177177
178178
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:
13611361
description: The point in time, in milliseconds, to stop transcribing in your media file
13621362
type: integer
13631363

1364-
word_boost:
1365-
x-label: Word boost
1366-
description: The list of custom vocabulary to boost transcription probability for
1367-
type: array
1368-
items:
1369-
x-label: Word to boost
1370-
type: string
1371-
deprecated: true
1372-
1373-
boost_param:
1374-
x-label: Word boost level
1375-
description: How much to boost specified words
1376-
default: default
1377-
$ref: "#/components/schemas/TranscriptBoostParam"
1378-
13791364
filter_profanity:
13801365
x-label: Filter profanity
13811366
description: Filter profanity from the transcribed text, can be true or false
@@ -1580,8 +1565,6 @@ components:
15801565
auto_highlights: true,
15811566
audio_start_from: 10,
15821567
audio_end_at: 280,
1583-
word_boost: ["aws", "azure", "google cloud"],
1584-
boost_param: "high",
15851568
filter_profanity: true,
15861569
redact_pii: true,
15871570
redact_pii_audio: true,
@@ -1640,8 +1623,6 @@ components:
16401623
auto_highlights: true,
16411624
audio_start_from: 10,
16421625
audio_end_at: 280,
1643-
word_boost: ["aws", "azure", "google cloud"],
1644-
boost_param: "high",
16451626
filter_profanity: true,
16461627
redact_pii: true,
16471628
redact_pii_audio: true,
@@ -2813,20 +2794,6 @@ components:
28132794
description: The point in time, in milliseconds, in the file at which the transcription was terminated
28142795
type: [integer, "null"]
28152796

2816-
word_boost:
2817-
x-label: Word boost
2818-
description: The list of custom vocabulary to boost transcription probability for
2819-
type: array
2820-
items:
2821-
x-label: Boosted word
2822-
type: string
2823-
deprecated: true
2824-
2825-
boost_param:
2826-
x-label: Boost
2827-
description: The word boost parameter value
2828-
type: [string, "null"]
2829-
28302797
filter_profanity:
28312798
x-label: Filter profanity
28322799
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:
34253392
auto_highlights: true,
34263393
audio_start_from: 10,
34273394
audio_end_at: 280,
3428-
word_boost: ["aws", "azure", "google cloud"],
3429-
boost_param: "high",
34303395
filter_profanity: true,
34313396
redact_pii: true,
34323397
redact_pii_audio: true,
@@ -6030,8 +5995,6 @@ components:
60305995
auto_highlights: false,
60315996
audio_start_from: null,
60325997
audio_end_at: null,
6033-
word_boost: null,
6034-
boost_param: null,
60355998
filter_profanity: null,
60365999
redact_pii: false,
60376000
redact_pii_audio: null,

0 commit comments

Comments
 (0)