Hi. We are making a voice assistant in our startup. We came to the conclusion not to use prompts in vapi, since we need to change prompts often, take answers from the cache, create custom answers when the client clicks on buttons on our site. We use sending text for voice from our server in this form
body = {
"type": "say",
"message": text
}
send to the URL that we receive when creating a call.
How to make it so that vapi does not come up with an answer itself.
"model": {
"provider": "openai",
"model": "gpt-4o",
"messages": [
{
"role": "system",
"content": "You should appear for any question, just a space ''.",
},
],
},
We send such a prompt when creating a call. But when the conversation is long, vapi still starts to come up with answers without waiting for a message from our server.