IBM-Watson
The IBM-Watson Service is a speech to text Service from IBM.
Parameters
The Configuration JSON for an IBM-Watson Service looks like:
{"textservice":"ibm-watson","params":{"apikey":"xxxxx","location":"xxx","instance_id":"xxxxx"}}
The Service requires an apikey, a location of the server, and an instance id. E.g.
- apikey: Za7NLxOewasWWF2vw8X6sCG6asgTAVt1-4AkDAuFTUIl
- location: eu-de
- instance_id: 56b0e937-e181-42cd-95ea-0cb5f9c123c0
The parameters can be retrieved from IBM after registration (see IBM Cloud API Docs, Speech to Text for more information).
Communication
After the start the Textmedia-Interface requests an access_token via an HTTP request with the apikey and refreshes it every hour.
With the access_token the Textmedia-Interface connects to the IBM-Watson service via a Websocket connection.