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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ