Hi. I'm trying to integrate vapi into our startup. I need to be able to send a request to your server with a call update from the server when a certain event occurs. It should be asynchronous.
It turns out that the client communicates with the AI assistant, my server analyzes messages from vapi that come through webhooks. How can I change the prompt during a conversation or update the conversation so that it goes in a different direction.
I found a patch call request in the documentation, but it only changes the name.
I also found sending system messages that can do what I need, in a chat with an assistant, but this is only for the client application. And I need it from the server. I could send such a message through a socket to the client, and from there to vapi, but there should be an other way.