@chitchatjs/plugin-ax-session
v0.2.7
Published
Session management plugin for chitchat.js
Downloads
24
Maintainers
Readme
@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
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();