how can I enable keyword boosting regardless of wh...
# ask-ai
a
how can I enable keyword boosting regardless of which stt model I use? is it possible?
t
Thanks for reaching out, Taha. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Keyword boosting in LiveKit can vary depending on the specific STT model you're working with, as there isn’t a one-size-fits-all method across all providers. Each STT provider has its own unique way to handle this: • Deepgram: You’d use
keywords
for Nova-2 models or
keyterms
for Nova-3 models. • Google Cloud: The
keywords
parameter with a list of tuples is the way to go. • Azure AI Speech: Here, you’d use the
phrase_list
parameter. • Speechmatics: You can use the
additional_vocab
parameter. • Soniox: The
context
parameter is what you’d want to use. If you’re looking for a consistent approach across different models, one option is to implement post-processing keyword detection by overriding the
stt_node
method. Just a heads up, though—this won’t improve transcription accuracy but will help detect keywords in the results. If you’d like, I’m here to help you implement keyword boosting for a specific STT provider. Just let me know! Sources: livekit-plugins/livekit-plugins-azure/livekit/plugins/azure/stt.py | docs/index.yaml