Exemple #1
0
class CreateIntentSlots(fields.AmazonSlots):
    intent_type = fields.AmazonCustom(label="INTENT_TYPES",
                                      choices=INTENT_TYPES)
    to_city = fields.AmazonUSCity()
    from_city = fields.AmazonUSCity()
    confirmation = fields.AmazonCustom(label="CONFIRMATION",
                                       choices=("yes", "no"))
Exemple #2
0
class SearchTerm(fields.AmazonSlots):
    print "IN THE CLASS"
    search_term = fields.AmazonCustom(label="SEARCHES_LIST", choices=SEARCHES)
Exemple #3
0
class PointsForHouseSlots(fields.AmazonSlots):
    points = fields.AmazonNumber()
    house = fields.AmazonCustom(label="HOUSE_LIST", choices=HOUSES)
Exemple #4
0
class OPT(fields.AmazonSlots):
    alexa_option = fields.AmazonCustom(label="OPTIONS", choices=OPTIONS)
    number = fields.AmazonNumber()