STTRequest constructor

const STTRequest({
  1. List<int>? audioData,
  2. String? filePath,
  3. String? cloudStorageUrl,
  4. String? model,
  5. String? language,
  6. String? format,
  7. bool includeWordTiming = false,
  8. bool includeConfidence = false,
  9. double? temperature,
  10. TimestampGranularity timestampGranularity = TimestampGranularity.word,
  11. bool diarize = false,
  12. int? numSpeakers,
  13. bool tagAudioEvents = true,
  14. bool webhook = false,
  15. String? prompt,
  16. String? responseFormat,
  17. 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,
});