https://retellai.com/?utm_source=discord&utm_medium=seo logo
Is there a way to add boosted keywords dynamically...
# ❓・ai-evy-support
j
@AI Evy Is there a way to add boosted keywords dynamically through the inbound webhook? The agents are misinterpreting specific customer names and since our agents are shared across multiple customers, we don't want to boost keywords for all calls. Instead, we want to boost keywords for a specific phone number, not agent, which we could do via the inbound webhook and we cannot build dedicated agents for each number (customer) as that won't scale.
a
Thanks for tagging me @joshmen0791. I'll look through relevant sources and get back to you shortly.
### Answer Based on the documentation, the inbound webhook does not support dynamically adding boosted keywords per call [(1) ]() . The inbound webhook allows you to override specific fields in the response, including : -
override_agent_id
-
override_agent_version
-
dynamic_variables
-
metadata
However, boosted keywords are configured at the agent level [(2) ]() [(3) ]() [(4) ]() [(5) ]() . The
boosted_keywords
field is part of the agent configuration and is used to "bias the transcriber model, so that these words are more likely to get transcribed" . Since boosted keywords cannot be set dynamically through the inbound webhook, you would need to either: 1. Create separate agents with customer-specific boosted keywords and use
override_agent_id
in the webhook response [(1) ]() 2. Set boosted keywords at the agent level to include all possible customer names that might be encountered I don't have information about alternative approaches for dynamically setting boosted keywords on a per-call basis. You might want to check with Retell AI support about potential feature enhancements for this use case. Check out these potentially useful sources: [Inbound call webhook]() , [Create Agent]() , [Update Phone Number]() Would you like a general answer based on my knowledge instead?
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Appreciate the feedback! Feel free to ask me again with additional guidance or context.
j
Only downvoting since the answer is not giving an alternate solution. Hoping @Omar Ashraf | Community Lead someone from the Retell team has an alternate solution
o
Hello @joshmen0791 , currently this not supported , but i will make a feature request for that .
j
Thanks very much!