0.2.7 • Published 3 years ago

@chitchatjs/plugin-ax-session v0.2.7

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

@chitchatjs/plugin-ax-session

Chitchat.js display utilties for manage session easily. @chitchatjs/alexa.

🤖 Chitchat.js is a JavaScript framework for building voice user interfaces for Alexa Skills. | 📄 Read the documentation

Get in touch

gitter

Usage

End session:

import {session} from "@chitchatjs/plugin-ax-session"

// ends the session
session.end(true)

// sets a session attribute
session.set("key": "value")

Example:

ax.compound()
  .add(ax.say("Hello, this is a sample text. Good bye!"))
  .add(session.end(true))
  .build();