SpeechConfig

Speech-to-Text 設定。Speech-to-Text 設定會套用至從 UploadConversation 和 IngestConversations 端點擷取的對話,包括來自 CCAI 平台的對話。不會套用至從 CreateConversation 端點擷取的對話。

JSON 表示法
{
  "speechRecognizer": string,
  "disableWordTimeOffsets": boolean
}
欄位
speechRecognizer

string

完整 Speech 辨識器資源名稱。格式:projects/{projectId}/locations/{location}/recognizer/{recognizer}

disableWordTimeOffsets

boolean

是否停用字詞時間偏移。如果設為 true,辨識設定中的 enable_word_time_offsets 欄位會設為 false。