如果您使用的是 Amazon Lex V2,請參閱 Amazon Lex V2 指南。
如果您使用的是 Amazon Lex V1,我們建議您將機器人升級到 Amazon Lex V2。我們不再向 V1 添加新功能,強烈建議所有新機器人使用 V2。
本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
FlowerTypes.json
以下程式碼是建立 FlowerTypes
自訂槽類型所需的 JSON 資料:
{ "enumerationValues": [ { "value": "tulips" }, { "value": "lilies" }, { "value": "roses" } ], "name": "FlowerTypes", "description": "Types of flowers to pick up" }