Class FastTranscriptionRequest.DefinitionData
Inherited Members
Namespace: Glitch9.AIDevKit.Microsoft.Azure
Assembly: Glitch9.AIDevKit.Provider.Microsoft.Azure.dll
Syntax
public class FastTranscriptionRequest.DefinitionData
Properties
| Edit this page View SourceChannels
The list of zero-based indices of the channels to be transcribed separately. Up to two channels are supported unless diarization is enabled. By default, the fast transcription API merges
Declaration
[JsonProperty("channels")]
public int[] Channels { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] |
Diarization
The diarization configuration. Diarization is the process of recognizing and separating multiple speakers in one audio channel. For example, specify "diarization": {"maxSpeakers": 2, "enabled": true}.
Declaration
[JsonProperty("diarization")]
public FastTranscriptionRequest.DiarizationConfig Diarization { get; set; }
Property Value
| Type | Description |
|---|---|
| FastTranscriptionRequest.DiarizationConfig |
Locales
The list of locales that should match the expected locale of the audio data to transcribe.
Declaration
[JsonProperty("locales")]
public string[] Locales { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
ProfanityFilterMode
Specifies how to handle profanity in recognition results. Accepted values are None to disable profanity filtering, Masked to replace profanity with asterisks, Removed to remove all profanity from the result, or Tags to add profanity tags. The default value is Masked.
Declaration
[JsonProperty("profanityFilterMode")]
public string ProfanityFilterMode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |