0.6.0 • Published 5 years ago
assistant-generic-utterances v0.6.0
assistant-generic-utterances
This AssistantJS component automatically generates utterances in English and German for generic intents. This is useful if one of your platforms (like api.ai or google assistant) does not support generic intents on it's own. Just install it with npm install assistant-generic-utterances --save
and add it as an dependency to your index.ts
:
import { descriptor as genericUtterancesDescriptor } from "assistant-generic-utterances";
/** and below, in your "initializeSetups" method: */
assistantJs.registerComponent(genericUtterancesDescriptor);
After that, assistant-generic-utterances
injects itself automatically into your generator workflow.