umbot
Version:
Мультиплатформенный фреймворк для создания голосовых навыков и чат-ботов с единой бизнес-логикой. Встроенная поддержка ВКонтакте, Telegram, Viber, MAX, Яндекс Алисы, Маруси и Сбера SmartApp. Архитектура на адаптерах позволяет подключать любые другие платф
40 lines (39 loc) • 945 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ANNOTATIONS = exports.DEVICE = exports.T_SMART_APP = void 0;
exports.T_SMART_APP = 'smart_app';
exports.DEVICE = {
platformType: '',
platformVersion: '',
surface: '',
surfaceVersion: '',
features: {
appTypes: [],
},
capabilities: {
screen: {
available: true,
},
mic: {
available: true,
},
speak: {
available: true,
},
},
additionalInfo: {},
};
exports.ANNOTATIONS = {
censor_data: {
classes: ['politicians', 'obscene', 'model_response'],
probas: [0, 0, 0],
},
text_sentiment: {
classes: ['negative', 'speech', 'neutral', 'positive', 'skip'],
probas: [0, 0, 100, 0, 0],
},
asr_sentiment: {
classes: ['positive', 'neutral', 'negative'],
probas: [0, 1, 0],
},
};