Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:Update openapi.yaml with new endpoints and improved query parameters #29

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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