add_pronunciation
add_pronunciation
add_pronunciation
Add a pronunciation rule that tells the TTS engine how to speak a specific word or phrase. Useful for brand names, acronyms, and technical terms that are commonly mispronounced by text-to-speech engines.
The expression to match in the AI’s output text.
The phonetic spelling or alternative text the TTS engine should speak instead.
Whether to ignore case when matching the replace expression.
AgentBase — Returns self for method chaining.