简体   繁体   English

使用dialogflow SDK的Google动作的语音选项

[英]Voice options for google action using dialogflow SDK

I created some actions and intents using the dialogflow interface, I then exported the JSON files that were created. 我使用dialogflow界面创建了一些动作和意图,然后导出了创建的JSON文件。 I noticed that there is a parameter: "voiceType": "MALE_1", in the agent.JSON file. 我注意到在agent.JSON文件中有一个参数: "voiceType": "MALE_1",

My question is what other values will this voiceType key take, also is there a place I can find documentation on the structure of this agent.JSON file? 我的问题是该voiceType密钥还可以采用其他什么值,在这个agent.JSON文件的结构上我可以找到一个文档的地方吗?

Cheers! 干杯!

Yes, the Action Package reference documentation shows the available types. 是的,“ 操作包”参考文档显示了可用的类型。

You can use MALE_1 , MALE_2 , FEMALE_1 , and FEMALE_2 . 您可以使用MALE_1MALE_2FEMALE_1FEMALE_2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM