Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VirtualAlexaBuilder

Configuration object for VirtualAlexa.

Callers must provide:
1) An interaction model or combination of intent schema and sample utterances
These can be provided either as files or JSON
2) A handler name or skill URL
The VirtualAlexa will either run a Lambda locally, or interact with a skill via HTTP

Once the object is configured properly, create it by calling VirtualAlexaBuilder.create

Hierarchy

  • VirtualAlexaBuilder

Index

Methods

applicationID

create

handler

  • The name of the handler, or the handler function itself, for a Lambda to be called
    The name should be in the format "index.handler" where:
    index is the name of the file - such as index.js
    handler is the name of the exported function to call on the file

    Parameters

    • handlerName: string | function

    Returns VirtualAlexaBuilder

intentSchema

intentSchemaFile

interactionModel

interactionModelFile

locale

sampleUtterances

sampleUtterancesFile

skillURL

Generated using TypeDoc