Class RealtimeMessageResultTranscription
Transcription object.
Inherited Members
Namespace: Oci.AispeechService.Models
Assembly: OCI.DotNetSDK.Aispeech.dll
Syntax
public class RealtimeMessageResultTranscription
Properties
Confidence
Declaration
[Required(ErrorMessage = "Confidence is required.")]
[JsonProperty(PropertyName = "confidence")]
public float? Confidence { get; set; }
Property Value
Type | Description |
---|---|
float? | Confidence for the transcription text. |
Remarks
Required
EndTimeInMs
Declaration
[Required(ErrorMessage = "EndTimeInMs is required.")]
[JsonProperty(PropertyName = "endTimeInMs")]
public int? EndTimeInMs { get; set; }
Property Value
Type | Description |
---|---|
int? | End time in milliseconds for the transcription text. |
Remarks
Required
IsFinal
Declaration
[Required(ErrorMessage = "IsFinal is required.")]
[JsonProperty(PropertyName = "isFinal")]
public bool? IsFinal { get; set; }
Property Value
Type | Description |
---|---|
bool? | Whether the transcription is final or partial. |
Remarks
Required
StartTimeInMs
Declaration
[Required(ErrorMessage = "StartTimeInMs is required.")]
[JsonProperty(PropertyName = "startTimeInMs")]
public int? StartTimeInMs { get; set; }
Property Value
Type | Description |
---|---|
int? | Start time in milliseconds for the transcription text. |
Remarks
Required
Tokens
Declaration
[Required(ErrorMessage = "Tokens is required.")]
[JsonProperty(PropertyName = "tokens")]
public List<RealtimeMessageResultTranscriptionToken> Tokens { get; set; }
Property Value
Type | Description |
---|---|
List<RealtimeMessageResultTranscriptionToken> | Array of individual transcription tokens. |
Remarks
Required
TrailingSilence
Declaration
[Required(ErrorMessage = "TrailingSilence is required.")]
[JsonProperty(PropertyName = "trailingSilence")]
public int? TrailingSilence { get; set; }
Property Value
Type | Description |
---|---|
int? | Trailing silence after the transcription text. |
Remarks
Required
Transcription
Declaration
[Required(ErrorMessage = "Transcription is required.")]
[JsonProperty(PropertyName = "transcription")]
public string Transcription { get; set; }
Property Value
Type | Description |
---|---|
string | Transcription text. |
Remarks
Required