Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifying a custom language model #246

Open
llamallion opened this issue Aug 4, 2020 · 0 comments
Open

Specifying a custom language model #246

llamallion opened this issue Aug 4, 2020 · 0 comments

Comments

@llamallion
Copy link

Can you help me understand how to specify a custom language model? My understanding is since this project uses a websocket I need to use this format:

var IAM_access_token = {access_token};
var wsURI = '{ws_url}/v1/recognize'

  • '?access_token=' + IAM_access_token
  • '&model=es-ES_BroadbandModel'
  • '&language_customization_id={customization_id}';
    var websocket = new WebSocket(wsURI);

But I'm not sure where to pass this information, or how to hand it an access token and websocket URL. I'm sorry, I'm not much of a coder, I'm just having to stumble through this for a personal project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant