Package Exports
- infobot-tinkoff-stt
- infobot-tinkoff-stt/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (infobot-tinkoff-stt) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
infobot-tinkoff-stt
Node.JS library for Tinkoff VoiceKit service. Library can work in stream mode or recognize stored audio file.
Based on examples for Node.JS from https://github.com/TinkoffCreditSystems/voicekit-examples/tree/master/nodejs
To work with this library you need to obtain from Tinkoff VoiceKit support:
- API key
- Secret key
Audio file recognition example:
const STT = require('infobot-tinkoff-stt');
const api_key = API_KEY ;
const secret_key = SECRET_KEY;
const stt = new STT(api_key, secret_key);
stt.recognizeFile('test.wav', {
encoding: STT.FORMAT_LINEAR_16,
sample_rate_hertz: 16000}).then(res => {
console.log(JSON.stringify(res));
});Provided by INFOBOT LLC. under ISC license.