Skip to content

Commit

Permalink
Merge pull request #31 from tryAGI/bot/update-openapi_202411061517
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Nov 6, 2024
2 parents 140599d + 36a5922 commit 380fbdb
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/libs/AssemblyAI/Generated/AssemblyAI.Models.Transcript.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,18 @@ 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,6 +64,13 @@ 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: 18 additions & 0 deletions src/libs/AssemblyAI/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1150,6 +1150,11 @@ 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 @@ -1313,6 +1318,7 @@ 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 @@ -1374,6 +1380,7 @@ 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 @@ -2375,6 +2382,15 @@ 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 @@ -2777,6 +2793,7 @@ 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 @@ -5076,6 +5093,7 @@ 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 380fbdb

Please sign in to comment.