我正在https://console.actions.google.com/的web视图上为Google构建一个自定义操作
其中一个答复是一个很长的提示句,包括如下内容:
然后
然后
所有这些都是在给定场景的欢迎提示的yaml中定义的:
candidates:
- first_simple:
variants:
- speech: |-
Please ... where the address is ... ... and please ... enquiry ...有没有办法对这个“演讲”进行微调?或者,是否有一种替代办法,让谷歌助理在中间部分以较慢的速度说出这段不变的文字?
发布于 2020-09-05 23:32:21
是的,您可以使用SSML来发送回复,而不是使用简单的文本到语音模型转换的文本。
这个SSML可以包含一个带速率的韵律标记属性,用于您发送的部分内容,因此它说得更慢。
所以它可能看起来像
candidates:
- first_simple:
variants:
- speech: |-
<speak>Please ... where the address is <prosody rate="30%"> ... ...</prosody> and please ... enquiry ...</speak>您也可能希望查看说-作为标签来拼写地址中的字符。SSML中的特定部分可能看起来类似于
<say-as interpret-as="characters">XX12 1XX</say-as> somewhere streethttps://stackoverflow.com/questions/63756718
复制相似问题