https://retellai.com/?utm_source=discord&utm_medium=seo logo
it is possible to use a variable in boosted keywor...
# ❓・ai-evy-support
v
@AI Evy it is possible to use a variable in boosted keywords?
a
Thanks for tagging me @Vaughan. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available documentation,
boosted_keywords
is defined as a
string[] | null
— a static list of keywords you provide to bias the transcriber model. [(1) ]() The documentation does not explicitly mention support for dynamic variables within the
boosted_keywords
field itself. Dynamic variables (like
{{customer_name}}
) are typically used in prompts and first sentences, but there's no indication they can be interpolated into boosted keywords. However, you can update the
boosted_keywords
array programmatically via the API before or during call creation. For example, you could dynamically build the keyword list in your code and pass it when creating or updating an agent. If you need to add caller-specific terms (like a customer's name) to boosted keywords, you would need to update the agent configuration via the API with the specific values before initiating the call. Check out these potentially useful sources: - [Create Voice Agent]() - [Increase transcription accuracy]() - [Step 2: Configure the basic settings]() Would you like me to try to answer generally based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Create Voice Agent](https://docs.retellai.com/api-references/create-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.