Vapi not narrating function call response
# support
m
When sending a response back to VAPI in a function call, the response is not being narrated. this is how I am sending back response and the time its sending to send back is ~10sec res.status(200).send({ result });
v
You can continue this conversation by mentioning me in the message.
@mukul It's great that you're sending a response with a 200 status code, which indicates a successful operation. However, if the response is not being narrated as expected, there might be a few things to check: 1. Ensure that the
result
object you're sending back is properly formatted for VAPI to interpret and narrate. It should typically be in a format that VAPI expects, such as plain text or SSML (Speech Synthesis Markup Language), depending on the API's requirements. 2. Check if there is any delay in the network or server processing that might be causing the 10-second delay. VAPI might have a timeout for how long it waits for a response before giving up on narration. 3. Verify that the VAPI is configured correctly to handle the response and narrate it. This could involve checking the settings on the platform where VAPI is running or reviewing the documentation to ensure that the response handling is set up as intended. 4. If you're using any middleware or additional services that process the response before it reaches VAPI, make sure they are not altering the response in a way that would prevent narration. If you've checked these aspects and the issue persists, could you provide more details about the
result
object and how you're expecting VAPI to narrate the response? This information will help me assist you further.
s
Can you send me exact response payload?
d
@mukul
m
@Sahil This is one of the example it was not working it was just making function call in loop and not narrating the response back " Let's revisit the details of the images you've shared and provide a more focused discussion relevant to each. **Coat of Arms with a Griffin**: **Assessment**: The depiction of a griffin in a coat of arms typically signifies a blend of eagle-like vigilance and lion-like bravery. The black background might indicate constancy, while the gold griffin represents generosity. Population Projections to 2100 Chart: **Assessment**: This chart compares various population projection scenarios from the UN and IIASA. It highlights different projections for the world's population, considering high, medium, and low variants, along with multiple socio-economic pathways (SSP2 for medium projections, etc.) Military Aircraft: **Assessment**: The image shows a military aircraft painted in darker colors with red star insignias, indicating its origin as likely Russian. This might be the Sukhoi Su-47 Berkut, noted for its forward-swept wings, designed for improved agility and maneuverability. "
s
Can you send one latest call_id as well where you faced this issue?
m
sure fb16d4c0-b6eb-4cbd-9947-540fc758cb4c
s
We will discuss about this during our call.
m
@Sahil
s
Let's revisit the details of the images you've shared and provide a more focused discussion relevant to each. Coat of Arms with a Griffin: Assessment: The depiction of a griffin in a coat of arms typically signifies a blend of eagle-like vigilance and lion-like bravery. The black background might indicate constancy, while the gold griffin represents generosity. Population Projections to 2100 Chart: Assessment: This chart compares various population projection scenarios from the UN and IIASA. It highlights different projections for the world's population, considering high, medium, and low variants, along with multiple socio-economic pathways (SSP2 for medium projections, etc.) Military Aircraft: Assessment: The image shows a military aircraft painted in darker colors with red star insignias, indicating its origin as likely Russian. This might be the Sukhoi Su-47 Berkut, noted for its forward-swept wings, designed for improved agility and maneuverability.
2 Views