@salutejs/scenario

Tiny helpers to make scenario for Salute family

Usage no npm install needed!

<script type="module">
  import salutejsScenario from 'https://cdn.skypack.dev/@salutejs/scenario';
</script>

README

salutejs

SaluteJS

Set of minimalistic utils for Salute Assistants scenario implementation.

  • directly in code autocomplete for intents and app state;
  • strongly typed out of the box: whole SmartApp API types inside;
  • common types between scenario and Canvas Apps;
  • common API with Assistant Client;
  • runtime enitity variables and state validation;
  • nodejs web-frameworks integration support: expressjs, hapi, koa;
  • client frameworks integration support: NextJS, Gatsby;
  • any types of recognizers: RegExp, String Similarity, SmartApp Brain;
  • custom recognizer API;
  • intents and entities sync with SmartApp Brain;
  • session persisting adapters: memory, mongodb, redis;
  • assistants based phrases dictionary declaration support.

What's inside

Translations

SberDevices with :heart: