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
질문됨 3년 전346회 조회
1개 답변
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
답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인