Adding STT services
Last updated
Last updated
Can use the Pr as an example.
Generally adding a new STT service to autoEdit will entail:
Adding module to handle credentilas
add support for keys in db.js
expose getters and setters in
Pass data for settings view through the router
add credentials field in settings template
integrate with settings view
Add option in transcription form template
optional list of languages, if model supports multiple language models.
Integrate with transcription form view
Add backend option for that stt service in transcriber module
The module to call the STT API and convert to json might more or less involved depending on the STT SDK provided by the STT service.
Then a module adapter to convert the STT API output into autoEdit Json
sometimes to build the adapter, it's easier to get some sample json from the STT API Service, or from a sample response and use that to create the parser. eg
A bit involved, but for now that's it, npm start
, to test it out.