conv.set_asr_biasing()conv.clear_asr_biasing()
How it behaves
Persists across turns
ASR biasing set withconv.set_asr_biasing() stays active across turns. It will continue to apply until you:
- call
conv.clear_asr_biasing(), or - call
conv.set_asr_biasing()again with new values.
Takes priority over other ASR settings
Function-set ASR biasing has the highest priority. It is merged with any ASR configuration defined elsewhere, including:- flow-level ASR settings
- step-level ASR settings
- language-specific ASR settings
When to use this
Use ASR biasing from functions when:- You retrieve data at runtime and want ASR to reliably capture it.
- You are about to ask the user to say something you already know, such as a reference number or surname.
- Certain domain terms are often misheard and need extra support.
Parameters
keywords (optional, list of strings)
A list of phrases that are all biased equally. Use this when you have a small set of expected words and do not need different strengths.custom_biases (optional, dictionary mapping strings to numbers)
A mapping of phrase to bias weight. Use this when some phrases should be recognised more strongly than others.Validation
Inputs are validated when the function runs:keywordsmust be a list of stringscustom_biasesmust be a dictionary with string keys and numeric values
ValueError.

