Vapi allows you to improve the accuracy of your transcriptions by leveraging Deepgram’s keyword boosting feature. This is particularly useful when dealing with specialized terminology or uncommon proper nouns. By providing specific keywords to the Deepgram model, you can enhance transcription quality directly through Vapi.
Keyword boosting is beneficial for:
keywords (no spaces or punctuation). For multi-word phrases, use keyterm instead.To enable keyword boosting, add the keywords parameter to your assistant’s transcriber configuration when using the Deepgram provider. You can also supply keyterm to boost recall for phrases.
To create an assistant with keyword boosting enabled, you can make the following POST request to Vapi:
In this configuration:
keywords (single words) and keyterm (phrases) for boosting.The keywords array accepts single-word tokens consisting of letters and digits, with an optional integer intensifier after a colon:
apple, apple:3, apple:-2order number (use keyterm), hello-world, foo_bar, rate:1.5 (decimals are not supported by this schema)Intensifiers are exponential factors that boost or suppress the likelihood of the specified keyword being recognized. The default intensifier is 1. Higher values increase the likelihood, while 0 is equivalent to not specifying a keyword. Negative values suppress recognition.
keywords=snuffleupagus:5keywords=kansas:-10Deepgram’s Keyterm Prompting improves Keyword Recall Rate (KRR) for important keyterms or phrases. Use keyterm for multi‑word phrases you want the model to detect more reliably. Unlike keywords, keyterms are specified as plain strings without intensifiers.
Example: "keyterm": ["account number", "confirmation code", "HIPAA compliance"]
keywords for single words; keyterm for phrases: Avoid spaces in keywords.For more details, see:
keywords and keyterm in the API referenceBy following these guidelines, you can effectively utilize Deepgram’s keyword boosting feature within your Vapi assistant, ensuring enhanced transcription accuracy for specialized terminology and uncommon proper nouns.