Speech recognition resources control how the agent processes user speech input on the voice channel.
These resources live undervoice/speech_recognition/ and are used to tune how the agent listens, recognizes, and post-processes spoken input.
ASR settings are platform-provisioned — update only
asr_settings.yaml is pulled for every project with a voice channel. It can be updated with poly push but not created or deleted. See the equivalent note on agent settings for details.Modular mode onlyKeyphrase boosting and transcript corrections only apply in modular mode, where separate components handle speech recognition and language processing. Projects in speech-native mode, such as Dialog-RSN-1, don’t use them.
Location
asr_settings.yaml is the core settings file; the others are optional.
What speech recognition controls
ASR settings
Configure turn-taking: speech end delay and barge-in.
Keyphrase boosting
Bias recognition toward specific words or phrases.
Transcript corrections
Apply regex-based corrections after speech recognition.
ASR settings
ASR settings are defined in:speech_end_delay_ms is optional: left out, it uses the platform default, and removing it resets it on the next push.
barge_in is always in the file, and can’t be removed: set enabled: false to turn barge-in off. Older projects that set barge-in with Agent Studio’s earlier ASR setting pull enabled from that setting, and the first change you push to barge_in stores the whole section.
Fields
Example
Projects with a managed voice configurationIf PolyAI manages your project’s voice configuration,
speech_end_delay_ms is overwritten at runtime. It’s still pulled and pushed, but has no effect. You can check on your project’s Voice › Model page in Agent Studio, which shows a Best defaults tag when the configuration is managed.Keyphrase boosting
Keyphrase boosting is defined in:- brand names
- product names
- specialist terminology
- domain-specific jargon
Structure
Akeyphrases list where each entry includes:
Example
Transcript corrections
Transcript corrections are defined in:- email domains
- repeated digits
- domain-specific phrases
- spoken forms that should be normalized into machine-friendly text
Structure
Acorrections list where each entry includes:
Each regex rule can include:
Example
Validation
speech_end_delay_msmust be a whole number between 200 and 1500.barge_incan’t be removed; setenabled: falseinstead.barge_in.max_per_callcan’t be negative.- Keys inside a section must be ones listed above, so a misspelt key is an error rather than being ignored.
- Each keyphrase must be non-empty, with a
levelofdefault,boosted, ormaximum. - Keyphrases must be unique once trimmed and lowercased — Agent Studio treats
Infusion Setsandinfusion setsas the same phrase, and rejects a project that keeps both. - Each transcript correction needs a unique
nameand at least one regex rule, and every rule needs aregular_expression. replacement_typemust be one offull,partial, orsubstring.
Best practices
- use
keyphrase_boostingfor terms the recognizer is likely to miss - keep boosted keyphrases focused and specific
- keep each keyphrase unique after trimming and lowercasing
- use transcript corrections for common, repeated recognition errors
- avoid overly broad regex rules that may alter normal input unexpectedly
- change
speech_end_delay_msin small steps: lower values respond faster but cut off callers who pause mid-sentence - leave
speech_end_delay_msout unless you need a value other than the platform default
Related pages
Voice settings
See how speech recognition fits into the wider voice-channel configuration.
Response control
Configure what happens to output before it is spoken.

