Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Scene

Optional. Info on the current and next scene when the function was called. Will be filled when the fulfillment call is made within the scope of a scene.

Represent a scene. Scenes can call fulfillment, add prompts, and collect slot values from the user. Scenes are triggered by events or intents and can trigger events and match intents to transition to other scenes.

Optional. Represents the current and next scene. If Scene.next is set the runtime will immediately transition to the specified scene.

Hierarchy

  • Scene

Properties

Optional name

name: string

Required. Name of the current scene.

Optional next

next: NextScene

Optional. Information on the scene to be executed next.

Optional slotFillingStatus

slotFillingStatus: Collecting | Final | Initialized | Unspecified

Required. The current status of slot filling. This field is read-only.

Optional slots

slots: object

The slots associated with the current scene. Handler responses cannot return slots which were not sent in the request.

Type declaration

  • [key: string]: Slot

Generated using TypeDoc