Hi I can't work out how I can check if there is a valid cli {{number}} available so that the agent does not ask for the number if it exists
tried {{number}} and it doesn't seem to work
v
Vapi
02/03/2025, 4:39 PM
@🚀 Christine
Hello! It sounds like you're trying to determine if a valid caller line identification (CLI) number is available in your system so that the agent doesn't need to request it if it already exists. To assist you better, could you please provide me with more information about the system or API you are using? This will help me understand how to check for the existence of a CLI number in your specific context.
Vapi
02/03/2025, 4:39 PM
You can continue this conversation by mentioning me in the message.
u
🚀 Christine
02/03/2025, 6:11 PM
I am just using the vapi system prompt and trying to reference the system variable {{number}} . If you grill the agent it knows it, but you can't reference it in the prompt
s
Shubham Bajaj
02/04/2025, 9:09 AM
You may include the information in a distinct section within your prompt, or alternatively, you may add another system message to serve as a response generation boundary or context, guiding the assistant to utilize it while taking the context into account.