add_dynamic_hints
add_dynamic_hints
Add speech recognition hints dynamically during a call. Hints improve recognition accuracy for domain-specific vocabulary, product names, or uncommon words. Each hint can be a simple string or a pronunciation pattern object that maps misrecognized speech to the correct text.
Parameters
hints
List of hints. Each entry is either:
- A
str— a word or phrase to boost recognition (e.g.,"SignalWire") - A
dictwith pronunciation pattern fields:
Returns
FunctionResult — self, for chaining.