jambonz / jambonz-webapp

A simple provisioning web app for jambonz
MIT License
5 stars 23 forks source link

support for Nuance on-prem #219

Closed davehorton closed 1 year ago

davehorton commented 1 year ago

Nuance speech service can either be accessed via their cloud service -- this is what we support today, and it requires a client id and secret -- or it can be installed on a customer premise. In the latter case, all we need is the uri, in terms of ip:port (similar to nvidia).

So when adding a speech service for Nuance there should be choice of entering either:

We should probably have radio buttons to guide the user labeled:

davehorton commented 1 year ago

This is slightly more complicated than I thought, because when using the on-premise nuance product (which is called Krypton, I believe), you can have different uris for STT and TTS. For instance:

STT : 3.198.234.41:7021
TTS : 3.198.234.41:7023

So the full set of credentials that are possible for nuance are:

And the user should be able to mix and match, e,g,

Currently the nuance panel looks like this:

image

I suggest we leave the Client ID and Secret inputs as they are, but remove the red asterisk as they are no longer necessarily required.

Then, below that have a check box labeled "Use on-prem TTS". To the right of the checkbox should be an input field that is disabled until the checkbox is checked. Then it is enabled and should have placeholder text "ip:port". The entry should be validated that it ends with a colon and digits (we should allow them to enter either an IP or a DNS for the host part, so don't validate that part).

Below that, similarly, have a check box labeled "Use on-prem STT". To the right of the checkbox should be an input field that is disabled until the checkbox is checked. Similar validation there.

Form-level validation, before submit, they must have either entered client id and secret or entered a uri

xquanluu commented 1 year ago

close as PR is merged