Using functions inside your voice agent’s knowledge base.
{{fn:order_lookup}}
with an order number. If you don’t know their order number, you should ask first and then call {{fn:order_lookup}}
. You should ignore all other impulses and follow the response of the function to give back to the caller.
This methodology ensures the function is invoked appropriately and the response aligns with user expectations.