TranscriptionModelResult

class TranscriptionModelResult(val text: String?, val segments: List<TranscriptSegment> = emptyList(), val warnings: List<CallWarning> = emptyList(), val response: LanguageModelResponseMetadata = LanguageModelResponseMetadata(), val providerMetadata: ProviderMetadata = ProviderMetadata.None, val language: String? = null, val durationInSeconds: Float? = null)(source)

Since

0.3.0-beta01

Constructors

Link copied to clipboard
constructor(text: String?, segments: List<TranscriptSegment> = emptyList(), warnings: List<CallWarning> = emptyList(), response: LanguageModelResponseMetadata = LanguageModelResponseMetadata(), providerMetadata: ProviderMetadata = ProviderMetadata.None, language: String? = null, durationInSeconds: Float? = null)

Properties

Link copied to clipboard

Total audio duration in seconds, or null if undetermined.

Link copied to clipboard

Detected language as an ISO-639-1 code, or null if undetermined.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val text: String?
Link copied to clipboard