How do I use a custom vocabulary when using Amazon Transcribe streaming?

0

Hello, I am following this code: https://github.com/brandonmwest/amazon-transcribe-websocket-express

I was able to get it to work and transcribe my audio in real time. The thing is, I wanted to add a custom vocabulary. I made one on aws services by signing in and uploading a txt file. It says it is Ready. I then went into the code and added a new param &vocabulary-name="myvocab" where myvocab is the name of the vocab I uploaded on aws. I get this:

"The specified vocabulary doesn't exist. Check the name and try your request again."

What am I doing wrong? Thank you for any help

d5t
demandé il y a 3 ans346 vues
1 réponse
0

I figured it out. I needed the region to match. I was using Amazon Transcribe on us-east-1 and my vocabulary was located on us-east-2 I guess? But it works now.

d5t
répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions