SpeechConfig

Speech-to-Text 配置。Speech-to-Text 设置会应用于从 UploadConversation 和 IngestConversations 端点提取的对话,包括来自 CCAI Platform 的对话。它们不会应用于从 CreateConversation 端点提取的对话。

JSON 表示法
{
  "speechRecognizer": string,
  "disableWordTimeOffsets": boolean
}
字段
speechRecognizer

string

完全限定的语音识别器资源名称。格式:projects/{projectId}/locations/{location}/recognizer/{recognizer}

disableWordTimeOffsets

boolean

是否停用字词时间偏移值。如果为 true,则识别配置中的 enable_word_time_offsets 字段将设置为 false。