Vapi
12/27/2024, 5:36 AMjson
{
"type": "request-complete",
"content": {
"message": "Here is what I found",
"weatherInfo": "The weather in NYC tomorrow is 39 degrees and sunny."
}
}
And the agent's script would then be programmed to parse this response and include both the confirmation message ("Here is what I found") and the actual weather information in its reply to the user.
If you're using a specific tool or API to fetch the weather, you would need to ensure that the tool's output is formatted in a way that the agent can understand and use. If you need assistance with the specifics of implementing this in your system, please provide more details about the tools and technologies you're using.Vapi
12/27/2024, 5:36 AMVapi
12/27/2024, 5:38 AMisaiahbuilds
12/27/2024, 6:00 AM