STTRequest constructor
const
STTRequest({
- List<
int> ? audioData, - String? filePath,
- String? cloudStorageUrl,
- String? model,
- String? language,
- String? format,
- bool includeWordTiming = false,
- bool includeConfidence = false,
- double? temperature,
- TimestampGranularity timestampGranularity = TimestampGranularity.word,
- bool diarize = false,
- int? numSpeakers,
- bool tagAudioEvents = true,
- bool webhook = false,
- String? prompt,
- String? responseFormat,
- bool enableLogging = true,
Implementation
const STTRequest({
this.audioData,
this.filePath,
this.cloudStorageUrl,
this.model,
this.language,
this.format,
this.includeWordTiming = false,
this.includeConfidence = false,
this.temperature,
this.timestampGranularity = TimestampGranularity.word,
this.diarize = false,
this.numSpeakers,
this.tagAudioEvents = true,
this.webhook = false,
this.prompt,
this.responseFormat,
this.enableLogging = true,
});