Abed Malak
04/24/2024, 9:00 PMVapi Support
04/24/2024, 9:00 PMVapi Support
04/24/2024, 9:01 PMtransferCall
function. This function is available when a forwardingPhoneNumber
is defined for the assistant. The transferCall
function allows the assistant to transfer the call to the specified forwarding number. Here is an example configuration:
json
{
"model": {
"provider": "openai",
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "system",
"content": "You are an assistant at a law firm. When the user asks to be transferred, use the transferCall function."
}
]
},
"forwardingPhoneNumber": "+16054440129"
}
[(1)]()
This setup can be tailored within the assistant's configuration to trigger the call transfer under the conditions you specify, such as specific user requests or other predetermined criteria.Sahil
04/25/2024, 8:02 AM