TranscriptionOptions
data class TranscriptionOptions(val language: String? = null, val translate: Boolean = false, val initialPrompt: String? = null, val noContext: Boolean = true, val singleSegment: Boolean = false, val noTimestamps: Boolean = false, val maxTokens: Int = 0, val temperature: Float = 0.0f, val temperatureIncrement: Float = 0.2f)(source)
Per-call decoding options of WhisperEngine.transcribe.
Types
Link copied to clipboard
object Companion
Constants and factory functions of TranscriptionOptions.
Properties
Link copied to clipboard
optional decoder prompt (vocabulary hints, previous text).
Link copied to clipboard
do not decode timestamp tokens (segment times are then coarse).
Link copied to clipboard
force a single output segment (useful for short streaming slices).
Link copied to clipboard
initial sampling temperature, 0 for greedy decoding.
Link copied to clipboard
temperature fallback increment; 0 disables temperature fallback.