The dynamic placeholder in the system prompt is no...
# support
v
It worked before. But we notice recently the placeholder is just being kept as it is. For example: - Customer name is '{{customerName}}' the provided parameter is: {customerName: ''} So it may end up make the AI understand customer name is {{customerName}} in real text. Is there any suggestion on improvement this. We want to verify if the customer name is empty, prompt the AI to collect for the name.
c
Check if customerName is empty before sending, and in the prompt, add logic{{customerName}} to ask for the name if it’s missing..
v
Hi, thank you for your feedback. We send empty, and in the prompt we make like if customer name is empty ask for customer name. the problem is, empty cannot be replaced to the placeholder anymore, so what showing in the log is "customer name is '{{customerName}}'", which may make AI understand the name is '{{customerName}}`, which make voice model speak very strange word when they confirm the customer name. here is the callId for ref: ae14aa88-ed97-467e-8962-295eb62dfb82
c
Hey Vinh, Thanks for reaching out! We're currently swamped with a bunch of tickets and it's taking us longer than usual to get back to everyone. I know waiting isn't fun, but we want to make sure we give your issue the attention it deserves rather than rushing through it. We'll circle back with you soon to get this sorted out.
v
hi any new updates?
k
Don’t send customerName when empty, and in the prompt, handle missing values by asking for the name, this prevents the placeholder {{customerName}} from being spoken literally..
2 Views