binaryruel
11/18/2024, 3:24 PMbinaryruel
11/18/2024, 3:26 PMVapi
11/18/2024, 3:26 PM{{userName}}
, you can set it like this:
"Hello {{userName}}, how can I assist you today?"
And before making the call, you would replace {{userName}}
with the actual user's name:
"Hello John, how can I assist you today?"
This way, when the call is made, the prompt is personalized for the user named John. If you're setting this up in a system or script, you would replace {{userName}}
with the appropriate value programmatically.Vapi
11/18/2024, 3:27 PMuser_id
and a message
, you would call the tool and set the variables like this:
json
{
"user_id": "12345",
"message": "Hello, this is your message!"
}
You would include this structure in the function call within the parameters section. If you can tell me which tool you're trying to use and what variables you need to set, I can help you construct the correct function call.Vapi
11/18/2024, 3:27 PMbinaryruel
11/18/2024, 3:28 PMShubham Bajaj
11/19/2024, 9:39 AM