Skip to content

Commit

Permalink
feat: Updated OpenAPI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 25, 2024
1 parent eba826b commit 9c17fdc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 37 deletions.
12 changes: 0 additions & 12 deletions src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,6 @@ public sealed partial class Transcript
[global::System.Text.Json.Serialization.JsonPropertyName("disfluencies")]
public bool? Disfluencies { get; set; }

/// <summary>
/// Whether [Multichannel transcription](https://www.assemblyai.com/docs/models/speech-recognition#multichannel-transcription) was enabled in the transcription request, either true or false
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("multichannel")]
public bool? Multichannel { get; set; }

/// <summary>
/// The number of audio channels in the audio file. This is only present when multichannel is enabled.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("audio_channels")]
public int? AudioChannels { get; set; }

/// <summary>
/// Whether [Dual channel transcription](https://www.assemblyai.com/docs/models/speech-recognition#dual-channel-transcription) was enabled in the transcription request, either true or false
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,6 @@ public sealed partial class TranscriptOptionalParams
[global::System.Text.Json.Serialization.JsonPropertyName("disfluencies")]
public bool? Disfluencies { get; set; }

/// <summary>
/// Enable [Multichannel](https://www.assemblyai.com/docs/models/speech-recognition#multichannel-transcription) transcription, can be true or false.<br/>
/// Default Value: false
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("multichannel")]
public bool? Multichannel { get; set; }

/// <summary>
/// Enable [Dual Channel](https://www.assemblyai.com/docs/models/speech-recognition#dual-channel-transcription) transcription, can be true or false.<br/>
/// Default Value: false
Expand Down
18 changes: 0 additions & 18 deletions src/libs/AssemblyAI/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1150,11 +1150,6 @@ components:
description: 'Transcribe Filler Words, like "umm", in your media file; can be true or false'
default: false
x-label: Disfluencies
multichannel:
type: boolean
description: 'Enable [Multichannel](https://www.assemblyai.com/docs/models/speech-recognition#multichannel-transcription) transcription, can be true or false.'
default: false
x-label: Multichannel
dual_channel:
type: boolean
description: 'Enable [Dual Channel](https://www.assemblyai.com/docs/models/speech-recognition#dual-channel-transcription) transcription, can be true or false.'
Expand Down Expand Up @@ -1318,7 +1313,6 @@ components:
language_confidence_threshold: 0.7
punctuate: true
format_text: true
multichannel: true
dual_channel: false
webhook_url: https://your-webhook-url.tld/path
webhook_auth_header_name: webhook-secret
Expand Down Expand Up @@ -1380,7 +1374,6 @@ components:
audio_url: https://assembly.ai/wildfires.mp3
punctuate: true
format_text: true
multichannel: true
dual_channel: false
webhook_url: https://your-webhook-url/path
webhook_auth_header_name: webhook-secret
Expand Down Expand Up @@ -2382,15 +2375,6 @@ components:
description: 'Transcribe Filler Words, like "umm", in your media file; can be true or false'
nullable: true
x-label: Disfluencies
multichannel:
type: boolean
description: 'Whether [Multichannel transcription](https://www.assemblyai.com/docs/models/speech-recognition#multichannel-transcription) was enabled in the transcription request, either true or false'
nullable: true
x-label: Multichannel
audio_channels:
type: integer
description: The number of audio channels in the audio file. This is only present when multichannel is enabled.
x-label: Audio channels
dual_channel:
type: boolean
description: 'Whether [Dual channel transcription](https://www.assemblyai.com/docs/models/speech-recognition#dual-channel-transcription) was enabled in the transcription request, either true or false'
Expand Down Expand Up @@ -2793,7 +2777,6 @@ components:
audio_duration: 281
punctuate: true
format_text: true
multichannel: false
dual_channel: false
webhook_url: https://your-webhook-url.tld/path
webhook_status_code: 200
Expand Down Expand Up @@ -5093,7 +5076,6 @@ components:
audio_duration: '390'
punctuate: 'null'
format_text: 'null'
multichannel: 'false'
dual_channel: 'null'
webhook_url: http://deleted_by_user
webhook_status_code: 'null'
Expand Down

0 comments on commit 9c17fdc

Please sign in to comment.