https://github.com/salute-developers/salutejs
https://github.com/salute-developers/salutejs
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/salute-developers/salutejs
- Owner: salute-developers
- Created: 2022-04-19T11:32:35.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-21T12:22:18.000Z (over 1 year ago)
- Last Synced: 2025-04-15T04:11:32.092Z (about 1 year ago)
- Language: TypeScript
- Size: 7.17 MB
- Stars: 2
- Watchers: 4
- Forks: 6
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README

# SaluteJS
__Set of minimalistic utils for [Salute Assistants](https://bit.ly/3vNuhXY) scenario implementation__.
- directly in code autocomplete for intents and app state;
- strongly typed out of the box: whole [SmartApp API](https://developers.sber.ru/docs/ru/va/api/overview) types inside;
- common types between scenario and [Canvas Apps](https://developers.sber.ru/docs/ru/va/canvas/title-page);
- common API with [Salutejs Client](https://github.com/salute-developers/salutejs-client);
- runtime enitity variables and state validation;
- nodejs web-frameworks integration support: [expressjs](https://github.com/expressjs), [hapi](https://github.com/hapijs/hapi), [koa](https://github.com/koajs/koa);
- client frameworks integration support: [NextJS](https://github.com/vercel/next.js), [Gatsby](https://github.com/gatsbyjs);
- any types of recognizers: RegExp, [String Similarity](https://en.wikipedia.org/wiki/S%C3%B8rensen%E2%80%93Dice_coefficient), [SmartApp Brain](https://developer.sberdevices.ru/docs/ru/developer_tools/ide/platform_ux/nlu_core_caila/nlu_core_caila);
- custom recognizer API;
- intents and entities sync with [SmartApp Brain](https://developers.sber.ru/docs/ru/va/code/nlp/overview);
- session persisting adapters: memory, mongodb, redis;
- assistants based phrases dictionary declaration support.
## What's inside
- [@salutejs/scenario](https://github.com/salute-developers/salutejs/tree/master/packages/scenario) - user scenario framework;
- [@salutejs/recognizer-smartapp-brain](https://github.com/salute-developers/salutejs/tree/master/packages/recognizer-smartapp-brain) - SmartApp Brain recognizer;
- [@salutejs/recognizer-string-similarity](https://github.com/salute-developers/salutejs/tree/master/packages/recognizer-string-similarity) - string similarity recognizer;
- [@salutejs/storage-adapter-firebase](https://github.com/salute-developers/salutejs/tree/master/packages/storage-adapter-firebase) - in firebase session storage adapter;
- [@salutejs/storage-adapter-memory](https://github.com/salute-developers/salutejs/tree/master/packages/storage-adapter-memory) - in memory session storage adapter;
### Translations
- [Русский](https://github.com/salute-developers/salutejs/blob/master/README.ru.md)