The AlexaReply Object

class AlexaReply()

AlexaReply object is used by the framework to render Alexa responses, it takes all of your statements, cards and directives and generates a proper json response for Alexa

AlexaReply.Reply.fulfillIntent(canFulfill)

Fulfills the request in the response object

Arguments:
  • canFulfill – A string with possible values: YES | NO | MAYBE to fulfill request
AlexaReply.Reply.fulfillSlot(slotName, canUnderstand, canFulfill)

Fulfills the slot with fulfill and understand values

Arguments:
  • slotName – A string with the slot to fulfill
  • canUnderstand – A string with possible values: YES | NO | MAYBE that indicates slot understanding
  • canFulfill – A string with possible values: YES | NO that indicates slot fulfillment