The dynamic placeholder in the system prompt is not replaced if the value provided is empty.

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.
Was this page helpful?