admin管理员组文章数量:1026989
I've used the API to automatically create a new chatbot, and I've figured out almost everything. However, there's one small issue that's preventing my bot from working. I need to change two settings:
Enable Text-to-Speech: This setting should be turned on. Output Audio Encoding: This should be set to MP3 format.
Unfortunately, I can't find a way to do this using the Python API. Adding these parameters directly to the imported agent doesn't work either, as they seem to be ignored.
Additionally, I attempted to import the agent with the parameter
'textToSpeechSettings': { 'enableTextToSpeech': true, 'outputAudioEncoding': 'OUTPUT_AUDIO_ENCODING_MP3' }
, but this parameter was simply ignored.
I'm stuck and need help. Does anyone know how to fix this?
I've used the API to automatically create a new chatbot, and I've figured out almost everything. However, there's one small issue that's preventing my bot from working. I need to change two settings:
Enable Text-to-Speech: This setting should be turned on. Output Audio Encoding: This should be set to MP3 format.
Unfortunately, I can't find a way to do this using the Python API. Adding these parameters directly to the imported agent doesn't work either, as they seem to be ignored.
Additionally, I attempted to import the agent with the parameter
'textToSpeechSettings': { 'enableTextToSpeech': true, 'outputAudioEncoding': 'OUTPUT_AUDIO_ENCODING_MP3' }
, but this parameter was simply ignored.
I'm stuck and need help. Does anyone know how to fix this?
版权声明:本文标题:dialogflow es - how to change parameter enableTextToSpeech and outputAudioEncoding via API - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745656960a2161653.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论