@xapp/stentor-actions-on-google
v1.86.7
Published
Actions on Google channel for stentor
Readme
@xapp/stentor-actions-on-google
Stentor channel implementation for Google's Actions on Google / Google Assistant platform. It provides request/response translators between the Actions on Google webhook payloads and Stentor's internal Request/Response models, detects device capabilities (audio playback, screen output, web browser support) from the incoming request, and exposes an ActionsOnGoogle(nlu) factory that builds a Stentor Channel wired up to a given NLUService.
Usage
import { ActionsOnGoogle } from "@xapp/stentor-actions-on-google";
const channel = ActionsOnGoogle(myNluService);
// channel.test(), channel.request, channel.response, channel.capabilities