Class GoogleCloudAiplatformV1beta1AudioTranscriptionConfig
Configuration for speech recognition (transcription).
Implements
Inherited Members
Namespace: Google.Apis.FirebaseML.v2beta.Data
Assembly: Google.Apis.FirebaseML.v2beta.dll
Syntax
public class GoogleCloudAiplatformV1beta1AudioTranscriptionConfig : IDirectResponseSchema
Properties
AdaptationPhrases
Optional. Deprecated: Use custom_vocabulary instead. A list of phrases to bias the speech recognition
model towards.
Declaration
[JsonProperty("adaptationPhrases")]
public virtual IList<string> AdaptationPhrases { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
CustomVocabulary
Optional. A list of custom vocabulary phrases to bias the speech recognition model toward recognizing specific terms.
Declaration
[JsonProperty("customVocabulary")]
public virtual IList<string> CustomVocabulary { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Diarization
Optional. Configures speaker diarization.
Declaration
[JsonProperty("diarization")]
public virtual bool? Diarization { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LanguageAuto
Optional. Deprecated: Use top-level language_codes instead. The model will detect the language
automatically.
Declaration
[JsonProperty("languageAuto")]
public virtual GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto LanguageAuto { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto |
LanguageCodes
Optional. BCP-47 language codes providing hints about the languages present in the audio. If omitted or empty, defaults to automatic language detection.
Declaration
[JsonProperty("languageCodes")]
public virtual IList<string> LanguageCodes { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
LanguageHints
Optional. Deprecated: Use top-level language_codes instead. Specifies one or more languages in the audio.
Declaration
[JsonProperty("languageHints")]
public virtual GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints LanguageHints { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints |
Mode
Optional. Configures transcription mode. Supported values: VERBATIM, SMART. If unspecified, defaults to
VERBATIM transcription. In SMART mode, the model performs disfluency removal (eliminating filler words,
repetitions, and false starts), light grammatical cleanup, automatic formatting (paragraphs, bullet points,
numbered lists), and minor user edits (inline self-corrections). Timestamps and diarization are incompatible
with mode SMART.
Declaration
[JsonProperty("mode")]
public virtual string Mode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
WordTimestamp
Optional. Configures word-level timestamp generation.
Declaration
[JsonProperty("wordTimestamp")]
public virtual bool? WordTimestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |